/update-docs
Check and update relevant documentation for current work
$ npx -y skills add bybren-llc/safe-agentic-workflow --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/update-docs
Context preview
What this command does when you run it.
Check and update relevant documentation for current work
Command definition
update-docs.mddescription: 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
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.
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.
Other commands on safe-agentic-workflow.
- /audit-deps
Run comprehensive dependency audit
Open command - /check-docker-status
Check if {{DEV_MACHINE}} Docker environment needs updating
Open command - /check-workflow
Quick status check of current workflow state
Open command - /deploy-dev
Deploy latest Docker image to {{DEV_MACHINE}} dev environment
Open command - /dev-health
Check {{DEV_MACHINE}} dev environment health dashboard
Open command - /dev-logs
View {{DEV_MACHINE}} dev container logs
Open command

