update-spec

Update code-specification documents with executable contracts from development insights.

Updated Feb 11, 2026
One-click install
npx skills add https://github.com/WanxiaJaneYang/mvp-agent --skill update-spec-wanxiajaneyang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-spec
Source: https://github.com/WanxiaJaneYang/mvp-agent/tree/main/.agents/skills/update-spec
Command: npx skills add https://github.com/WanxiaJaneYang/mvp-agent --skill update-spec-wanxiajaneyang

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill ensures that valuable learnings from development, debugging, and discussions are systematically captured and updated in the project's code-specification documents, maintaining institutional memory and improving future development.

Core Features & Use Cases

  • Knowledge Capture: Updates code-spec documents with design decisions, patterns, conventions, and fixes.
  • Spec Maintenance: Organizes and refines executable contracts for backend, frontend, and guides.
  • Use Case: After fixing a bug related to cross-platform script execution, use this skill to add a new convention to backend/script-conventions.md detailing the correct way to handle stdout on Windows.

Quick Start

Use the update-spec skill to add a new design decision to the relevant code-spec file.

Frequently Asked Questions about update-spec

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I document code specification conventions after fixing a bug?

To document code specification conventions after a bug fix, you update code-specification documents with executable contracts derived from development insights, capturing design decisions and forbidden patterns to maintain institutional memory.

What is an executable contract in code specification documents?

An executable contract in code specification documents is a structured record of project conventions, design decisions, and new patterns that enforces a code-spec first philosophy for implementation details and cross-layer contracts.

How do I capture development insights and gotchas into structured spec files?

You capture development insights and gotchas into structured spec files by systematically updating backend, frontend, and guide documentation with new patterns and common mistakes discovered during debugging and project discussions.

Does this code-spec first philosophy support both frontend and backend knowledge management?

Yes, the code-spec first philosophy supports both frontend and backend knowledge management by organizing and refining executable contracts within dedicated spec files for each specific layer and project guides.

What is the best way to maintain institutional memory for project conventions?

The best way to maintain institutional memory for project conventions is to systematically capture valuable learnings from development and discussions, updating structured spec files with design decisions and cross-layer contracts.

When should I update spec files with new development patterns?

You should update spec files with new development patterns immediately after fixing bugs or making design decisions, ensuring that new conventions, forbidden patterns, and gotchas are systematically captured for future reference.