Skip to content
blueprints-maintenance logo

Maintaining Technical Blueprints

blueprints-maintenance

Use after modifying existing systems to update blueprint documentation. Read blueprints with read_blueprint before changes, update with write_blueprint after. Prevents documentation drift.

SKILL.md

Full skill instructions

Maintaining Technical Blueprints

The Sync Problem

Documentation drifts from implementation when:

  • Code changes without doc updates
  • New features added without documentation
  • Deprecated features remain documented
  • Behavior changes aren't reflected

Verification Process

Before Making Changes

  1. Read existing blueprint using MCP tools:

    // Find the blueprint
    const results = await search_blueprints({ keyword: "auth" });
    
    // Read it to understand current documentation
    const blueprint = await read_blueprint({ name: "authentication" });
    
  2. Note what documentation exists:

    • Overview accurate?
    • API documentation complete?
    • Behavior described correctly?
  3. Plan documentation updates alongside code changes

After Making Changes

  1. Re-read the blueprint to verify accuracy:

    const current = await read_blueprint({ name: "authentication" });
    
  2. Verify each section:

    • Does Overview still describe the purpose?
    • Are all public APIs documented?
    • Is behavior description accurate?
    • Are file paths still correct?
  3. Update using MCP tool:

    await write_blueprint({
      name: "authentication",
      summary: "Updated summary if needed",
      content: updatedContent
    });
    
  4. Remove stale content - outdated docs mislead

Types of Updates

Adding New Features

When adding functionality:

  1. Update the Overview if scope expanded
  2. Add new API documentation
  3. Document new behavior
  4. Update Related Systems if new integrations
  5. Add to Files section if new files created

Modifying Existing Features

When changing behavior:

  1. Update behavior descriptions
  2. Revise API documentation if signatures changed
  3. Update examples if usage changed
  4. Check related blueprints for impact

Removing Features

When deprecating or removing:

  1. Remove API documentation
  2. Remove from behavior section
  3. Update Overview if scope reduced
  4. Consider keeping a "Removed" or "History" note if the change is significant

Refactoring

When restructuring without behavior changes:

  1. Update Files section with new paths
  2. Update Architecture if structure changed
  3. Verify examples still work
  4. API documentation usually unchanged

Documentation Debt

Recognizing Debt

Signs blueprints need attention:

  • File paths that don't exist
  • Functions that aren't in the codebase
  • Behavior that doesn't match reality
  • Missing documentation for visible features

Paying Down Debt

Prioritize by impact:

  1. Critical: Public APIs with wrong docs
  2. High: Core systems undocumented
  3. Medium: Internal systems outdated
  4. Low: Minor inaccuracies

Verification Checklist

When reviewing blueprints:

## Verification Checklist

- [ ] Overview matches current purpose
- [ ] All public APIs documented
- [ ] API signatures accurate
- [ ] Examples execute correctly
- [ ] Behavior matches implementation
- [ ] File paths exist
- [ ] No removed features documented
- [ ] Related systems links work
- [ ] No duplicate content with other blueprints

Keeping Blueprints Fresh

During Development

  • Treat docs as part of the feature
  • Update blueprint in same commit as code
  • Review blueprint changes in code review

Regular Maintenance

  • Periodically audit blueprints vs code
  • Use /​blueprints command to regenerate
  • Remove orphaned blueprint files

Tooling Support

The hashi-blueprints hooks automatically:

  • Remind you to check docs (UserPromptSubmit)
  • Verify docs match changes (Stop hook)

Anti-Patterns

Don't

  • Leave TODO comments in blueprints indefinitely
  • Copy implementation details that will change
  • Document external libraries (link instead)
  • Keep deprecated feature docs "for reference"

Do

  • Delete stale content immediately
  • Update atomically with code
  • Cross-reference rather than duplicate
  • Keep examples minimal but complete

More Productivity & Planning skills

brainstorming logo
Productivity & Planning

brainstorming

Structured design dialogue that validates ideas before implementation begins.

295.4K 385.7K
View
ui-ux-pro-max logo
Productivity & Planning

ui-ux-pro-max

Comprehensive design intelligence for web and mobile UI/UX across 10 technology stacks.

133.1K 383.9K
View
writing-plans logo
Productivity & Planning

writing-plans

Comprehensive implementation plans for multi-step tasks, breaking down specs into bite-sized, testable steps.

295.4K 268K
View
using-superpowers logo
Productivity & Planning

using-superpowers

Introduction to the obra skills system with mandatory skill invocation rules and best practices.

295.4K 259.8K
View
executing-plans logo
Productivity & Planning

executing-plans

Execute a written implementation plan with critical review and task checkpoints.

295.4K 229.1K
View
dispatching-parallel-agents logo
Productivity & Planning

dispatching-parallel-agents

Delegate independent tasks to specialized agents working concurrently with isolated context.

295.4K 206.3K
View
using-git-worktrees logo
Productivity & Planning

using-git-worktrees

Isolated git worktrees with smart directory selection and safety verification.

295.4K 205.2K
View
webapp-testing logo
Productivity & Planning

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

179.7K 170.6K
View
content-strategy logo
Productivity & Planning

content-strategy

Plan searchable and shareable content that drives traffic, builds authority, and generates leads.

53.3K 150.9K
View
repo-intake-and-plan logo
Productivity & Planning

repo-intake-and-plan

README-first repository scanner that extracts commands and classifies reproduction candidates without executing them.

497 139.6K
View
marketing-ideas logo
Productivity & Planning

marketing-ideas

Brainstorm and prioritize marketing strategies tailored to your SaaS stage, budget, and goals.

53.3K 137.2K
View
site-architecture logo
Productivity & Planning

site-architecture

Plan and optimize your website's page hierarchy, navigation, URL structure, and internal linking.

53.3K 112.8K
View

Productivity AI tools

Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View
SaveDay logo
Productivity

SaveDay

Capture, organize, and utilize your knowledge effortlessly.

Free
View
Any Summary logo
Productivity

Any Summary

Instant Summaries of Audio & Video Interviews with AnySummary

Freemium
View
M
Productivity

Map This

Transform PDFs into engaging mind maps.

Freemium
View
ChatPDF logo
Productivity

ChatPDF

Chat with any PDF instantly

Free
View
I
Productivity

intellisay

Create an optimal daily plan using your voice

Paid
View
A
Productivity

Aurora AI

A productivity platform to centralize organizational knowledge and workflows with contextual AI assistance.

Paid
View
AskYourPDF logo
Productivity

AskYourPDF

AskYourPDF Pricing Plans: Tailored to Your Needs

Free
View