How to Execute the Developer Agent Workflow
The agent-workflow command outputs the standardized 8-step development loop for coding agents and developers working with libspec.
Running the Command
Generate workflow instructions formatted for your active environment:
Optionally specify your agent platform (antigravity, gemini, or claude):
The 9-Step Developer Agent Loop
- Edit Spec: Decompose broad requirements into granular, single-responsibility specification classes in
spec/. - Diff Spec (MANDATORY BEFORE CODING): Run
uv run libspec diff(ormcp_libspec_diff) to inspect specification drift and review mutations. - Sort Implementation Ordering: Inspect component dependencies via
uv run libspec dependenciesto sort components into topological order. - Test-Driven Development: Write unit tests for components in topological dependency order.
- Implement: Implement code to satisfy the tests.
- Run tests:
make test - Check formatting:
uv run ruff format --check - Run linter:
uv run ruff check - Code Quality & Verification: Run static analysis, type checking (
mypy), and dead code detection (vulture). - Verify Specification Sync: Run
uv run libspec diffto ensure live specs are synchronized with the final implementation. - Version Bump: Bump the project version in
pyproject.tomlaccording to Semantic Versioning (MAJOR.MINOR.PATCH) using helper target commands (make bump-patch,make bump-minor, ormake bump-major). - Commit & Present: Author a concise git commit message and present the changes.