agentleFS
darkroomengineeringdarkroomengineering/cc-settings/skills/build/SKILL.md

build

Skill47 starsChanged 2 months agoMITView on GitHub

Build a feature, page, or integration end-to-end with a GO/NO-GO gate. Triggers "build a feature", "implement feature", "add feature", "build integration". Components go to /component, hooks to /hook.

76 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use incident, experiment and 7 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • pvnarpSkill

    incident

    Guides incident response and post-mortem analysis. Covers triage, mitigation, root cause analysis, and prevention. Use when responding to active incidents, writing post-mortems, or improving incident processes.

    Also in 3 projects that use this

  • sunnnybalaSkill

    experiment

    Design and run ML experiments on cloud GPUs. Generates experiment code, runs on Modal, tracks results in JSONL. Use when asked to "run experiments", "train a model", "test this hypothesis", or "benchmark this approach". Proactively invoke when the user has a refined research idea and needs to validate it experimentally.

    Also in 3 projects that use this

  • SentrySkill

    spec

    Produce a verified spec — problem, desired outcome, and acceptance criteria — before building. Use when given a GitHub/Linear issue link, when starting from a fuzzy in-conversation idea, or asked to "figure out what to do" / "scope this" / "what should I build" — whenever the *what* isn't yet pinned down. Grills the ambiguities, checks the premise against the code, and produces acceptance criteria you sign off on — then hands to design-first.

    Also in 9 projects that use this

  • AnthropicSkill

    brief

    Generate contextual briefings for legal work — daily summary, topic research, or incident response. Use when starting your day and need a scan of legal-relevant items across email, calendar, and contracts, when researching a specific legal question across internal sources, or when a developing situation (data breach, litigation threat, regulatory inquiry) needs rapid context.

    Also in 5 projects that use this

  • AnasX7Skill

    improve

    Survey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on source code — never implements, fixes, or refactors anything itself. Use when asked to audit a codebase, find improvement opportunities (bugs, security, performance, test coverage, tech debt, migrations, DX), suggest features or where to take the project next (roadmap, product direction), or generate handoff plans for another agent to implement.

    Also in 4 projects that use this

  • BlockSkill

    plan

    Draft a TDD, PRD, or lightweight plan in the conversation without committing it.

    Also in 17 projects that use this

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 7 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 71 edited versions we read keep these.

  • 7

    Distinctive

    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. Distinctive:

    Use Context7 only when the user configured that MCP.

    line 11
  2. Distinctive:

    Before any implementation, complete this research phase:

    line 18
  3. Distinctive:

    GO/ASK/NO-GO Verdict: After research, state one of:

    line 27
  4. Distinctive:

    Do not proceed past this gate without an explicit GO verdict.

    line 32
  5. Very specific:

    Create a brief implementation plan, opening with a ## Functional DAG (recipe-table brace diagram — inputs left, operations merging …

    line 36
  6. Distinctive:

    Follow standard Maestro workflow: scaffold → implement → test → review.

    line 45
  7. Distinctive:

    Use the right primitives for the stack:

    line 47
  8. Distinctive:

    If you catch yourself thinking any of the following, STOP — you are skipping the research gate:

    line 71
  9. Very specific:

    Use the starter's conventions (CSS modules as s, path alias @/ for satus / ~/ for novus).

    line 86

“Common” is measured: kept by at least 6 in 10 of the 71 edited versions of this file we could read. “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
SKILL.md

Feature Build Workflow

Standalone Codex

Use Context7 only when the user configured that MCP. Otherwise consult official library documentation through native browsing or inspect the pinned local package, and state which fallback supplied the API contract. This package does not auto-run unpinned registry MCP packages.

Phase 1: Research (GO/NO-GO Gate)

Before any implementation, complete this research phase:

  1. Detect stack — read package.json. next dep → satus / Next.js; react-router dep → novus / React Router. Note any starter signal (name field, darkroom.starter marker).
  2. Understand requirements — parse what the user actually needs.
  3. Explore codebase — find existing patterns, similar implementations. Fetch the team-knowledge index and read any note whose title matches the libraries and integrations this feature touches; the fetch command is in docs/knowledge-system.md (fail-open — skip if gh is unavailable).
  4. Fetch docs — use Context7 in Claude or when configured in Codex; otherwise use the standalone fallback above. Never code from memory.
  5. Check versions — run bun info <package> for the latest version.
  6. Assess feasibility — can this be done cleanly within existing architecture?

GO/ASK/NO-GO Verdict: After research, state one of:

  • GO — requirements are clear, approach is viable, proceed to implementation.
  • ASK — requirements have more than one plausible reading. Run clarifying rounds (AskUserQuestion in Claude, Plan mode request_user_input in Codex; up to 4 questions each, recommendation first) until no fork is left, then re-issue the verdict.
  • NO-GO — approach has blockers or scope is too large. Report findings and stop.

Do not proceed past this gate without an explicit GO verdict.

Phase 2: Plan

Create a brief implementation plan, opening with a ## Functional DAG (recipe-table brace diagram — inputs left, operations merging rightward, one terminal verification node; spec: docs/functional-dag.md), then:

  • Files to create/modify (with stack-correct paths — lib/hooks/ for satus, hooks/ for novus, etc.)
  • Key decisions and rationale
  • Dependency order — read off the DAG's columns, not restated by hand

Phase 3: Implement

Follow standard Maestro workflow: scaffold → implement → test → review.

Use the right primitives for the stack:

Concernsatus (Next.js)novus (React Router)
Pageapp/<path>/page.tsxapp/routes/<path>.tsx
Layoutapp/<path>/layout.tsxapp/root.tsx or nested route
Data fetchingServer Component async functionloader() route export
MutationsServer Actions ('use server')action() route export
RoutingFile-based app/File-based app/routes/
Imagenext/image<img> (or Vite plugin)
Link@/components/link (project wrapper)react-router Link

Output

Return a concise summary:

  • Stack detected: satus / novus / other (with evidence — e.g. next ^16.0.0)
  • What was built: feature description
  • Files created: list of new files
  • Files modified: list of changed files
  • How to use: quick usage guide
  • Tests added: what's covered

Rationalization Counters

If you catch yourself thinking any of the following, STOP — you are skipping the research gate:

RationalizationWhy It's Wrong
"I already know how to do this"The codebase may have existing patterns, wrappers, or conventions you'd miss
"The requirements are obvious"Obvious requirements have hidden edge cases; the GO/NO-GO gate catches them
"Research would take too long"Building the wrong thing takes longer than 5 minutes of research
"I'll figure it out as I go"This leads to mid-implementation pivots that waste context and leave dead code
"It's just a small feature"Small features in the wrong place create architectural debt
"The user seems impatient"Shipping broken code is worse than a brief research pause
"Both starters are similar enough"They diverge on routing, data fetching, mutations, and asset handling. The wrong shape compiles but doesn't fit

Remember

  • Detect stack before scaffolding — wrong shape = rewrite later.
  • Use the starter's conventions (CSS modules as s, path alias @/ for satus / ~/ for novus).
  • Server-side data fetching where the framework supports it (RSC for satus, loaders for novus).
  • Store useful patterns as learnings.

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.