agentleFS
learner0408learner0408/Skills/product-builder/SKILL.md

product-builder

Skill0 starsChanged 3 months agoMITView on GitHub

Orchestrate building a feature or software product end-to-end — from architecture decisions through implementation, automated testing, and code review. Use when asked to build a product or feature from idea to working, tested code, e.g. "build this product" or "implement end-to-end". Skip for single-stage requests like writing only tests, only reviewing code, or only drafting an architecture doc.

5 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 3

    Distinctive

    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
  1. Very specific:

    Every fix round routes through exactly two skills, in this order: architecture-driven-coding (apply fixes) → test-case-writer (re-run …

    line 50
  2. Distinctive:

    Before applying any fix round, classify each suggested fix:

    line 59
  3. Distinctive:

    No pauses between stages — run straight through

    line 75
  4. Distinctive:

    Stop only at: architecture gates (setup + deviations), budget exhaustion, user interrupt

    line 76

“Common” is measured: kept by at least 6 in 10 of the 5 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

Skills Used

This skill orchestrates other skills. Invoke each by name with the Skill tool at the matching stage — do not reimplement their behavior inline.

StageSkill
Architecture docarchitecture-doc
Implementationarchitecture-driven-coding
Test writing + executiontest-case-writer
Code reviewcode-reviewer
Ambiguity resolutiongrilling

Instructions

  1. Setup gate — locate the project root (walk up from the current directory). If ARCHITECTURE.md is missing, invoke architecture-doc to create it first. Verify CONVENTIONS.md exists (project-local, else ~/.config/opencode/CONVENTIONS.md); if neither exists, halt and ask the user before proceeding.
  2. Feature intake — split the request into an ordered list of features. Order them by dependency (data models before API before UI). If ordering is genuinely ambiguous after reading ARCHITECTURE.md, invoke grilling for the minimal questions; otherwise decide and state your reasoning.
  3. Run the pipeline per feature, in order:

    • Implement — invoke architecture-driven-coding with the feature request
    • Test — invoke test-case-writer scoped to the code just written; collect its results report
    • Fix loop — see rules below
    • Review — invoke code-reviewer on the feature's full diff; handle findings per the fix-loop rules
  4. Final report — output the summary in the format below after all features are processed.

Fix Loop

Every fix round routes through exactly two skills, in this order: architecture-driven-coding (apply fixes) → test-case-writer (re-run scoped tests). Never patch code directly yourself.

Budget: 3 rounds for test failures, then 1 round for review findings. Exhausted → mark the feature blocked and continue to the next feature.

Architecture deviation gate

Before applying any fix round, classify each suggested fix:

  • Local fixes — logic bugs, missing edge cases, wrong mocks, errors confined within existing modules → apply autonomously
  • Architecture-touching fixes — new or renamed modules, changed data flow, boundary/contract changes, tech stack adjustments → STOP. Present to the human: the failing test or review finding, the proposed architectural change, and why it is needed. Proceed only on explicit approval. On rejection, record the feature as blocked-by-architecture-rejection and move on

The same gate applies during implementation if architecture-driven-coding reports the request cannot be mapped to existing modules.

Autonomy Rules

  • No pauses between stages — run straight through
  • Stop only at: architecture gates (setup + deviations), budget exhaustion, user interrupt
  • Blocked features never block later independent features

Output Format

## Build Report

### [Feature name] — [done | blocked-by-budget | blocked-by-architecture-rejection]
- Files written: [paths]
- Tests added/passed/failed: [n/n/n]
- Review outcome: [clean | issues fixed | open Medium/Low items]
- Architecture deviations: [none | approved: <change> | rejected: <change>]
- Notes: [deviations from plan, leftover risks]

Example

Input: "Build our analytics platform: event ingestion first, then dashboards."

  1. Setup gate — no ARCHITECTURE.md; invoke architecture-doc, user confirms stack and modules.
  2. Intake — two features ordered: ingestion, then dashboards (dashboards read what ingestion writes).
  3. Feature 1: implement via architecture-driven-coding; test via test-case-writer; one failure needs a new shared module → deviation gate stops, user approves, fix applied via the coding skill, tests re-run green; review via code-reviewer, one High issue fixed through the same two-skill route.
  4. Feature 2 runs clean end-to-end.
  5. Output the build report covering both features.

Out of Scope

  • Deployment and git commits unless explicitly requested
  • Modifying pre-existing code outside the current feature's modules
  • E2E authoring unless explicitly requested
  • Changing the behavior of the sub-skills — follow them as written

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.