agentleFS
mqmalagrismqmalagris/agent-skills/skills/blueprint/SKILL.md

blueprint

Skill0 starsChanged 4 months agoMITView on GitHub

Turn a settled feature scope into a concrete implementation plan and write it to docs/plans/NNNN-<slug>.md. Covers the change surface (files affected), a phased build sequence, testable acceptance criteria, an edge-case ledger, and a rollback and risk plan. Use when user has a PRD, ADR, or settled feature spec and wants a step-by-step build plan before coding. Triggers on /blueprint, "plan this feature", "implementation plan", "break this down", "how do we build X", or after to-prd / compass when ready to code. Formerly named heist.

43 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use inspect, execute and 8 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.
  • Arman-KudaibergenovSkill

    inspect

    Этот скилл MUST быть вызван для анализа и инспекции любого объекта 1С из XML-выгрузки: конфигурация (cf-info), объект метаданных (meta-info), управляемая форма (form-info), схема компоновки данных СКД (skd-info), макет табличного документа MXL (mxl-info), подсистема (subsystem-info), роль и права (role-info). SHOULD вызывать как подготовительный шаг перед любой модификацией объекта. Do NOT использовать для модификации — для изменений используй соответствующие edit/compile скиллы.

    Also in 3 projects that use this

  • sahinSkill

    execute

    Also in 4 projects that use this

  • srpadronoSkill

    scout

    Writes UI tests for untested steps in the journey map using framework-correct selectors, waits, and patterns. Use when writing tests to fill coverage gaps or generating E2E tests for untested journey steps.

    Also in 3 projects that use this

  • quantsquirrelSkill

    forge

    Use when you want to systematically upgrade a skill's quality through TDD-based evaluation. 복수 평가 + 신뢰구간으로 유의미한 향상 검증.

    Also in 3 projects that use this

  • renatorozasSkill

    grill

    Adversarial code review. Don't let me ship until the changes pass your scrutiny.

    Also in 3 projects that use this

  • genomewalkerSkill

    learn

    Learn from web sources, generate SKILL.md, and store key patterns in soul memory. Trigger keywords: learn, skill-gen, web-learn, documentation, tutorial.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 0 are distinctive, and 6 are very specific to this project.

  • 0

    Common

    Most of the 42 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 6

    Very specific

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

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

    If feature spec is fuzzy → stop, tell user to run /grill-me or /to-prd first.

    line 17
  2. Very specific:

    If an architectural choice is unsettled (no ADR, no clear convention) → stop, tell user to run /compass first.

    line 18
  3. Very specific:

    Write to docs/plans/NNNN-<slug>.md (zero-padded, next available).

    line 22
  4. Very specific:

    Tasks are checkboxes: Update - [ ] → - [x] as work progresses.

    line 102
  5. Very specific:

    Files Affected table is exhaustive for known files: Add ? next to speculative ones.

    line 103
  6. Very specific:

    Edge Cases are decisions, not a wish list: Every row carries handle / defer / won't.

    line 105

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

blueprint

Turn a settled scope into an ordered build plan. Read the context, output a single Markdown file at docs/plans/NNNN-<slug>.md (zero-padded, next available index). Don't write code. Don't bundle multiple features.

Inputs to gather (in order, stop when enough)

  1. Feature spec (what to build) — PRD, conversation context, or user's brief. Defines scope, user stories, acceptance criteria.
  2. Architectural constraints (how it must be built) — scan docs/adr/ for accepted ADRs touching the area. ADRs are locked decisions: stack, paradigm, persistence model, integration style, auth, observability. Read every ADR whose subject overlaps the Files Affected set. List them in Sources. Plan must respect them — if the plan would violate an ADR, stop and surface the conflict to the user before writing.
  3. Codebase shape — relevant files, framework, conventions. Use Glob/Grep/Read sparingly; depth proportional to feature size. If the PRD has a ## Glossary, use those terms verbatim in Summary, Files Affected descriptions, and acceptance criteria.
  4. Operational constraints — deadlines, performance/security needs, feature-flag policy.

If feature spec is fuzzy → stop, tell user to run /grill-me or /to-prd first. Don't invent scope. If an architectural choice is unsettled (no ADR, no clear convention) → stop, tell user to run /compass first. Don't pick paradigms inside a plan.

Output format

Write to docs/plans/NNNN-<slug>.md (zero-padded, next available). Create dir if missing.

# Implementation Plan: <Feature title>

- **Status**: planned | in-progress | done
- **Date**: YYYY-MM-DD
- **Sources**: <links to PRD/ADR/issue>
- **depends on**: <optional — comma-separated slugs of other blueprint plans that must merge first>

## Summary
<1-3 sentences. What's getting built and why. Plain language.>

