update-spec

Update code-spec Markdown documents with executable contracts and learnings.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of updating code-spec documents, ensuring that valuable learnings from development and debugging sessions are captured and made accessible for future reference.

Core Features & Use Cases

  • Capture Executable Contracts: Automates the capture of executable contracts, including signatures, payload fields, and error behavior.
  • Code-Spec Updates: Facilitates the updating of code-spec documents after implementing features, fixing bugs, or discovering new patterns.
  • Use Case: After implementing a new feature, use this Skill to update the relevant code-spec documents, ensuring that future developers understand the implementation details and can maintain the codebase safely.

Quick Start

Use the update-spec skill to update the code-spec for the 'backend/error-handling.md' document after fixing a bug.

Frequently Asked Questions about update-spec

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

FAQPage Schema
How do I automate code-spec updates after fixing a bug?

To automate code-spec updates after a bug fix, use this Skill to parse Markdown content and capture executable contracts, ensuring new error behaviors and learnings are recorded for future reference.

What are executable contracts in software engineering specifications?

Executable contracts in software engineering specifications define function signatures, payload fields, and error behaviors. Capturing them in code-spec documents ensures future developers understand implementation details for safe codebase maintenance.

How do I maintain code-spec documents for a changing codebase?

Maintain code-spec documents by updating Markdown files after implementing features or fixing bugs. This Skill automates the process, capturing relevant learnings from development sessions to keep specifications accurate.

What is the best way to document error handling behavior in code specifications?

Document error handling behavior in code specifications by capturing executable contracts. This Skill automates recording signatures and error behaviors into Markdown code-spec files during development and debugging sessions.

Do I need Markdown files to automate code-spec updates?

Yes, you need Markdown files. The Skill requires access to existing code-spec files and the ability to parse and update Markdown content to automate the documentation of development learnings and contracts.

When should I update executable contracts in my code-spec documents?

Update executable contracts in code-spec documents after implementing new features, fixing bugs, or discovering new patterns. This ensures valuable learnings are captured and accessible for safe codebase maintenance.