Agent skill

Tech Spec

by dmmulroy in dmmulroy/skills

Write a typed call-stack architecture handoff. An agent skill from dmmulroy/skills.

MITAuto-check passedTesting & QA

Install Tech Spec

skills CLI
$ npx skills add dmmulroy/skills --skill tech-spec -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install dmmulroy/skills tech-spec --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/dmmulroy/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/tech-spec .claude/skills/tech-spec && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
tech-spec
GitHub stars
429
Token cost
~2.1k tokens
SKILL.md length
1,017 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
MIT

At a glance

Write a typed call-stack architecture handoff. An agent skill from dmmulroy/skills.

  • Works in 8 steps: Load standards and local context → Extract the design problem → Explore design alternatives → …
  • Testing & QA work in your project
  • SKILL.md covers Branch selection, Path A: Convert context to spec, Path B: Grill first and Required spec outline, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Tech Spec is an agent skill from dmmulroy/skills. Write a typed call-stack architecture handoff.

Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Testing & QA. The licence is MIT.

When your agent uses it

  • Testing & QA work in your project

Example prompts

  • “/tech-spec”

Workflow steps

8 steps, taken from the step headings in SKILL.md.

  1. Load standards and local context
  2. Extract the design problem
  3. Explore design alternatives
  4. Specify the recommended typed contracts
  5. Specify call stacks and data flow
  6. Map files and modules
  7. Write the RGR TDD test plan
  8. Produce the spec

What it can do on your machine

Read from SKILL.md and the folder at commit 8603380. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Tech Spec loads about 2.1k tokens when it runs. Until then it costs about 14 tokens; SKILL.md has 1,017 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~14
When it runs · the whole SKILL.md, loaded when a task matches
~2.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from dmmulroy/skills at commit 8603380, republished under its MIT licence (© dmmulroy). 1,017 words, ~2,133 tokens.