## Files Affected
Files touched. New = create, Mod = modify, Del = delete.

| File | Role | Action |
|------|------|--------|
| `src/auth/magic-link.ts` | token mint + verify | New |
| `src/api/auth.routes.ts` | wire endpoints | Mod |

## Implementation Phases
Phased plan. Each phase is a coherent milestone, ideally one PR. Tasks inside are checkboxes.

### Phase 1: <phase name>
- **Status**: planned | in-progress | done
- **Goal**: <what this phase delivers>

- [ ] **<task name>** — <one line>. Touches: `<files>`. Done when: `<observable result>`.
- [ ] **<task name>** — ... `(depends on previous)`

### Phase 2: <phase name> (parallel with Phase 3)
- **Status**: planned
- **Goal**: ...

- [ ] **<task name>** — ...

Phases run sequentially unless the header carries a `(parallel with Phase N)` suffix. Parallel phases must not share Files Affected entries. Small features = 1 phase. Large = 3-5. Don't pad.

## Acceptance Criteria
Acceptance criteria. Bullet list. Each item testable.

- [ ] <criterion>
- [ ] <criterion>

## Edge Cases
Edge cases swept before coding. One row per case. Decision is `handle` (build now), `defer` (out of scope, say why), or `won't` (deliberately unsupported).

| Case | Decision | Covered by |
|------|----------|-----------|
| empty result set | handle | Phase 1 task 2 + integration test |
| two tabs submitting at once | defer | single-seat feature, revisit at multi-seat |

Walk these categories, skip one only with a stated reason: empty / nil / zero, boundary (first, last, exactly one, max), invalid or malformed input, error and failure paths, idempotency (called twice), order sensitivity, concurrency, partial failure (one of N succeeded), wrong actor / insufficient permission, and the reverse of every state transition. Carry over anything `grill-me` already raised verbatim — don't re-derive it.

This table is the input to `implementation-review` Check 3, which reconciles the shipped diff against it. A case that never lands here gets rediscovered at review time, or not at all.

## Rollback and Risk
Rollback + risk plan.

- **Rollback**: <how to undo if shipped and breaks>
- **Risks**: <named risks, not "might break things">
- **Feature flag?**: yes/no + flag name
- **Migration**: <data/schema changes + reversibility>

## Test Plan
- **Unit**: <what>
- **Integration**: <what>
- **Manual**: <what>

## Open Questions
Unresolved items blocking start. If empty, delete section.

- [ ] <question>

Rules

  • One feature per plan. Bundling = bad plan.
  • Phases are milestones, not micro-steps. Each phase ships something working. If a phase has 1 task, collapse phases.
  • Tasks are checkboxes. Update - [ ] → - [x] as work progresses. Bump phase Status field too.
  • Files Affected table is exhaustive for known files. Add ? next to speculative ones.
  • Acceptance criteria are testable. "Works well" is not. "Login completes in <2s p95" is.
  • Edge Cases are decisions, not a wish list. Every row carries handle / defer / won't. A case you can't decide yet is an Open Question, not an Edge Cases row.
  • No code in plan. Pseudocode rare; only when sequencing isn't clear without it.
  • Honor stack conventions in this priority: (1) ADR-declared stack/paradigm, (2) existing code patterns in the repo, (3) user override. If they conflict, surface the conflict — don't silently pick.
  • Don't write code after planning. Hand back to user. They run plan or invoke implementation separately.
  • Update existing plan if user says "update the plan" — find by slug. Edit-safe sections: Status, phase Status, task checkboxes (- [ ] → - [x]), Open Questions, adding new phases at the end. Locked sections (require explicit user OK to touch): Files Affected, Acceptance Criteria, Sources, depends on. Never delete a phase; mark it cancelled instead.

When to skip blueprint

  • Bug fix (just fix it).
  • Single-file change.
  • Spike/throwaway.
  • Plan already exists and feature unchanged.

Pipeline placement

grill-me → to-prd → compass → blueprint → code

  • grill-me stress-tests the design tree, extracts ubiquitous-language Glossary.
  • to-prd codifies scope + Glossary into PRD.
  • compass locks architecture in ADRs (auto-written to docs/adr/).
  • blueprint consumes PRD + ADRs, outputs plan in docs/plans/.
  • code — implements one phase at a time.

Skip earlier stages when the artifact already exists. Blueprint requires at minimum a settled feature spec; if architecture is unsettled, route back to compass first.

Humanize the written prose (if available)

Before writing generated prose to a file, if the humanizer skill is installed, run it on the drafted text so the created document reads naturally and free of AI tells; skip silently if it is not available. Apply it to the human-facing document body only, never to code, frontmatter, file paths, IDs, or literal templates.

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.