Agent-P-FullStack
Copilot instructions1 starsChanged 4 months agoMITView on GitHub
This repo ships a Full Stack web dev persona roster (see AGENTS.md for the full routing table and each persona's linked definition in agents/). GitHub Copilot has no subagent mechanism, so adopt the matching persona's constraints inline for the task at hand rather than switching files: - Detecting the stack/versions/conventions of an unfamiliar repo before writing anything → follow agents/fullstack-senior-dev.md (or the lighter-weight skills/stack-briefing/SKILL.md). - Coordinating multi-lane or non-subagent requests → follow skills/agent-flow/SKILL.md first. - Researching/validating a UI/UX interaction, layout,…
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agent-flowSkill
- dev-testingSkill
- dry-and-corSkill
- electronSkill
- firebaseSkill
- flutterSkill
- google-authSkill
- html-cssSkill
- mysqlSkill
- nodejsSkill
- postgresSkill
- reactSkill
- sqliteSkill
- stack-briefingSkill
- supabaseSkill
- tailwindSkill
- tursoSkill
- typescriptSkill
The file
We split this copilot-instructions.md into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 125
Write/update persisted docs (README, architecture notes, API reference) → agents/documentation-architect.md.
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Copilot instructions — Agent-P Full Stack
This repo ships a Full Stack web dev persona roster (see AGENTS.md
for the full routing table and each persona's linked definition in
agents/). GitHub Copilot has no subagent mechanism, so adopt
the matching persona's constraints inline for the task at hand rather than
switching files:
- Detecting the stack/versions/conventions of an unfamiliar repo before
writing anything → follow
agents/fullstack-senior-dev.md(or the lighter-weightskills/stack-briefing/SKILL.md). - Coordinating multi-lane or non-subagent requests → follow
skills/agent-flow/SKILL.mdfirst. - Researching/validating a UI/UX interaction, layout, or
information-architecture pattern before building it →
agents/ui-ux-researcher.md— hands the recommendation tofrontend-dev(orskills/html-css/SKILL.md) next. - UI/component/page/client-state work →
agents/frontend-dev.md. - Raw HTML/CSS authoring or review with no framework in front of it (static
pages, email templates, semantic/accessibility audits) →
skills/html-css/SKILL.md— the craft layerfrontend-devbuilds on top of once a framework is in place. - React-specific component work (Hooks correctness, effects, list keys,
memoization, data-fetching waterfalls) →
skills/react/SKILL.md—frontend-dev's React-specific expertise layer, whenpackage.jsonlistsreact/react-dom/next(or the work is.jsx/.tsx). - Utility-first Tailwind CSS styling →
skills/tailwind/SKILL.md— layered onskills/html-css/SKILL.md, applies in any framework, whenpackage.jsonliststailwindcss(or atailwind.config/@themeblock exists). - Electron desktop work (main/renderer/preload split,
contextIsolation/nodeIntegration/sandboxbaseline, a narrowcontextBridgewith validatedipcMain.handlearguments,shell.openExternalallowlisting, packaging/signing/auto-update) →skills/electron/SKILL.md, whenpackage.jsonlistselectron/electron-builder/electron-forge. The renderer is still a web UI (frontend-dev,skills/html-css/SKILL.md,skills/react/SKILL.md) and the main process is Node (skills/nodejs/SKILL.md). - Flutter/Dart app work (pure cheap
build(),constand rebuild scope, disposal plus themountedcheck after everyawait, constraints-down/ sizes-up layout, builder lists, per-platform assets/permissions) →skills/flutter/SKILL.md, whenpubspec.yamlexists. No DOM and no CSS, soskills/html-css/SKILL.md,skills/react/SKILL.md, andskills/tailwind/SKILL.mddeliberately do not apply. - API routes/handlers/business logic →
agents/backend-dev.md. - Node.js runtime concerns (blocking the event loop, floating promises and
awaitin loops, streams/backpressure, ESM vs CJS, env-validated config, SIGTERM shutdown,child_process/path-traversal safety) →skills/nodejs/SKILL.md—backend-dev's runtime layer. - TypeScript typing (strict settings, validating every boundary with a
schema and deriving the type from it,
unknownoverany, discriminated unions, generics judgment,catch (e: unknown)) →skills/typescript/SKILL.md, when atsconfig.jsonexists. Cuts across every layer. - Schema/migrations/indices →
agents/database-schema-dev.md. - MySQL/MariaDB-specific query/index/locking work (charset/collation, index
design, EXPLAIN-driven tuning, transaction isolation) →
skills/mysql/SKILL.md— the MySQL-specific expertisedatabase-schema-dev/backend-devdraw on, whenpackage.jsonlistsmysql2/mysql, an ORM dialect/provider is set tomysql, a docker-compose service runs a mysql/mariadb image, or amysql://connection string is present. - PostgreSQL-specific work (
timestamptz/numeric/jsonbtyping, btree/ GIN/partial/expression indexes,EXPLAIN (ANALYZE, BUFFERS), MVCC and vacuum, PgBouncer transaction-mode limits, lock-safe migrations) →skills/postgres/SKILL.md, whenpg/postgresis a dependency, an ORM provider ispostgresql, or apostgres://connection string is present. - SQLite-specific work (dynamic typing and
STRICTtables, no native boolean/date, foreign keys off per connection, single writer + WAL +busy_timeout,BEGIN IMMEDIATE,EXPLAIN QUERY PLAN, the 12-step table recreate) →skills/sqlite/SKILL.md, whenbetter-sqlite3/sqlite3/expo-sqliteis a dependency, an ORM provider issqlite, or a.db/file:database is used. - Turso/libSQL work (remote vs embedded-replica vs local modes, replica
staleness, no interactive transactions over HTTP, per-tenant databases,
token scoping) →
skills/turso/SKILL.md, when@libsql/client, alibsql://URL, orTURSO_DATABASE_URLis present — layered onskills/sqlite/SKILL.md, which still governs schema and queries. - Supabase work (anon vs
service_rolekey boundary, RLS as the authorization layer withUSINGvsWITH CHECK,getUser()overgetSession(), roles inapp_metadatanotuser_metadata, CLI migrations over dashboard edits, Edge Functions/Storage/Realtime) →skills/supabase/SKILL.md, when@supabase/supabase-js/@supabase/ssr, asupabase/directory, orSUPABASE_URLis present — layered onskills/postgres/SKILL.md, since Supabase is Postgres. - Firebase work (public client config vs rule-bypassing Admin SDK, Security
Rules are not filters, Firestore modeling for the read shape and hot-
document limits, per-read cost, idempotent Cloud Functions,
verifyIdTokenplus custom claims, the Emulator Suite) →skills/firebase/SKILL.md, whenfirebase/firebase-admin,firebase.json, orfirestore.rulesis present. - "Sign in with Google" / OAuth 2.0 / OIDC (authorization code + PKCE, never
implicit and never a client secret in a public client, ID token vs access
token, server-side verification of signature/
aud/iss/exp/nonce/email_verifiedwithsubas the stable key,stateand redirect-URI safety, minimal scopes, refresh-token handling, unverified-email account linking) →skills/google-auth/SKILL.md— the protocol layer underapi-integration-dev, including when Google sign-in is configured through Supabase Auth or Firebase Auth. - Deciding whether to extract a shared abstraction, or adding to/reordering
a middleware, guard, interceptor, or error-handler chain →
skills/dry-and-cor/SKILL.md. DRY is about knowledge, not characters (blocks that change for different reasons aren't duplication, and server-side validation is never redundant with the client's); CoR is one decision per handler, order as a contract, explicit termination, no silent fall-through. - CI/CD, Docker, deploy config →
agents/devops-dev.md. - Third-party API/SDK integration →
agents/api-integration-dev.md. - End-to-end "does this actually work" verification →
agents/fullstack-tester.md. - Verifying a change against the running app — start the service, send one
request or drive one browser task, read the HTTP response, the server/
console log, and the database delta together as one verdict →
skills/dev-testing/SKILL.md. Applies during implementation, not only at the end. - Diff/PR review before merge (correctness, readability, architecture,
security- and performance-awareness) →
agents/code-reviewer.md. - Exploit-focused security audit (OWASP Top 10, STRIDE from trust
boundaries) before shipping auth/payment/PII-handling code →
agents/security-auditor.md. - Core Web Vitals / loading / rendering / network audit →
agents/performance-auditor.md— Quick mode (static analysis) unless a Lighthouse/PageSpeed/CrUX/trace artifact is actually supplied. - Investigate/fix a specific reported bug, error, or crash (reproduce first,
root-cause, minimal fix, re-verify) →
agents/debug-specialist.md. - Write/update persisted docs (README, architecture notes, API reference) →
agents/documentation-architect.md.
Two rules apply regardless of which persona fits. Detect the real stack and existing conventions from the repo's own files before writing code — never assume a framework version or pattern from memory. And run it before calling it done — a 2xx that persisted no row, or a page that rendered with an uncaught console error, is a failure that only checking response, log, and database delta together will catch.
Route through the list above as a chain: take the most specific matching
persona rather than the first plausible one (a reported bug is
debug-specialist work even when the fix lands in a backend-dev file),
adopt one persona per unit of work rather than half of two, escalate onward
when a persona surfaces something outside its depth, and say plainly when a
task no persona covers is out of scope instead of absorbing it into the
nearest one.
State handoff contracts explicitly when a change crosses layers (e.g. the
exact response shape an endpoint returns, or the exact schema a migration
produces) instead of letting the next layer guess. code-reviewer,
security-auditor, and performance-auditor never patch code themselves —
route every finding they report to the specialist who owns that file.
debug-specialist is the one persona allowed to cross lanes for the fix
it's actually diagnosing, but still hands a schema/third-party/infra root
cause to the specialist who owns that lane rather than editing it directly.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

