A minimal multi-agent system with an orchestrator, a planner, a coder, and a designer working together providing orchestration between Claude, Codex and Gemini.
Install all agents listed below into VS Code Insiders...
| Title | Type | Description |
|---|
| import { Loader2 } from "lucide-react"; | |
| import { | |
| createContext, | |
| type ReactNode, | |
| useContext, | |
| useEffect, | |
| useMemo, | |
| useRef, | |
| useState, | |
| } from "react"; |
rails new first to generate all of the boilerplate files necessary.rails new .--css tailwind as an option on the rails new call to do this automatically.rails new will do this automatically but take care if you write any custom SQL that it is SQLite compatible.rails new myapp --devcontainer but only do this if requested directly.| #!/bin/env ruby | |
| # | |
| # Collects info about the age of all gems in the project | |
| # | |
| require "json" | |
| require "date" | |
| bundle = `bundle list` | |
| yearly_stats = {} |
| require 'bundler/inline' | |
| gemfile do | |
| source 'https://rubygems.org' | |
| gem 'colorize' | |
| end | |
| class MatcherInterface | |
| def initialize(some_object) | |
| @some_object = some_object |
initialize: once, when the controller is first instantiatedconnect: anytime the controller is connected to the DOMThis guide is for Rails 5.1 or lower. Starting in 5.2, all these issues have been made irrelevant.
| # This sets up both a memory store and file system store for Shrine file uploads. | |
| # We use the memory store by default but in cases where you want to test actual | |
| # file uploads you can enable it with `file_upload: true` on a per example basis | |
| require "shrine/storage/memory" | |
| require "shrine/storage/file_system" | |
| # We use a delegator to swap out the storage dynamically | |
| # since the storage hash is duplicated for each uploader | |
| class Shrine::Storage::Dynamic < SimpleDelegator | |
| def initialize(initial, storages) |
| # implementation from https://github.com/rails/rails/pull/16919 | |
| # activerecord/lib/active_record/connection_adapters/postgresql/oid/interval.rb | |
| require "active_support/duration" | |
| module ActiveRecord | |
| module ConnectionAdapters | |
| module PostgreSQL |
| require 'benchmark/ips' | |
| require 'redis' | |
| class MethodProfiler | |
| def self.patch(klass, methods, name) | |
| patches = methods.map do |method_name| | |
| <<~RUBY | |
| unless defined?(#{method_name}__mp_unpatched) | |
| alias_method :#{method_name}__mp_unpatched, :#{method_name} | |
| def #{method_name}(*args, &blk) | |
| unless prof = Thread.current[:_method_profiler] |