Agent skill
execution-module-contract
Update src/vibe_piper/execution.py safely in a strict-typed uv repo (keep types/tests/tools in sync).
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/execution-module-contract
Metadata
Additional technical details for this skill
- version
- 1
- created at
- 2026-02-01T03:53:56.454Z
- updated at
- 2026-02-01T03:53:56.454Z
SKILL.md
Purpose
Make changes to the execution layer without breaking type contracts or downstream call sites.
When To Use
- You modify
src/vibe_piper/execution.py. - You add or change execution-related types in
src/vibe_piper/types.py.
Checklist
- Identify the public contract:
- Entry points/functions/classes that callers import.
- Any result/plan/config types used across modules.
- Keep types in lockstep:
- Add/update the corresponding Protocols/type aliases/dataclasses in
src/vibe_piper/types.py. - Prefer
@dataclass(frozen=True)for value objects. - Avoid widening types (e.g., introducing
Any) in public APIs.
- Add/update the corresponding Protocols/type aliases/dataclasses in
- Error handling hygiene:
- Use explicit exception types with a clear
msg = "..."; raise ...pattern. - Re-raise with context using
raise ... from ewhen converting exceptions.
- Use explicit exception types with a clear
- Downstream safety sweep:
- Search the repo for usages of the changed symbols and update call sites.
- If you rename a public symbol, prefer an explicit rename across the codebase.
- Verification (uv-first):
uv run ruff format src testsuv run ruff check src testsuv run mypy srcuv run pytest -m "not integration"
Manual notes
This section is preserved when the skill is updated. Put human notes, caveats, and exceptions here.
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?