App Spec Packager
instructa/agent-skills
A skill your agent uses when the user wants to turn an application, product, startup idea, SaaS, mobile app, web app, API, AI product, or internal tool into a production-ready Markdown specification…
Reverse engineer a detailed product and technical specification document from a git branch's implementation.
$ npx skills add blader/schematic --skill schematic -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install blader/schematic schematic --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
Claude Code skills documentation · loads skills from .claude/skills/
Install the "schematic" agent skill from https://github.com/blader/schematic/tree/main into .claude/skills/schematic/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "schematic", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add blader/schematic --skill schematic -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install blader/schematic schematic --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "schematic" agent skill from https://github.com/blader/schematic/tree/main into .agents/skills/schematic/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "schematic", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add blader/schematic --skill schematic -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install blader/schematic schematic --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "schematic" agent skill from https://github.com/blader/schematic/tree/main into .cursor/skills/schematic/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "schematic", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add blader/schematic --skill schematic -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install blader/schematic schematic --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "schematic" agent skill from https://github.com/blader/schematic/tree/main into .gemini/skills/schematic/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "schematic", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install blader/schematic schematicInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add blader/schematic --skill schematic -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "schematic" agent skill from https://github.com/blader/schematic/tree/main into .github/skills/schematic/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "schematic", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add blader/schematic --skill schematic -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install blader/schematic schematic --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "schematic" agent skill from https://github.com/blader/schematic/tree/main into .opencode/skills/schematic/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "schematic", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
schematicReverse engineer a detailed product and technical specification document from a git branch's implementation.
Schematic is an agent skill from blader/schematic. Reverse engineer a detailed product and technical specification document from a git branch's implementation. Use when: (1) a branch has shipped or is in-progress and needs documentation, (2) you need to understand what a branch does at product and architecture level, (3) onboarding to someone else's feature branch, (4) creating PR descriptions or design docs after the fact, (5) user asks to "analyze this branch", "write a spec from the code", or "document what this branch does". Produces a structured markdown…
Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `README.md`).
It sits in Product & Project Management, covering Git workflow, PRD writing and Architecture decision records. The repository describes itself as: Claude Code / Codex skill: reverse engineer a product & technical spec from a git branch. The licence is MIT.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 297fb73. It shows what the files ask for, not the result of running them.
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.
Shell commands in SKILL.md call:
gitghFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git and gh, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Schematic loads about 2.2k tokens when it runs. Until then it costs about 168 tokens; SKILL.md has 698 words of instructions outside code blocks.
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.
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.
The full file from blader/schematic at commit 297fb73, republished under its MIT licence (© blader). 698 words, ~2,159 tokens.
.claude/skills/schematic/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.Feature branches often ship without comprehensive documentation. After the fact, teams need product specs, architectural docs, or onboarding materials that explain what was built and why. Manually reading every file change is slow and error-prone. This skill systematically extracts a complete spec from a branch's diff.
Get the full picture of what changed before reading any files.
# 1. Identify the base branch (usually main or latest)
git log --oneline <base>..HEAD | head -50
# 2. Get file-level diff stats
git diff --stat <base>...HEAD
# 3. Count the scale
git diff --stat <base>...HEAD | tail -1Hitchhiker commit detection (CRITICAL): Before proceeding, check whether the branch contains commits from other PRs that were separately merged to the target branch. This is common on un-rebased branches.
# Get PR commits from GitHub (if a PR exists)
BRANCH_NAME=$(git branch --show-current)
ALL_COMMITS=$(git log --oneline <base>..HEAD | wc -l)
PR_SHAS=$(gh pr list --head "$BRANCH_NAME" --json commits --jq '.[0].commits[].oid' 2>/dev/null)
PR_COMMIT_COUNT=$(echo "$PR_SHAS" | grep -c . 2>/dev/null || echo 0)
# If counts differ, scope to PR-only files
if [ -n "$PR_SHAS" ] && [ "$PR_COMMIT_COUNT" -lt "$ALL_COMMITS" ]; then
echo "HITCHHIKER COMMITS: $ALL_COMMITS on branch, $PR_COMMIT_COUNT in PR"
# Get files touched ONLY by PR commits
PR_FILES=$(for sha in $PR_SHAS; do git diff-tree --no-commit-id --name-only -r "$sha"; done | sort -u)
# Use: git diff <base>...HEAD -- $PR_FILES (simulates post-rebase diff)
fiWhen hitchhiker commits are detected, use git diff <base>...HEAD -- <PR_FILES> for all subsequent analysis. State this scoping in the output. When not detected, use the full diff.
From the diff stats (scoped if needed), categorize files into groups:
Launch 2-4 parallel exploration agents, each focused on a different file group. This is critical for efficiency — reading 50+ files sequentially is too slow.
Agent 1: Core Implementation
Agent 2: Integration Points
Agent 3: Tests
Agent 4 (if needed): Configuration & Infrastructure
Each agent prompt should ask for:
After agents return, diff the analyzed files against the full file list:
# List all non-test changed files
git diff --stat <base>...HEAD -- '*.ts' '*.tsx' | awk '{print $1}' | sort
# Show small diffs for any files not yet analyzed
git diff <base>...HEAD -- <uncovered-files>Read the remaining small diffs directly. These often contain important details:
Structure the spec with these sections (skip sections that don't apply):
# [Feature Name]
## Reverse-Engineered Product & Technical Specification
## 1. Problem Statement
Why this feature exists. What user/business pain it addresses.
Infer from the nature of the changes and any comments in the code.
## 2. Solution Overview
High-level description of the approach. Key design properties
(transparent, lazy, bounded, etc.).
## 3. Product Requirements
### 3.1 User-Facing Behavior
Table of requirements inferred from tests and UI changes.
### 3.2 Supported Workflows
List of workflows validated by tests.
### 3.3 Scope Boundaries
What is and isn't included.
## 4. Architecture
### 4.1 System Diagram
ASCII diagram showing component relationships and data flow.
### 4.2 Data Lifecycle
Step-by-step flow from initial state through steady state.
## 5. Technical Design
Subsections for each major design decision:
- Feature flags and gating
- Data models / schema changes
- Key algorithms or patterns
- Integration patterns (how existing code was modified)
- Cache/performance design
- Error handling and fallbacks
## 6. New Files
Table: file path, purpose (one line each).
## 7. Modified Files (Key Changes)
Table: file path, what changed (one line each).
Include ALL files — even minor ones. The cross-check in Phase 3
catches files that agents missed.
## 8. Testing Strategy
### Unit Tests
### Integration / E2E Tests
### Instrumentation / Observability
## 9. Rollout Strategy
How the feature is gated, incremental rollout steps, kill switches.
## 10. Risks and Mitigations
Table: risk, mitigation.
## 11. Summary
Key metrics: files added/modified, lines changed, scope of impact.Cross-check the spec against the branch:
git diff --stat should appear in Section 6 or 7See the canonical offload spec produced for the test-parity-mem-exp-99-with-pr16393 branch:
a 12-section document covering 74 changed files across 12 commits, with architecture diagrams,
IndexedDB schema documentation, proxy design details, cache eviction policies, testing strategy
against a real customer dataset, and a complete file inventory.
docs/: Write the spec to a docs/ directory in the repo so it's discoverable.© blader, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files in the repository root of blader/schematic.
Open the folder on GitHubat commit 297fb73
Schematic 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Schematic this skillblader/schematic | 240 | — | ~2.2k | Automated safety check: Pass | MIT | |
| App Spec Packagerinstructa/agent-skills | 139 | — | ~1.5k | Automated safety check: Pass | None | |
| Foreman PlanVisionForge-OU/foreman | 443 | — | ~1k | Automated safety check: Pass | Custom licence | |
| Cabloy Spec Generationcabloy/cabloy | 982 | — | ~3.2k | Automated safety check: Notes | MIT | |
| Ad Archivealexandremendoncaalvaro/CorridorKey-Runtime | 755 | 1 repos | ~1.6k | Automated safety check: Pass | Custom licence | |
| Shep Workstreamsshep-ai/shep | 264 | — | ~2.5k | Automated safety check: Pass | MIT |
instructa/agent-skills
A skill your agent uses when the user wants to turn an application, product, startup idea, SaaS, mobile app, web app, API, AI product, or internal tool into a production-ready Markdown specification…
VisionForge-OU/foreman
Headless implementation-plan authoring for the Foreman planning stage.
cabloy/cabloy
A skill your agent uses to create or maintain Cabloy suite specifications under repo-specs, including PRD, SRS, PDP/WBS, acceptance planning, progress, and suite ADRs.
alexandremendoncaalvaro/CorridorKey-Runtime
Sweep completed plan files (tasks Status:done, specs Status:shipped, PRDs Status:superseded, ADRs Status:superseded or deprecated) out of the working tree and into git history via git rm.
shep-ai/shep
A skill your agent uses when a large body of work (a version milestone, an epic, a roadmap, a set of PRDs/design docs) needs to be broken into parallel workstreams and executed with the shep CLI.
pingcap/docs
Write new TiDB documentation or update existing TiDB documentation from code changes, PRs, issues, design docs, product specs, rough drafts, existing docs, or short feature descriptions.
Reverse engineer a detailed product and technical specification document from a git branch's implementation. Schematic is an agent skill from blader/schematic. Reverse engineer a detailed product and technical specification document from a git branch's implementation.
Schematic fits situations like: A branch has shipped; is in-progress and needs documentation; you need to understand what a branch does at product and architecture level; onboarding to someone elses feature branch.
Run `npx skills add blader/schematic --skill schematic -a claude-code`. Or copy the skill folder (the blader/schematic repository) into .claude/skills/schematic in your project. Claude Code loads it when a task matches its description.
Run `npx skills add blader/schematic --skill schematic -a codex`. Or copy the skill folder (the blader/schematic repository) into .agents/skills/schematic in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add blader/schematic --skill schematic -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/schematic, .gemini/skills/schematic, .github/skills/schematic and .opencode/skills/schematic in your project.
Going by SKILL.md and its folder, Schematic needs the command-line tools its instructions call (git and gh).
SKILL.md contains no URLs. Its commands use git and gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
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.
Schematic is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.2k tokens (SKILL.md is roughly 8.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Schematic: App Spec Packager (instructa/agent-skills, 139 stars), Foreman Plan (VisionForge-OU/foreman, 443 stars), Cabloy Spec Generation (cabloy/cabloy, 982 stars) and Ad Archive (alexandremendoncaalvaro/CorridorKey-Runtime, 755 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
blader (a GitHub user) maintains it in blader/schematic, which has 240 GitHub stars. The repository was last updated on March 11, 2026.
Source: blader/schematic on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.