agentleFS
bostonaholicbostonaholic/team/skills/eng-design-doc-review/SKILL.md

eng-design-doc-review

Skill11 starsChanged 4 months agoMITView on GitHub

Use for reviewing technical designs with fresh context.

The file

We split this skill into the rules it gives an agent

12 rules. About 0 are common, 5 are distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

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

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

    Before review dispatch, supply the installed plugin root and resolved skills/eng-design-doc-review/references/design-reviewer.md path.

    line 8
  2. Distinctive:

    If a required resource is missing, stop and report its resolved path.

    line 10
  3. Distinctive:

    Before dispatch, resolve independent review, verified results, focused work.

    line 13
  4. Distinctive:

    Before each consuming step, read its linked shared rules from this installed skill directory.

    line 14
  5. Very specific:

    Write the prose this skill governs at a seventh-grade reading level, in STE-flavored mode.

    line 18
  6. Very specific:

    Use the directory resolved in ## Input.

    line 47
  7. Very specific:

    Run the external cross-model pass: Read the cross-model review and follow its ## Design-review pass.

    line 48
  8. Very specific:

    Dispatch the review: Read the design reviewer brief ## Review brief.

    line 65
  9. Very specific:

    When any vendor CLI was unavailable during the cross-model pass, add one line per CLI naming it and the reason — or a single line naming …

    line 91
  10. Very specific:

    A standalone run records no design-review-<n>.md: Only the pipeline's DESIGN review gate writes the verdict artifact.

    line 95
  11. Distinctive:

    If the verdict is APPROVE or COMMENT, tell the user:

    line 99
  12. Distinctive:

    If the verdict is REQUEST CHANGES, tell the user:

    line 105

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill 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
SKILL.md

Before review dispatch, supply the installed plugin root and resolved skills/eng-design-doc-review/references/design-reviewer.md path. Pass the applicable resource paths and require reads before work. If a required resource is missing, stop and report its resolved path; never use checkout fallback or recursive loading.

Engineering Design Doc Review

Before dispatch, resolve independent review, verified results, focused work. Pass their absolute installed paths with the retained brief. The receiver reads them before work. Before each consuming step, read its linked shared rules from this installed skill directory; if a required read fails, stop that step with the exact path. Never use checkout fallback or recursive loading.

Adversarially review a design document with fresh context.

Write the prose this skill governs at a seventh-grade reading level, in STE-flavored mode. Before you finalize it, read the writing standards and apply its ## Self-lint checklist.

Input

$ARGUMENTS is the artifact directory: docs/plans/<id>/. If empty, the discovery command below resolves it. $ARGUMENTS/6-design.md is required; missing sibling artifacts are not a hard error.

Resolve <team-skill-dir> to the absolute directory containing skills/team/SKILL.md. From the repository root, run:

"<team-skill-dir>/discover-topic.sh" "${ARGUMENTS:-}" "6-design.md"
  • If the command printed a path, use it as $ARGUMENTS. When the path came from tier 2 discovery, with no explicit arg, announce the resolved directory to the user first, so an auto-picked topic is never silent.
  • If the command printed nothing, do not hard-error. Fire AskUserQuestion with a Setup header and labeled options:
    • Run the producer — run /team-design docs/plans/<id>/ to produce the missing 6-design.md.
    • Give a path — the user supplies the docs/plans/<id>/ directory directly (run ls docs/plans/ to find your topic directory).

Execution

  1. Use the directory resolved in ## Input.
  2. Run the external cross-model pass. Read the cross-model review and follow its ## Design-review pass. You, the invoking session, are the actor: you hold Bash for the runner (external-review.mjs, resolved per that section) and the Agent tool for the dispatch — each vendor run goes through its own named courier sub-agent per that reference's vendor-courier block, with its inline fallback. Fence each CLI's raw output as a DATA block at capture time (fence longer than any backtick run in the output, per that section) and hold one ## External review input section — opening with the untrusted-content line that section specifies — carrying those blocks, for step 3 to append to the brief it dispatches. Any skip continues with the reviewer alone. No artifact is written on this surface: a standalone run records nothing — no notes append, no raw file — and the raw vendor text stays in the invoking session. Name any unavailable CLI to the user per that reference's ## When a vendor CLI is unavailable. An unauthenticated CLI exits non-zero and reads as an ordinary skip.
  3. Dispatch the review. Read the design reviewer brief ## Review brief. Then call the Agent tool with subagent_type: Explore and model: opus, and pass that brief to the Explore subagent as the prompt, with the artifact directory substituted for $ARGUMENTS. Do not define or reference a project agent — the built-in read-only type is the whole mechanism. If the environment lacks the Explore agent type, report the dispatch failure — never substitute a full-tool agent silently.
  4. Present the verdict in full. Relay the subagent's report verbatim — the subagent's output is not shown to the user directly.
  5. Do not auto-revise. This skill does not loop the design-author. On REQUEST CHANGES, surface the findings and let the user decide if to re-enter /team-design with that feedback.

Rules

  • This skill is read-only, structurally for writes. The Explore subagent holds no Write/Edit tools, so it cannot change 6-design.md, the artifact directory, or any verdict record. Residual tools — a Bash grant included, when the host's Explore type carries one — are governed by the brief's read-only instruction, and that residual is accepted. The skill itself writes no artifacts.
  • Standalone use blocks nothing: users may run /team-design or /team-structure without ever invoking this skill directly.

Print the verdict and the count of issue / suggestion / nitpick findings. When any vendor CLI was unavailable during the cross-model pass, add one line per CLI naming it and the reason — or a single line naming TEAM_DISABLE_CROSS_MODEL when the pass was disabled machine-wide.

A standalone run records no design-review-<n>.md. Only the pipeline's DESIGN review gate writes the verdict artifact. /team-structure needs a recorded passing verdict before it slices a design.

If the verdict is APPROVE or COMMENT, tell the user: "To advance, run /team-design docs/plans/<id>/ — with 6-design.md already present it skips drafting and runs the review gate (skipping even that when the latest recorded verdict already passes — no redundant re-review), recording the verdict artifact — then proceed to /team-structure." If the verdict is REQUEST CHANGES, tell the user: "Re-run /team-design docs/plans/<id>/ with the findings above to re-dispatch design-author for a revision."

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.