spec
Skill by garrytan
Turns vague requests into a precise, executable spec in five phases. Files the spec as a GitHub issue and can hand it to a spawned Claude agent. Built for engineers who need backlog-ready tickets.
Install spec
Built from the published package, never by AI.
git clone --depth 1 https://github.com/garrytan/gstack /tmp/gstack && mkdir -p ~/.claude/skills && cp -r /tmp/gstack/spec ~/.claude/skills/specRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/garrytan/gstack /tmp/gstack && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/gstack/spec ~/.gemini/antigravity-cli/skills/specAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The spec skill is a gstack skill for AI assistants. It runs an interview in five phases that pushes back on ambiguity, scope creep and premature solutions, and it produces a spec that someone unfamiliar with the codebase could execute. Phase 1 asks who, what and why, and can check GitHub for near-duplicate issues before drafting.
The finished spec is filed as a GitHub issue and archived locally. A quality-score gate runs before filing unless it is disabled, and secrets are redacted. An optional flag spawns a headless Claude run in a fresh worktree to work on the issue. The skill is aimed at developers and teams who write tickets, or who hand work to AI agents.
Written from the project's SKILL.md and checked against it.
What it can do
- Five-phase interviewAsks round by round until the request is precise, starting with who, what and why.
- Duplicate checkSearches existing GitHub issues for near-duplicates before drafting. On by default.
- Quality gateScores the draft with codex before filing. Skip it with --no-gate.
- Secret redactionRedacts secrets from the spec. This runs even when the gate is skipped.
- GitHub issue filingFiles the finished spec as a GitHub issue and archives a copy locally.
- Audit templateUses an Audit/Cleanup template instead of the standard one when --audit is set.
- Agent spawnWith --execute, runs claude -p in a fresh worktree after filing. --no-execute files only.
- Plan file outputLoads the spec into a given plan file with --plan-file.
What you need
- GitHub CLI (gh) for issue search and filing
- Claude CLI (claude) for the --execute option
- gstack skills installed under ~/.claude/skills/gstack
Try asking
- spec this out: add CSV export to the reports page
- file an issue for the flaky login test on Safari
- write up a ticket for moving user sessions to Redis
Good to know
- Does not propose or draft an issue until Phase 1 is complete.
- The quality gate uses codex and runs by default. It can be skipped with --no-gate.
- Redaction always runs, and no flag disables it.
- Execution after filing depends on the --execute and --no-execute flags.
Security check
B- Allowed to use Bash without limitsIn
SKILL.md
Checked automatically: spec/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: BashReadGrepGlobAskUserQuestionBash(~/.claude/skills/gstack/bin/gstack-skill-load:*)
-
SKILL.md29 KB -
SKILL.md.tmpl19 KB -
sections/gate-and-file.md33 KB -
sections/gate-and-file.md.tmpl20 KB -
sections/manifest.json751 B
Show all 6 files
-
sections/preamble.md1 KB
Alternatives to spec
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
spec: common questions
Does the spec skill file the issue for me?
Yes. The finished spec is filed as a GitHub issue and archived locally. Use --no-execute or --file-only to file without spawning an agent.
Can it start work on the issue after filing?
With the --execute flag, it spawns claude -p in a fresh worktree after the issue is filed.
Does it check for duplicate issues?
Yes. The dedupe check is on by default and uses gh issue list --search. Use --no-dedupe to skip it.
How do I install spec?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is spec free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is spec safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use bash without limits). Review the code before you install. How grades work.
What are alternatives to spec?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
