# Goal Spec Review

> Pre-flight audit of a /goal spec: verifies that objectives are clear and fixed, and that completion criteria are explicit and checkable BEFORE coding begins. Use when the user invokes /goal with a spec file or inline plan. If objectives are vague or success criteria are missing or unverifiable, stop and ask — do not start coding until the user has defined how 'done' will be measured. Safety check…

- **Type:** Skill
- **Install:** `agentstack add skill-marcoax-skills-goal-spec-review`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [marcoax](https://agentstack.voostack.com/s/marcoax)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [marcoax](https://github.com/marcoax)
- **Source:** https://github.com/marcoax/skills/tree/main/review/goal-spec-review

## Install

```sh
agentstack add skill-marcoax-skills-goal-spec-review
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Goal Spec Review

A 30-second audit prevents silent wrong decisions during implementation.

Skip only if the user says "skip review" or "just implement it".
**Safety checks (§ Safety) are never skippable.**

## Procedure

Invocation: `/goal implement path/to/plan.md`

1. Read the spec end-to-end. No codebase exploration yet.
2. Verify concrete claims (paths, IDs, symbols) with one quick pass.
3. **Objective gate** — objectives must be clear and fixed. If vague → stop and ask.
4. **Completion-criteria gate** — every objective needs a concrete, checkable signal of
   done (a command that passes, an observable output, a file/state that exists). If
   missing or unverifiable → stop and ask, or escalate to `grill-with-docs`. Never
   proceed on an unmeasurable goal.
5. **Safety check** (§ Safety) — block on destructive actions, sensitive-data exposure,
   or security bypasses.
6. Output the unclear points and **wait** for answers. If clean, say so and proceed.

## Safety

Stop and require explicit approval — do not infer intent — if the spec involves:

- **Destructive actions** (delete, drop, overwrite, reset) without confirmation.
- **Sensitive-data exposure** (credentials, PII, secrets) in logs, output, or files.
- **Security violations** (bypassing auth, disabling checks, unauthorized paths).

## Language

Write the review in the same language as the spec.

## What to flag

**Rule: only flag points that change _what_ gets built, not _how_.**

- **Objectives without checkable criteria** — no definition of done, or "works correctly" / "verify manually" when an automated check is feasible.
- **Spec/code contradictions** — e.g. spec says id 56 is a time field, code shows Date.
- **Lists/mappings that don't add up** — counts, ranges, items in the wrong bucket.
- **Open questions** — anything "to decide", or two conflicting instructions in one bullet.
- **Scope edges with no decision** — e.g. "patch related files too?" needs a yes/no.
- **Dangling references** — files/IDs/symbols that don't exist in the current branch.
- **Complex transforms without a worked example** — wire↔UI, encode/decode, format conversions need an input→output example per direction.

**Don't flag:** style/naming taste, hypotheticals not in the spec, details left to your judgment, or anything one grep/read resolves — just resolve it silently.

## Output format

    ## Spec review — 

    Found  point(s) to clarify before I start:

    1. **** — .
       Why it matters: .

    Please confirm each before I proceed.

If clean: `## Spec review — ` then `No ambiguities. Starting implementation.`

Keep each point to 2 lines. **Hard cap: 7 points** — if you'd list more, recommend
`grill-with-docs`; the spec needs rework, not clarification.

## Escalation

Suggest `grill-with-docs` when completion criteria are too vague to measure, or when
there are more than 3 structural ambiguities (points that change _what_ gets built):

> The spec has several structural gaps. Want to run `grill-with-docs` for a deeper
> stress-test before I start?

Don't suggest this for cosmetic ambiguities.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [marcoax](https://github.com/marcoax)
- **Source:** [marcoax/skills](https://github.com/marcoax/skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-marcoax-skills-goal-spec-review
- Seller: https://agentstack.voostack.com/s/marcoax
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
