tech-spec
Skill19 starsChanged 4 days agoApache-2.0View on GitHub
Write a typed call-stack architecture handoff.
We split this skill into the rules it gives an agent
15 rules. 0 are common, 13 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 11 edited versions we read keep these.
13
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
- Very specific: line 11
Treat ../coding-standards/SKILL.md as the standards source of truth and the tdd skill as the testing workflow.
- Distinctive: line 17
Use Path A: Convert context to spec when the conversation, docs, or codebase already contain enough background to describe the change.
- Distinctive: line 18
Use Path B: Grill first when the user wants a new spec but has not provided enough problem, constraints, design direction, affected code, …
- Distinctive: line 20
If a question can be answered by exploring the codebase, inspect the codebase instead of asking.
- Distinctive: line 149
Use the sibling TDD workflow and testing standards.
- Distinctive: line 171
Do not implement and do not ask to implement by default.
- Distinctive: line 177
Do not write a full spec yet.
- Distinctive: line 180
Start a grilling interview.
- Very specific: line 181
Use ../grill-with-docs/ when the user wants docs, ADRs, glossary/domain language, or durable design artifacts created during discovery.
- Distinctive: line 183
Ask one question at a time and provide the recommended answer with each question.
- Distinctive: line 192
Use this shape unless the task is tiny enough to compress without losing contracts or call stacks:
- Distinctive: line 253
Prefer precise domain values over strings, booleans, nullable bags, and loosely shaped objects.
- Distinctive: line 254
Keep seams real: adapters translate framework, persistence, network, time, randomness, telemetry, runtime, or platform boundaries.
- Distinctive: line 255
Avoid speculative abstraction.
- Distinctive: line 256
Keep a single source of truth.
“Common” is measured: kept by at least 6 in 10 of the 11 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.
Files
Tech Spec
A tech spec is a typed call-stack architecture handoff: code-shaped contracts plus execution flows. Prefer TypeScript pseudocode over prose wherever precision matters.
Treat ../coding-standards/SKILL.md as the standards source of truth and the tdd skill as the testing workflow.
This skill is design-only. Do not implement. Save a file only when the user asks for a file; otherwise return the spec inline.
Branch selection
- Use Path A: Convert context to spec when the conversation, docs, or codebase already contain enough background to describe the change.
- Use Path B: Grill first when the user wants a new spec but has not provided enough problem, constraints, design direction, affected code, or acceptance criteria.
If a question can be answered by exploring the codebase, inspect the codebase instead of asking.
Completion criterion: the branch is chosen from actual available context; missing architectural decisions are not invented.
Path A: Convert context to spec
1. Load standards and local context
Read:
../coding-standards/SKILL.md- the
tddskill'sSKILL.md
Inspect existing code and docs for local vocabulary, module layout, domain concepts, errors, adapters, observability, runtime patterns, and test style.
Completion criterion: the spec uses project vocabulary and does not introduce a pattern, library, adapter, schema style, or test strategy before checking local precedent.
2. Extract the design problem
Capture:
- current state;
- problem;
- users/callers;
- goals;
- non-goals;
- constraints;
- invariants;
- affected systems;
- likely entrypoints;
- operational/runtime concerns;
- risks;
- open questions.
Mark unknowns as open questions instead of filling gaps with plausible design.
Completion criterion: every claimed requirement or constraint is grounded in conversation, code, docs, or an explicit open question.
3. Explore design alternatives
Produce materially different alternatives before choosing the recommended design. Alternatives should differ in interface shape, seam placement, ownership, call stack, runtime topology, or module boundaries — not just names.
For each alternative, sketch:
- domain types and state model;
- public/module interfaces and APIs;
- input/output types;
- expected failure types;
- seams, boundaries, and adapters;
- entrypoint-to-side-effect call stack;
- parsing/projection strategy;
- authorization, observability, cancellation, idempotency, and transaction flow when reachable;
- test seam strategy;
- tradeoffs.
Compare alternatives on:
- caller burden;
- module depth and leverage;
- locality of invariants and change;
- seam placement;
- boundary parsing and projections;
- error and cancellation model;
- testability through real seams;
- operational/runtime fit;
- implementation complexity.
Completion criterion: the recommendation is chosen after comparing alternatives, not before.
4. Specify the recommended typed contracts
For the recommended design, outline every new, changed, or deleted:
- domain value;
- branded/refined type;
- state machine variant;
- input/output type;
- request/response shape;
- function signature;
- class or module interface;
- expected-failure/custom-error type;
- adapter interface;
- protocol DTO;
- persistence DTO/projection;
- runtime-boundary codec;
- public API.
Name seams, adapters, implementations, ownership boundaries, and what crosses each boundary. State what each layer may know and what must not leak across the seam.
Completion criterion: every new or changed boundary has a concrete type/interface/API sketch, or an explicit reason no new contract is needed.
5. Specify call stacks and data flow
For every new, changed, or deleted behavior, show the call stack from entrypoint to side effects and response.
Include type/data flow:
raw input
-> boundary DTO / unknown
-> parser
-> canonical domain/application input
-> service/module interface
-> adapter call
-> typed result/error
-> projection
-> serialized outputInclude current vs proposed flow when changing existing behavior. Include failure, retry, cancellation, transactionality, idempotency, observability, authorization, and runtime-hop flow when reachable.
Completion criterion: every affected behavior has an end-to-end call stack and type/data-flow trace.
6. Map files and modules
List:
- files/modules to add;
- files/modules to change;
- files/modules to delete, if any;
- test files;
- config/migration/runtime files, if any.
For each file, state the contract, code path, boundary, adapter, domain concept, or test responsibility it owns.
Completion criterion: every contract and call-stack step maps to a file/module or an open question.
7. Write the RGR TDD test plan
Use the sibling TDD workflow and testing standards. Plan vertical Red-Green-Refactor slices: one failing behavior test, minimal implementation, repeat. Do not write a horizontal "all tests first, all code later" plan.
Favor behavior through public interfaces and real seams over implementation-coupled mocks.
Cover proportionately:
- happy paths;
- failure paths;
- parser rejection and accepted shapes;
- domain invariants and state transitions;
- adapter contracts;
- persistence/runtime semantics;
- cancellation/retry/idempotency paths;
- observability and safe summaries where relevant;
- end-to-end flows for high-consequence behavior.
Completion criterion: every public behavior, invariant, important failure path, changed boundary, and changed seam has a red test slice or an explicit reason not to test it.
8. Produce the spec
Return the spec inline unless the user requested a file path. If a file was requested, save it there.
Do not implement and do not ask to implement by default.
Completion criterion: the output follows the outline below and is implementation-ready for another engineer.
Path B: Grill first
- Do not write a full spec yet.
- State that there is not enough context for an implementation-ready tech spec.
- Completion criterion: the agent has not invented requirements, APIs, files, or call stacks.
- Start a grilling interview.
- Use
../grill-with-docs/when the user wants docs, ADRs, glossary/domain language, or durable design artifacts created during discovery. - Otherwise use
../grill-me/. - Ask one question at a time and provide the recommended answer with each question.
- If a question can be answered by exploring the codebase, inspect the codebase instead of asking.
- Completion criterion: the interview has enough context for Path A: problem, users/callers, constraints, affected systems, desired behavior, boundaries, likely APIs, invariants, risks, and acceptance tests.
- Use
- Convert to the spec.
- Once grilling context is sufficient, run Path A.
- Completion criterion: the final artifact is a typed call-stack architecture handoff, not interview notes.
Required spec outline
Use this shape unless the task is tiny enough to compress without losing contracts or call stacks:
# <Title>
## Summary
## Context / Current State
## Goals
## Non-Goals
## Invariants
## Design Constraints
## Alternatives Considered
### Option 1: <name>
### Option 2: <name>
### Option 3: <name>
## Recommendation
## Proposed Design
## Domain Model and Types
## Types, Interfaces, and APIs
## Seams, Boundaries, Adapters, and Implementations
## Call Stacks and Data Flow
### Current / Old Flow
### Proposed / New Flow
### Failure Flow
### Retry / Cancellation / Idempotency Flow
### Observability Flow
## Files to Add / Change / Delete
## RGR TDD Test Plan
## Risks and Open QuestionsOmit sections that truly do not apply, but do not omit typed contracts, seams, call stacks, or tests merely because they are hard to specify.
Writing rules
- Code first: TypeScript pseudocode defines contracts, APIs, and data flow.
- Prose explains why; types and call stacks define what changes.
- Focus on types, interfaces, APIs, inputs/outputs, seams, boundaries, adapters, domain modules, service modules, external adapters, and call stacks.
- Prefer precise domain values over strings, booleans, nullable bags, and loosely shaped objects.
- Keep seams real: adapters translate framework, persistence, network, time, randomness, telemetry, runtime, or platform boundaries.
- Avoid speculative abstraction; every seam earns its existence through invariants, locality, leverage, testing, or a real boundary.
- Keep a single source of truth; do not restate the same rule in multiple sections unless one section points to the other.
- Unknowns stay open questions. Do not invent product requirements, domain rules, APIs, or call stacks to make the spec feel complete.
Other versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 2
- dmmulroy/skills★ 42899% same
- alexander-zuev/agent-skills★ 096% same
Wrote their own version · 9
- sd0xdev/sd0x-dev-flow★ 192same name
- sd0xdev/sd0x-harness★ 192same name
- SebaBoler/vanguard★ 6same name
- iurysza/agent-skills★ 5same name
- matiopala/skills★ 2same name
- rx-rz/skills★ 2same name
- cill-i-am/skills★ 1same name
- mitchdowd/skills★ 1same name
- montymi/claude-config★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Used alongsideProjects with it also use jira, adr and 1 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.
MicrosoftSkilljira
Jira issue workflows for search, issue updates, transitions, comments, field discovery, and interactive credential setup via the Jira REST API. Use when you need to configure Jira access, search with JQL, inspect an issue, create or update work items, move an issue between statuses, post comments, or discover required fields for issue creation.
Also in 3 projects that use this
asterkinSkilladr
Create Architecture Decision Records (ADRs) following project standards. Guides template usage, process, and best practices for documenting architecturally significant decisions.
Also in 3 projects that use this
NVIDIASkilldeep-research
Queue deep, multi-step research and analysis tasks to the DeepAgents worker. Supports execution depth presets, request-specific rubrics, SubAgent delegation, and RubricMiddleware cross-validation.
Also in 3 projects that use this
In this repository64 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/on-demand/vercel-composition-patterns/AGENTS.mdAGENTS.md
- adr-writingSkill
- codebase-designSkill
- code-reviewSkill
- crwlSkill
- dev-browserSkill
- diagnosing-bugsSkill
- domain-modelingSkill
- git-commitSkill
- grillingSkill
- implementSkill
- librarianSkill
- liteparseSkill
- prototypeSkill
- prSkill
- researchSkill
- simple-englishSkill
- skill-dietSkill
- tddSkill
- wizardSkill
- writing-for-agentsSkill
- architecture-scanSkill
- brandkitSkill
- broSkill
- cavemanSkill
- coding-standardsSkill
- design-taste-frontendSkill
- diagram-designSkill
- fable-safe-promptSkill
- grill-for-unknownsSkill
- grill-meSkill
- grill-with-docsSkill
- handoffSkill
- high-end-visual-designSkill
- humanizerSkill
- i-have-adhdSkill
- imagegen-frontend-mobileSkill
- imagegen-frontend-webSkill
- image-to-codeSkill
- implementation-orchestratorSkill
- improve-codebase-architectureSkill
- marpSkill
- minimalist-uiSkill
- oss-repo-reviewSkill
- pretty-mermaidSkill
- redesign-existing-projectsSkill
- reducing-entropySkill
- retroSkill
- rpiSkill
- sentrySkill
- setup-matt-pocock-skillsSkill
- setup-ts-deep-modulesSkill
- show-meSkill
- suggest-skillsSkill
- supervisorSkill
- teachSkill
- to-questionnaireSkill
- to-specSkill
- to-ticketsSkill
- The first 60 shown.
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
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.

