mcpField
D
docs-update

docs-update

github.com/hiromailyDevelopment12837 installsUpdated 27w ago
Repository

About docs-update

docs-update is a development skill for documentation changes, with emphasis on identifying the source of truth (SSOT) before editing. It guides cross-reference checks, Markdown formatting, and avoiding duplicated information.

Key features

  1. 01Identifies SSOT documents
  2. 02Checks for duplicated information
  3. 03Guides Markdown formatting
  4. 04Reviews links and cross-references
  5. 05Includes documentation checklist

Use cases

  1. 01Editing a guideline or reference document
  2. 02Updating an SSOT and its references
  3. 03Reviewing documentation links and consistency

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/hiromaily/go-crypto-wallet --skill docs-update

After installing, type/docs-updatein Claude Code to confirm it loaded.

Details

From the project README

Documentation Update Workflow

Workflow for documentation changes with SSOT awareness.

Prerequisites

  • Use git-workflow Skill for branch, commit, and PR workflow.
  • Understand SSOT structure before editing any documentation.

SSOT Awareness

Critical: Before editing documentation, identify if the file is an SSOT or references one.

SSOT Locations
CategorySSOT LocationDescription
Agent behaviorAGENTS.mdEntry point for all agents
Agent instruction designdocs/ai/design.mdCommand/Skill/Rule architecture
Label definitionsdocs/guidelines/task-classification.mdAll label types and meanings
Label → Skill mapping.claude/skills/label-context-mapping/Operational routing
Coding conventionsdocs/guidelines/coding-conventions.mdCode style rules
Security rulesdocs/guidelines/security.mdSecurity requirements
Testing standardsdocs/guidelines/testing.mdTest requirements
Workflowdocs/guidelines/workflow.mdDevelopment workflow
SSOT Rules
  1. If editing an SSOT file: Update carefully, as other files reference it
  2. If editing a non-SSOT file: Ensure it references the SSOT, don't duplicate information
  3. If information conflicts: The SSOT is authoritative; update the referencing file

Applicable Files

PathTypeDescription
AGENTS.mdSSOTAgent behavior entry point
ARCHITECTURE.mdSSOTSystem architecture
docs/guidelines/SSOTProject guidelines and standards
docs/design/ReferenceDesign documents
docs/chains/ReferenceChain-specific documentation
docs/ai/task-contexts/ContextTask-specific procedures
internal/AGENTS.mdScoped SSOTInternal package guidelines
pkg/AGENTS.mdScoped SSOTPublic package guidelines

Documentation Hierarchy

AGENTS.md (entry point)
    │
    ├─ docs/ai/design.md (instruction system design)
    │
    ├─ docs/guidelines/ (guidelines and standards)
    │   ├─ task-classification.md (label definitions, SSOT)
    │   ├─ coding-conventions.md
    │   ├─ security.md
    │   ├─ testing.md
    │   ├─ workflow.md
    │   ├─ architecture.md
    │   ├─ code-generation.md
    │   └─ ...
    │
    └─ docs/ai/task-contexts/ (task-specific context)
        ├─ bug-fix.md, feature-add.md, etc.
        └─ chains/ (chain-specific)

Workflow

1. Identify Document Type

Before editing, determine:

  • Is this file an SSOT?
  • Does this file reference an SSOT?
  • What other files might be affected?
2. Check for Duplicated Information

If the information you're adding already exists elsewhere:

  • Find the SSOT location
  • Add a reference instead of duplicating
3. Make Changes

Follow markdown style guidelines:

  • Use ATX-style headers (#, ##, ###)
  • One blank line between sections
  • Code blocks with language specifier
  • Tables for structured data
  • Relative links within docs
4. Verify Cross-References

After changes:

  • Links work correctly
  • SSOT references are accurate
  • No information duplication
  • Consistent formatting

Markdown Style

Headers
# Top Level (document title)

## Section

### Subsection
Code Blocks

Always specify language:

```go
func example() {}
```
make go-lint

### Tables

Use tables for structured data:

```markdown
| Column 1 | Column 2 |
|----------|----------|
| Value 1  | Value 2  |
Links
  • Use relative links: [link](../path/to/file.md)
  • Verify links work after moving files
  • Update cross-references when renaming

Self-Review Checklist

  • SSOT location identified (if applicable)
  • No duplicated information
  • References point to correct SSOT
  • Markdown renders correctly
  • Links work
  • Consistent formatting
  • Tables align properly

Commit & PR

Use git-workflow skill for commits:

  • Commit type: docs
  • Scope: Optional (or target area: btc, eth, standards, etc.)

Example: docs(standards): update coding conventions for error handling

Related

Comments

Markdown supported