Install
$ agentstack add skill-marconae-speq-skill-speq-record ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Spec Recorder (Orchestrator)
This skill is a thin orchestrator. It verifies preconditions and delegates the deterministic merge work to the recorder-agent sub-agent. Recording is mechanical file surgery and does not need deep reasoning.
Required Skills (for the orchestrator)
Invoke before starting:
/speq-cli— Spec validation
The recorder-agent sub-agent invokes /speq-code-tools, /speq-cli, and /speq-git-discipline itself.
Workflow
Phase 1: Resolve Plan Name (orchestrator)
Get plan name from user prompt. If none specified, use AskUserQuestion to present a list of plans under specs/_plans/.
Phase 2: Verify Preconditions (orchestrator)
Check: specs/_plans//verification-report.md exists?
├─ Yes → Proceed
└─ No → STOP: "Run /speq-implement first."
Phase 3: Delegate to recorder-agent
Spawn the recorder sub-agent with the plan name:
Task(
subagent_type="recorder-agent",
description="Record into permanent specs",
prompt="""
## Plan Name
## Context
- Verification report confirmed at: specs/_plans//verification-report.md
- Plan file: specs/_plans//plan.md
- Delta specs: specs/_plans//**/spec.md
## Your Task
Merge all delta specs into permanent specs per the `recorder-agent` workflow.
Validate between merges. Archive the plan on success. If any library threshold
is exceeded (scenarios > 10, domain features > 8), STOP before archiving and
return a question for the user.
Return a summary of merged features and the archive path.
"""
)
Phase 4: Handle Threshold Escalations (orchestrator)
If the sub-agent returns threshold signals:
- Use
AskUserQuestionto gather user's organizational decision - Respawn
recorder-agentwith the decision, OR apply a small edit directly if the action is trivial (e.g., rename a file) - Only archive once all decisions are resolved
Phase 5: Confirm Completion (orchestrator)
Report to user:
✓ Verification report confirmed
✓ All deltas merged
✓ Spec library validated
✓ Plan archived: specs/_recorded/YYYY-MM-DD-
Work Split (reference)
| Step | Performed by | Why | |------|--------------|-----| | Precondition checks, user questions | This skill (pins Sonnet) | Lightweight orchestration | | Delta merge, validation, archive | recorder-agent sub-agent | Mechanical file surgery |
Keeping orchestrator and sub-agent separate preserves the rotation discipline: if the spec library is very large, the sub-agent can be re-spawned with a fresh context without losing orchestration state.
Anti-Patterns
| Pattern | Why Wrong | |---------|-----------| | Record without verification report | Implementation not proven | | Orchestrator merges directly | Breaks rotation / context discipline | | Assume split/domain decisions | User must confirm | | Skip validation | Broken specs may result | | Leave DELTA markers | Pollutes permanent specs |
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: marconae
- Source: marconae/speq-skill
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.