Skip to content
Development
Command

/update-docs

Check and update relevant documentation for current work

From plugin
safe-agentic-workflow
43024 skills11 agents24 commands
$ npx -y skills add bybren-llc/safe-agentic-workflow --agent claude-code

Command definition

update-docs.md
description: Check and update relevant documentation for current work
allowed-tools: [Read, Write, Edit, Bash, Grep, Glob]

Review current work and identify documentation that needs updating per @CONTRIBUTING.md requirement: "always update docs related to the work we are doing within the PR".

Documentation Assessment

1. Identify Changes

Analyze git diff to understand scope:

git diff origin/dev --name-only

Categorize changes:

  • Architecture/workflow changes
  • New features or APIs
  • Process modifications
  • Configuration changes
  • Database schema changes

2. Required Documentation Updates

Based on changes, check if these need updates:

High-Level Docs (ALWAYS update in same PR)

  • **CLAUDE.md**: Architecture, commands, setup
  • Check if: New commands, workflow changes, tech stack updates
  • **CONTRIBUTING.md**: Development process, workflows
  • Check if: Process changes, new requirements, workflow modifications

Specialized Docs

  • **Database**: `docs/database/` (schema, RLS, migrations)
  • Check if: Schema changes, new tables, RLS patterns
  • **API Docs**: `docs/api/` (endpoints, webhooks)
  • Check if: New routes, API changes, webhook modifications
  • **Feature Docs**: `docs/` (feature-specific)
  • Check if: New features, major functionality changes

Code Documentation

  • **Inline comments**: Complex logic
  • **README**: Feature directories
  • **ADRs**: `docs/adr/` (architectural decisions)
  • Check if: Significant architecture decisions made

3. Documentation Checklist

For each doc identified:

  • [ ] Content accuracy verified
  • [ ] Examples updated
  • [ ] Commands/code samples tested
  • [ ] Links validated
  • [ ] Markdown linting passed

4. Execute Updates

For each doc needing updates:

1. Read current version 2. Identify outdated sections 3. Update with current information 4. Run `yarn lint:md:fix` 5. Add to current commit

Workflow

1. Assess changes made in current branch 2. Identify all affected documentation 3. Present list to user for confirmation 4. Execute updates for confirmed docs 5. Verify markdown linting passes 6. Report completion status

Success Criteria

  • ✅ All relevant docs identified
  • ✅ Updates made in same PR
  • ✅ Markdown linting passes
  • ✅ Documentation stays current

This ensures agentic team has accurate, up-to-date information to work effectively.

Read more
@bybren-llc
Ships withsafe-agentic-workflow

SAW — SAFe Agentic Workflow AI Agent Harness for Multi-Agent Team Workflows Built on SAFe methodology (Scaled Agile Framework), adapted for AI agent teams (Now With AI-DLC!) Works for any team with repeatable processes: Software, Marketing, Research, Legal, Operations.

43020 skills11 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
430
Star history of bybren-llc/safe-agentic-workflow on GitHub, a chart by star-history.com

Other commands on safe-agentic-workflow.

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command