Create goal
Spec-first, skill-first, goal-first coding skill pack for Codex.
npx -y skills add merllinsbeard/merlin-skills --skill create-goalAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Create a spec-kit-native Codex GOAL.md from an existing spec-kit feature directory. Adapted from AB Method's create-goal concept, but uses spec.md, plan.md, tasks.md, and constitution/checklist artifacts as the source of truth.
SKILL.md
3.3 KB, as published. Nobody here has run it
Create Goal
Create a durable Codex /goal contract from spec-kit artifacts.
This skill is the Merlin-owned bridge from Spec Kit artifacts to Codex /goal. It keeps AB Method's useful idea of a persistent GOAL.md, but replaces AB Method project structure with spec-kit feature directories.
When To Use
Use when:
- the user wants to run Codex
/goal; - a feature has
spec.md,plan.md, andtasks.md; - autonomous implementation needs a stop condition, verification loop, and stable source-of-truth list.
Do not use when the idea has no spec yet. Route to speckit-specify or brainstorming first.
Locate The Feature Directory
Find the active feature directory in this order:
.specify/feature.jsonfieldfeature_directory;- environment variable
SPECIFY_FEATURE_DIRECTORY; - the only or newest
specs/<feature>/directory; - a branch-matching
specs/<number>-<slug>/directory.
If multiple plausible directories exist, choose the one most clearly referenced by the user or current branch. Ask only if choosing would materially risk writing the wrong goal.
Required Inputs
The feature directory must contain:
spec.mdplan.mdtasks.md
Read these if present:
research.mddata-model.mdcontracts/quickstart.mdchecklists/memory/constitution.md.specify/memory/constitution.md
Refusal Conditions
Do not write GOAL.md if:
- no feature directory can be found;
- any required input is missing;
spec.mdcontains unresolved[NEEDS CLARIFICATION];plan.mdlacks a concrete technical approach or verification plan;tasks.mdis not executable as a checklist;- constitution or checklist gates are unresolved.
Report the blocking files and exact fixes needed.
Output Path
Write or update:
specs/<feature>/GOAL.md
Do not write a separate docs/goals/ tree for spec-kit projects.
GOAL.md Contract
The goal must include:
- Title and short objective.
- Source-of-truth artifact list with relative paths.
- Success criteria tied to
spec.md. - Execution rules tied to
tasks.md. - Implementation plan summary tied to
plan.md. - Verification loop: tests, quickstart, Playwright/browser proof, QA, review.
- Progress protocol: mark tasks in
tasks.md, keep evidence current. - Safety boundaries: do not change unrelated scope, preserve user-story independence, follow constitution.
- Stop condition: all tasks complete, checks pass, acceptance scenarios satisfied, no unresolved gates.
- Resume note: if interrupted, re-read this
GOAL.md,tasks.md, and latest proof before continuing.
Use templates/GOAL.md as the shape. Keep it concise enough to paste into Codex /goal.
Process
- Inspect the feature directory and required artifacts.
- Validate refusal conditions.
- Extract objective, acceptance scenarios, constraints, tasks, and verification commands.
- Write
GOAL.md. - Stop and report the output path plus any unresolved risks.
Do not start implementation from this skill. The next step is Codex /goal.