spec-mode
Skill0 starsChanged 2 months agoMITView on GitHub
Autonomous ChatGPT WebUI specification work that converts settled planning decisions into a coherent, implementation-ready spec, preferably using the target project's existing OpenSpec schema.
In this repository6 other files it gives its agents.
- dev-modeSkill
- intent-modeSkill
- plan-modeSkill
- seo-aiseoSkill
- video-watchSkill
- visual-chatSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
22 rules. About 0 are common, 20 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈20
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
Start only when the important product and architecture decisions are already settled.
- Distinctive: line 19
If a material decision is genuinely unresolved, do not invent it.
- Distinctive: line 25
If the target project already uses OpenSpec:
- Distinctive: line 28
follow the project's active schema and artifact graph.
- Distinctive: line 30
update artifacts coherently in whichever direction a change requires.
- Very specific: line 32
Do not assume every OpenSpec project uses literal proposal.md, specs/, design.md, and tasks.md files.
- Distinctive: line 36
If OpenSpec CLI access is available, prefer its status/configuration output over guessing paths.
- Distinctive: line 40
If the project does not already define a specification system, use the default OpenSpec-style shape:
- Distinctive: line 59
Keep acceptance evidence explicit.
- Distinctive: line 68
Do not turn implementation guesses into requirements.
- Distinctive: line 79
keep scope aligned with the Plan Mode handoff.
- Distinctive: line 81
Do not repeatedly ask the user to approve routine specification details that are derivable from settled decisions and project facts.
- Distinctive: line 93
If new evidence changes the implementation route without changing intent, update the design coherently.
- Distinctive: line 95
If new evidence changes the intended behavior, scope, or user-visible contract, stop that branch and request a planning decision instead of …
- Distinctive: line 111
Before declaring completion, perform a coherence pass across all artifacts.
- Distinctive: line 117
Keep the canonical spec in the target project's existing source of truth whenever writes are authorized.
- Distinctive: line 129
Do not create a parallel shadow spec merely to checkpoint progress.
- Distinctive: line 137
Treat 64 as an observed GitHub connector boundary, not a universal guarantee.
- Very specific: line 163
When the user sends continue, resume the exact unfinished operation.
- Distinctive: line 185
Do not ask the user to restate information that exists in the repository or durable artifacts.
- Distinctive: line 189
When ready, report compactly:
- Distinctive: line 197
Do not start implementation merely because the specification is complete.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Spec Mode
Turn settled decisions into a buildable specification.
Spec Mode is not another planning interview. The default behavior is autonomous: inspect the project, resolve factual gaps, write or refine the specification, verify coherence, and continue until the spec is ready for implementation.
Entry condition
Start only when the important product and architecture decisions are already settled.
Recover the latest Plan Mode handoff and the target project's current state before doing new work.
If a material decision is genuinely unresolved, do not invent it. Record the exact decision needed and hand it back to Plan Mode.
Minor factual gaps are not planning questions. Retrieve the facts yourself.
Prefer the project's real specification system
If the target project already uses OpenSpec:
- inspect its existing
openspec/structure and configuration; - follow the project's active schema and artifact graph;
- preserve existing naming and conventions;
- update artifacts coherently in whichever direction a change requires.
Do not assume every OpenSpec project uses literal proposal.md, specs/, design.md, and tasks.md files.
Current OpenSpec is schema-driven.
If OpenSpec CLI access is available, prefer its status/configuration output over guessing paths.
Default when no schema exists
If the project does not already define a specification system, use the default OpenSpec-style shape:
proposal
↓
specs
↓
design
↓
tasksConceptually:
- Proposal — why the change exists, scope, non-goals, impact;
- Specs — observable requirements and concrete scenarios;
- Design — architecture, interfaces, data flow, constraints, tradeoffs;
- Tasks — implementation slices derived from the settled design.
Keep acceptance evidence explicit.
For behavioral requirements, prefer concrete scenarios such as:
WHEN <condition or action>
THEN <observable outcome>Do not turn implementation guesses into requirements.
Work autonomously
Once the input decisions are sufficient:
- inspect relevant repository files before specifying their replacement;
- research current APIs, libraries, constraints, and external facts when needed;
- reconcile the spec against the actual codebase;
- identify migrations, compatibility concerns, tests, rollout constraints, and failure states;
- eliminate contradictions between artifacts;
- keep scope aligned with the Plan Mode handoff.
Do not repeatedly ask the user to approve routine specification details that are derivable from settled decisions and project facts.
Preserve the decision boundary
Use this rule:
retrievable fact → retrieve it
implementation detail inside settled behavior → specify it
material product/scope decision → return to Plan ModeIf new evidence changes the implementation route without changing intent, update the design coherently.
If new evidence changes the intended behavior, scope, or user-visible contract, stop that branch and request a planning decision instead of silently rewriting intent.
Definition of ready
The specification is implementation-ready when:
- scope and non-goals are explicit;
- requirements are observable and non-contradictory;
- important edge cases and failure behavior are covered;
- architecture and interfaces are clear enough to implement;
- tasks are derived from the design rather than invented independently;
- acceptance criteria are testable;
- repository facts used by the spec match the current project;
- unresolved product decisions are empty or explicitly deferred;
- Dev Mode can start without reconstructing intent from chat history.
Before declaring completion, perform a coherence pass across all artifacts.
Durable state
Spec Mode may span multiple WebUI turns.
Keep the canonical spec in the target project's existing source of truth whenever writes are authorized.
A continuation checkpoint must preserve:
- target project/repository;
- specification/change identifier;
- artifacts completed;
- artifacts still incomplete;
- evidence/research already gathered;
- unresolved blockers;
- exact next operation.
Do not create a parallel shadow spec merely to checkpoint progress.
Tool-budget continuity
ChatGPT WebUI may hard-stop a tool-heavy assistant turn.
Observed on 2026-09-18: a GitHub-connector-heavy turn stopped at exactly 64 connector calls before a normal assistant final reply.
Treat 64 as an observed GitHub connector boundary, not a universal guarantee.
For GitHub-heavy Spec Mode turns:
- 1–48 connector calls: normal;
- 49–54: keep durable state current;
- around 56: preferred voluntary checkpoint;
- 57–60: finish only useful atomic work or secure state;
- 61–63: close out and checkpoint;
- 64: do not intentionally reach it.
For other tools or future WebUI behavior, adapt conservatively.
At the voluntary stop:
- save the canonical work first;
- record the exact unfinished operation;
- end with:
╭─ TOOL BUDGET ──────────────╮
│ 🟡 checkpoint saved │
│ → send: continue │
╰─────────────────────────────╯When the user sends continue, resume the exact unfinished operation. Do not restart repository discovery, reread everything indiscriminately, or regenerate completed artifacts.
Fresh-session recovery
When invoked as:
continue spec on <repo>first reload this skill.
Then recover:
- the target repository and current branch/change state;
- the existing spec/OpenSpec artifacts;
- the latest durable checkpoint or Plan Mode handoff;
- completed versus unfinished specification work;
- the exact next operation.
Resume from there.
Do not ask the user to restate information that exists in the repository or durable artifacts.
Completion
When ready, report compactly:
- specification/change identifier;
- canonical artifact locations;
- important deferred items, if any;
- evidence that the spec is coherent;
- that it is ready for Dev Mode.
Do not start implementation merely because the specification is complete.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

