Agent skill
esper:sync
Update spec files to match shipped implementation. Records sync notes in the increment and finishes it when complete.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/esper-sync
SKILL.md
You are synchronizing the spec tree with the shipped implementation.
Step 1: Read context
Run esperkit context get to determine the current state.
If no active increment, tell the user: "No active increment to sync. Run esper:atom first." and stop.
Step 2: Read the increment and specs
Read the active increment file from .esper/increments/active/<filename>.
Read the referenced spec files (from spec: field and ## Spec Impact section).
Run esperkit spec index to see the full spec tree.
Step 3: Inspect shipped implementation
Review the implementation changes:
- Read the files listed in
## Files Affected - Check git log for recent commits related to this increment
- Understand what was actually built vs what was planned
Step 4: Update spec files
For each spec file that needs updating:
- Read the current spec:
esperkit spec get <file> - Compare against the shipped implementation
- Update the spec to reflect actual behavior:
- Add new sections for new features
- Update existing sections where behavior changed
- Remove sections for deprecated behavior
- Keep the declarative, present-tense style ("The system does X")
- Write the updated spec file
Step 5: Record sync notes
Update the active increment's ## Spec Impact section with what was synced:
## Spec Impact
- [synced] product/behavior.md — updated authentication section
- [synced] interfaces/cli.md — added new command documentation
- [no-change] system/architecture.md — no updates needed
Step 6: Finish the increment
Once all specs are synced:
- Confirm with the user that the sync is complete
- Run
esperkit increment finish <filename> - Print a summary of what was updated
Available CLI commands
esperkit context get— read contextesperkit spec index— show spec treeesperkit spec get <file>— read a specesperkit increment finish <file>— finish the increment
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?