Update Code-Spec - Capture Executable Contracts
CommunityTurn learnings into executable code contracts
Software Engineering#testing#documentation#contracts#api-signatures#developer-guidance#code-spec#error-matrix
AuthorLinXueyuanStdio
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It prevents valuable implementation knowledge from being lost by ensuring new findings, bug fixes, and design decisions are captured as executable code-specs with concrete signatures, payload fields, and testable error behavior.
Core Features & Use Cases
- Guided code-spec updates: Converts what you learned into a spec update that includes scope, signatures, contracts, validation/error matrices, and test requirements.
- Contract-first rigor: Enforces code-spec depth whenever changes affect commands/APIs, cross-layer contracts, database schema/migrations, or infra integrations.
- Practical quality assurance: Ensures each update provides good/base/bad cases and at least one wrong-vs-correct example so future AI/developers can implement safely and consistently.
Quick Start
Run the command after finishing a bug fix or feature implementation to update the relevant spec documents with the required seven-section contract format.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: Update Code-Spec - Capture Executable Contracts Download link: https://github.com/LinXueyuanStdio/viben/archive/main.zip#update-code-spec-capture-executable-contracts Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.