agentleFS
LDKTCLDKTC/Agent-P-FullStack/CLAUDE.md

Agent-P-FullStack

CLAUDE.md1 starsChanged 4 months agoMITView on GitHub

A multi-tool agent+skill plugin ("Agent-P"): a Full Stack web dev department — subagent definitions (agents/*.md) in Claude Code's format, eighteen skills under skills/ (four cross-cutting: agent-flow, stack-briefing, dev-testing, dry-and-cor; and fourteen technology-specific: html-css, react, tailwind, typescript, nodejs, electron, flutter, mysql, postgres, sqlite, supabase, turso, firebase, google-auth), and adapter files (AGENTS.md, .github/copilot-instructions.md) so the same personas are usable from tools without a subagent mechanism. No application code, no build step, no test suite — editing this repo means editing the prose/YAML…

The file

We split this CLAUDE.md into the rules it gives an agent

5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Every file in agents/ is:

    line 34
  2. Distinctive:

    Every agent's cross-references stay inside this list — none of them assume a CEO, quest-router, or sibling department (Unity, …

    line 92
  3. Distinctive:

    Keep it that way: if a verdict rule changes, it changes in the skill, and the agents keep pointing at it.

    line 127
  4. Distinctive:

    Don't "fix" that by cross-linking them.

    line 177
  5. Very specific:

    Keep both files' name (agent-p-fullstack) in sync — Claude Code resolves the install as <plugin-name>@<marketplace-name>, both of which are …

    line 191

≈ “Common” is an estimate: at least 1 in 5 of the 28,633 CLAUDE.md 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

CLAUDE.md

This file provides guidance to Claude Code when working with code in this repository.

What this repo is

A multi-tool agent+skill plugin ("Agent-P"): a Full Stack web dev department — subagent definitions (agents/*.md) in Claude Code's format, eighteen skills under skills/ (four cross-cutting: agent-flow, stack-briefing, dev-testing, dry-and-cor; and fourteen technology-specific: html-css, react, tailwind, typescript, nodejs, electron, flutter, mysql, postgres, sqlite, supabase, turso, firebase, google-auth), and adapter files (AGENTS.md, .github/copilot-instructions.md) so the same personas are usable from tools without a subagent mechanism. No application code, no build step, no test suite — editing this repo means editing the prose/YAML that defines agent behavior.

Commands

There is no build/lint/test tooling — content is markdown + YAML frontmatter, validated by installing and exercising it in a real session:

/plugin marketplace add "d:\AI Project\Agent-P-FullStack"
/plugin install agent-p-fullstack@agent-p-fullstack

Architecture

Agent frontmatter contract

Every file in agents/ is:

---
name: <kebab-case, must match filename>
description: <capability + explicit "Use PROACTIVELY when ..." trigger, incl. Thai phrasing where relevant>
tools: <comma-separated allowlist, least-privilege for that agent's role>
model: inherit
---
<system prompt body>

description is load-bearing, not documentation — it's what an invoking agent/router matches against to decide whether this agent fits a sub-quest, so it must state the domain, what's distinct from sibling agents, and the literal trigger phrases (English and Thai). tools is a real permission boundary: fullstack-head (orchestrator) gets Agent, Read, Grep, Glob, TodoWrite — no Edit/Write, it delegates rather than implements; fullstack-senior-dev (read-only briefing) gets Read, Grep, Glob, Bash — no Edit/Write on purpose; ui-ux-researcher (read-only/advisory pattern research) gets WebSearch, WebFetch, Read, Grep, Glob — no Edit/Write/Bash, it hands a recommendation to frontend-dev rather than implementing; four of the five implementers (backend-dev, database-schema-dev, devops-dev, api-integration-dev) get Edit/Write/Bash scoped to what their domain actually needs; frontend-dev gets Edit/Write only — no Bash, since UI/component/page work doesn't need a shell. The three review/audit specialists (code-reviewer, security-auditor, performance-auditor) get Read, Grep, Glob, Bash — the same read-only shape as fullstack-senior-dev — since they report findings for another specialist to fix, never patch code themselves. documentation-architect gets Read, Edit, Write, Grep, Glob, Bash since it produces persisted doc files. debug-specialist gets the same full set and is the one deliberate exception to strict lane boundaries — it may Edit/Write whichever frontend/backend file the root cause of its assigned bug actually lives in, but still hands a schema/ third-party/infra root cause to the specialist who owns that lane.

Flat department, one head

Unlike a full org chart, this repo is a single department with no parent CEO/router above it:

fullstack-head ─┬─ fullstack-senior-dev  (briefs every implementer first)
                 ├─ ui-ux-researcher
                 ├─ frontend-dev
                 ├─ backend-dev
                 ├─ database-schema-dev
                 ├─ devops-dev
                 ├─ api-integration-dev
                 ├─ fullstack-tester
                 ├─ code-reviewer          (reviews implementer output; no Edit/Write)
                 ├─ security-auditor       (reviews implementer output; no Edit/Write)
                 ├─ performance-auditor    (reviews implementer output; no Edit/Write)
                 ├─ debug-specialist       (reproduces/fixes a specific bug; crosses lanes for its own fix only)
                 └─ documentation-architect (writes persisted docs from other workers' reports)

Every agent's cross-references stay inside this list — none of them assume a CEO, quest-router, or sibling department (Unity, DraconDex/Electron, etc.) is present, because this repo is meant to be installed standalone into any full-stack project. If you add an agent that references something outside this roster, either add that dependency here too or rewrite the reference to degrade gracefully when it's absent.

Keep the three surfaces in sync

There are three descriptions of the same roster, at different granularity:

  1. agents/*.md — full behavior, Claude Code's native format, the source of truth.
  2. AGENTS.md — a routing table + the one hard rule, for tools that read a single root instructions file (Codex, Cursor, etc.) instead of loading subagents.
  3. .github/copilot-instructions.md — the same routing table, Copilot's own convention.

Adding, renaming, or re-scoping an agent means updating all three — a stale AGENTS.md entry sends non-Claude tools to a persona that no longer matches what agents/*.md actually does. The same applies to skills: each one is referenced from AGENTS.md, .github/copilot-instructions.md, README.md, and the skill count in both .claude-plugin/*.json descriptions.

Verification is a shared contract, not one agent's job

skills/dev-testing/SKILL.md defines the probe protocol every runtime check in this repo refers to: clear stale port listeners, snapshot the database, wait on the service's own ready line, send one request or drive one user-level browser task, then judge on response + log + database delta together. The rules that follow from reading three signals instead of one — a 2xx with no row change is a FAIL, an uncaught console error is a FAIL — are stated in the skill and referenced (not restated in full) by fullstack-tester, backend-dev, debug-specialist, and fullstack-head. Keep it that way: if a verdict rule changes, it changes in the skill, and the agents keep pointing at it. frontend-dev deliberately has no Bash and therefore never probes — it emits a browser task for a shell-capable agent to run, which is why its report format carries BROWSER TASK TO PROBE.

Structural rules live in one skill too

skills/dry-and-cor/SKILL.md is the same kind of shared reference for DRY and Chain of Responsibility. backend-dev and frontend-dev apply it while implementing, code-reviewer reviews against it as one of its six dimensions — all three point at it rather than restating the rules, so a judgment call changes in one file. Two positions in it are deliberate and easy to "fix" wrongly: server-side validation is never reported as redundant with client-side validation (the client isn't a trust boundary), and code that merely looks alike but changes for different reasons is not duplication. Both exist to stop an over-eager DRY pass from creating a security hole or a bad coupling.

The CoR half is stated twice over in that one file — once for request pipelines (middleware/guards/interceptors) and once for routing work across the roster — because they're the same five rules and drift apart if split across files. fullstack-head points at it for dispatch the same way backend-dev points at it for middleware: most specific handler wins, one owner per unit, terminate-or-pass-never-both, nothing falls off the end, record which link took it. Keep both applications in the skill rather than restating either in an agent.

Technology skills layer instead of restating each other

The fourteen technology skills are deliberately stacked, and each one names the layer below it rather than repeating it. Breaking that is how the repo grows contradictory copies of the same rule:

html-css ── react ── tailwind        (browser UI; typescript cuts across all)
nodejs ──── electron                 (Electron's main process is Node)
sqlite ──── turso                    (Turso is networked libSQL)
postgres ── supabase                 (Supabase is Postgres + RLS/auth/keys)
mysql                                (standalone engine skill)
firebase, google-auth                (service/protocol skills)
flutter                              (separate rendering model — see below)

Two rules keep this coherent. First, a skill covers only its delta over the layer beneath: turso doesn't restate SQLite's type affinity or index rules, supabase doesn't restate Postgres's locking or EXPLAIN rules, and electron doesn't restate the renderer's UI rules. If a rule is true of the base technology, it belongs in the base skill. Second, flutter is the one that explicitly breaks inheritance — it says outright that html-css/react/tailwind do not apply, because there is no DOM or CSS. Don't "fix" that by cross-linking them.

supabase, firebase, and google-auth each carry a trust-boundary statement that reads like duplication but isn't: the boundary is in a different place in each (a service_role key, a service account plus Security Rules, an ID token's aud claim). Keep them stated per skill — collapsing them into one generic "don't leak secrets" note loses the specific check that catches the bug.

Repo/marketplace relationship

.claude-plugin/plugin.json is the plugin manifest; .claude-plugin/ marketplace.json is a self-referencing marketplace entry (source: "./") so this repo installs directly with no separate marketplace repo needed. Keep both files' name (agent-p-fullstack) in sync — Claude Code resolves the install as <plugin-name>@<marketplace-name>, both of which are this same name here.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.