Download SKILL.mdSave it as .claude/skills/tech-spec/SKILL.md (or your agent's skills folder).
name
tech-spec
description
Write a typed call-stack architecture handoff.
disable-model-invocation
true

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.

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

  1. Use Path A: Convert context to spec when the conversation, docs, or codebase already contain enough background to describe the change.
  2. 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

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.

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:

txt
raw input
  -> boundary DTO / unknown
  -> parser
  -> canonical domain/application input
  -> service/module interface
  -> adapter call
  -> typed result/error
  -> projection
  -> serialized output

Include 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.

Show full SKILL.md (454 more words)Show less
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

  1. 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.
  2. Start a grilling interview.
    • 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.
  3. 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:

md
# <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 Questions

Omit 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.

© dmmulroy, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in tech-spec of dmmulroy/skills.

Open the folder on GitHubat commit 8603380

Compare with similar skills

Tech Spec next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Tech Spec compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Tech Spec this skilldmmulroy/skills429—~2.1kAutomated safety check: PassMIT
Web Application Testinganthropics/skills180k51 repos~966Automated safety check: PassApache-2.0
Diagnosing Bugsfossasia/eventyay-interpretation1.6k31 repos~2.1kAutomated safety check: PassApache-2.0
TDDfossasia/eventyay-interpretation1.6k28 repos~1.1kAutomated safety check: PassApache-2.0
TDD WorkflowhellangleZ/burn-in-cceverywhere-ralph11211 repos~2.4kAutomated safety check: PassNone
TDDsanity-io/sanity6.4k20 repos~1kAutomated safety check: PassMIT

Similar skills

  • Web Application Testing

    anthropics/skills

    Official

    Tests local web applications with Python Playwright scripts, checking frontend behavior, capturing screenshots and reading browser console logs.

    180k GitHub starsUsed in 51 repos~966 tokens
    Testing & QAAuto-check passed
  • Diagnosing Bugs

    fossasia/eventyay-interpretation

    Diagnosis loop for hard bugs and performance regressions. An agent skill from fossasia/eventyay-interpretation.

    1.6k GitHub starsUsed in 31 repos~2.1k tokens
    Testing & QAAuto-check passed
  • TDD

    fossasia/eventyay-interpretation

    Test-driven development. An agent skill from fossasia/eventyay-interpretation.

    1.6k GitHub starsUsed in 28 repos~1.1k tokens
    Testing & QAAuto-check passed
  • TDD Workflow

    hellangleZ/burn-in-cceverywhere-ralph

    A skill your agent uses when writing new features, fixing bugs, or refactoring code.

    112 GitHub starsUsed in 11 repos~2.4k tokens
    Testing & QAAuto-check passed
  • TDD

    sanity-io/sanity

    Official

    Test-driven development with red-green-refactor loop. An agent skill from sanity-io/sanity.

    6.4k GitHub starsUsed in 20 repos~1k tokens
    Testing & QAAuto-check passed
  • Context Driven Development

    Ibrahim-3d/orchestrator-supaconductor

    A skill your agent uses when working with Conductor's context-driven development methodology, managing project context artifacts, or understanding the relationship between product.md, tech-stack.md…

    380 GitHub starsUsed in 8 repos~2.9k tokens
    Testing & QAAuto-check passed

More from dmmulroy/skills

  • Effect Service Design

    dmmulroy/skills

    Design Effect services. An agent skill from dmmulroy/skills.

    429 GitHub stars~1.9k tokensUpdated 2 mo ago
    Auto-check passed
  • Composition roots for Hono and Cloudflare. An agent skill from dmmulroy/skills.

    429 GitHub stars~2.1k tokensUpdated 2 mo ago
    Auto-check passed
  • Herdr

    dmmulroy/skills

    Control Herdr, a terminl multiplexer for coding agents. An agent skill from dmmulroy/skills.

    429 GitHub stars~2.5k tokensUpdated 2 mo ago
    Auto-check passed
  • Coding Standards

    dmmulroy/skills

    Correct-by-construction TypeScript standards. An agent skill from dmmulroy/skills.

    429 GitHub stars~8.3k tokensUpdated 2 mo ago
    Auto-check passed
  • Prelude

    dmmulroy/skills

    Prelude bootstrapping for TypeScript. An agent skill from dmmulroy/skills.

    429 GitHub stars~1.4k tokensUpdated 2 mo ago
    Auto-check passed

Categories

Questions about Tech Spec

What does Tech Spec do?

Write a typed call-stack architecture handoff. An agent skill from dmmulroy/skills. Tech Spec is an agent skill from dmmulroy/skills. Write a typed call-stack architecture handoff.

When should I use Tech Spec?

Tech Spec fits situations like: testing & QA work in your project.

How do I install Tech Spec in Claude Code?

Run `npx skills add dmmulroy/skills --skill tech-spec -a claude-code`. Or copy the skill folder (tech-spec in dmmulroy/skills) into .claude/skills/tech-spec in your project. Claude Code loads it when a task matches its description.

How do I install Tech Spec in Codex?

Run `npx skills add dmmulroy/skills --skill tech-spec -a codex`. Or copy the skill folder (tech-spec in dmmulroy/skills) into .agents/skills/tech-spec in your project. Codex loads it when a task matches its description.

Can I use Tech Spec in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dmmulroy/skills --skill tech-spec -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/tech-spec, .gemini/skills/tech-spec, .github/skills/tech-spec and .opencode/skills/tech-spec in your project.

What does Tech Spec need to run?

SKILL.md names no scripts, command-line tools or credentials: Tech Spec is instructions for the agent only.

Does Tech Spec access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Tech Spec safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Tech Spec use?

Tech Spec is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Tech Spec use?

About 2.1k tokens (SKILL.md is roughly 8.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Tech Spec?

Skills that share tags, products or a category with Tech Spec: Web Application Testing (anthropics/skills, 180k stars), Diagnosing Bugs (fossasia/eventyay-interpretation, 1.6k stars), TDD (fossasia/eventyay-interpretation, 1.6k stars) and TDD Workflow (hellangleZ/burn-in-cceverywhere-ralph, 112 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Tech Spec?

dmmulroy (a GitHub user) maintains it in dmmulroy/skills, which has 429 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on July 23, 2026.

Source: dmmulroy/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.