Skip to content
Back to skills

Spec

ASecurity

Takes a loose idea and transforms it into a structured, actionable spec ready for implementation. Use when the user passes an idea, feature request, or problem description that needs scoping before building.

  • 56 stars
  • 0 votes
  • 0 copies
  • 7 views
  • Added September 3, 2026
ai-agentsgodebugging

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add griffinwork40/agent-afk --skill spec --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Spec?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Spec
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/griffinwork40-spec/badge)](https://www.skillsdirectory.com/skills/griffinwork40-spec)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: spec
description: "Takes a loose idea and transforms it into a structured, actionable spec ready for implementation. Use when the user passes an idea, feature request, or problem description that needs scoping before building."
argument-hint: "<idea or feature request>"
context: fork
---

## Triage: bugs route to /diagnose

Before speccing, detect bug-shaped inputs: crashes, error stacks, regression reports ("worked yesterday", "used to work"), platform-specific failures ("broken on X", "doesn't work when…"), or user-report framing that implies root-cause-first (not design-first). If detected, stop and redirect: *"This is a debugging task, not a spec task. Route to /diagnose instead — it will isolate the root cause, then /spec can scope the fix."* Do not emit a spec.

---

Dispatch two sub-agents in parallel. One researches the web for prior art, comparable approaches, and patterns relevant to $ARGUMENT. The other inspects the local working directory for conventions, existing artifacts, and integration points relevant to the domain. When both return, synthesize a concise spec using the domain-appropriate schema below. Present to the user for confirmation before proceeding.

**Output schema by domain:**

| Domain | Spec fields |
|--------|-------------|
| `software` | problem, goals, non-goals, approach, key decisions, interface, file plan, test plan, open questions |
| `research` | problem, hypothesis, methodology, prior art positioning, expected results, publication plan, open questions |
| `design` | problem, user needs, constraints, solution space, prototype plan, success metrics, open questions |
| `business` | opportunity, risk analysis, competitive landscape, go/no-go criteria, resource plan, open questions |
| *(other)* | problem, goals, non-goals, approach, key decisions, deliverables, validation plan, open questions |

When domain is unspecified, infer from $ARGUMENT and the working directory. If ambiguous, use the generic *(other)* schema.

## Epistemic confidence

Include an **Epistemic confidence** section at the end of every spec: summarize coverage gaps from research, flag claims that will be hard to verify, and note where human judgment will be needed.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.