docs-update
Update user-facing documentation when code changes. Use when asked to update docs, review docs, handle documentation changes, run scheduled documentation tasks, or analyze recent commits for documentation needs.
What this skill does
# Documentation Bot Automatically review code changes and update user-facing documentation to keep it synchronized with the codebase. Works across documentation platforms (Mintlify, Docusaurus, GitBook, Fumadocs, etc.) and supports both monorepo and multi-repo setups. ## Workflow ### 1. Identify Significant Code Changes Determine which commits need documentation updates: - Find the default branch - Get recent commits (default: last 24 hours, or accept user-specified timeframe) - Examine each commit's changes to understand what was modified **Filter for significant changes:** - New features or capabilities - API changes (new endpoints, parameters, return values) - Breaking changes - New configuration options - New CLI commands or flags - Changes to user-facing behavior **Skip documentation for:** - Internal refactoring - Test-only changes - Minor bug fixes - Typo corrections in code - Performance optimizations without user impact Be conservative: quality over quantity. When in doubt about significance, skip the update. ### 2. Analyze Documentation Context **Locate documentation:** - Check for documentation directory in current repo (monorepo pattern) - Look for separate documentation repository in environment **Identify documentation platform:** Determine the platform by examining configuration files and directory structure (e.g., Mintlify, Docusaurus, GitBook, Fumadocs, or generic markdown). **Understand documentation style:** Read several existing documentation files to identify tone, voice, structure, code example patterns, terminology, and formatting conventions. Check for style guides or contribution documentation. ### 3. Determine Documentation Updates Map code changes to documentation needs (new content, modifications, or additions to existing content). **Guidelines:** - Prioritize user-facing changes over implementation details - Match existing documentation verbosity (some docs are comprehensive, others minimal) - Preserve existing accurate content—be strictly additive when possible - Keep content focused and avoid generic advice ### 4. Generate Documentation Changes **Match existing style:** - Use the same tone, voice, and formality level identified in step 2 - Follow the same heading structure and hierarchy - Use consistent terminology - Match code block formatting (language tags, highlighting) - Follow platform conventions (frontmatter, special syntax, custom components) ### 5. Execute or Report **Testing mode** (when user asks to "see what would change"): Output a text summary describing: - What changes were detected in commits - Which documentation files would be modified - What content would be added or changed - Rationale for why these updates are needed **Execution mode** (when running as automation): 1. Create a descriptive branch name (e.g., `docs/auto-update-YYYYMMDD`) 2. Make documentation changes to appropriate files 3. Commit with descriptive message listing the changes - Include co-author line: `Co-Authored-By: Warp <[email protected]>` 4. Push branch and create PR with description linking to relevant commits: - List which code changes triggered which documentation updates - Include commit references or URLs from source repository - Request review for accuracy and completeness ## Multi-Repository Setup When source code and documentation are in separate repositories, identify changes in the source repo, then switch to the docs repo and follow the workflow above. Reference source commits in the PR description. ## Edge Cases - If no significant changes found, report that no documentation updates are needed - If documentation platform is unclear, default to standard markdown syntax - If conflicting with existing content, preserve existing information and note conflicts for human review ## Key Principles - **Conservative**: Better to skip than clutter documentation - **Consistent**: Match existing style, tone, and structure exactly - **Contextual**: Consider the full documentation landscape, not just individual files - **Clear**: Explain significance of changes and rationale for updates - **Practical**: Focus on helping users accomplish tasks, not describing implementation
Related in Code Review
gstack
IncludedFast headless browser for QA testing and site dogfooding. Navigate pages, interact with elements, verify state, diff before/after, take annotated screenshots, test responsive layouts, forms, uploads, dialogs, and capture bug evidence. Use when asked to open or test a site, verify a deployment, dogfood a user flow, or file a bug with screenshots. (gstack)
startup-due-diligence
IncludedLegal due diligence review for seed-stage and Series A startups (US, Delaware C-Corp focus). Supports both investor and founder perspectives. Capabilities include: (1) Interactive document review and issue spotting; (2) Document request list generation; (3) Cap table and SAFE/convertible note analysis; (4) Red flag identification with severity ratings; (5) Diligence report generation. TRIGGERS: due diligence, DD, startup investment, cap table review, Series A, seed round, investor diligence, legal review startup, SAFE analysis, convertible note, 409A, founder vesting.
interview-master
IncludedThis skill should be used when the user asks to "generate interview questions", "prepare for interview", "optimize resume", "conduct mock interview", "analyze git commits for resume", "generate resume from code", "review my resume", or mentions interview preparation, career assistance, or extracting project experience from git history. Provides comprehensive interview and career development guidance for both job seekers and interviewers.
fix-issue
IncludedFixes GitHub issues using parallel analysis agents for root cause investigation, code exploration, and regression detection. Reads issue context from gh CLI, searches codebase and memory for related patterns, generates a fix with tests, and links the resolution back to the issue via PR. Includes prevention analysis to avoid recurrence. Use when debugging errors, resolving regressions, fixing bugs, or triaging issues.
sf-apex
IncludedGenerates and reviews Salesforce Apex code with 150-point scoring. TRIGGER when: user writes, reviews, or fixes Apex classes, triggers, test classes, batch/queueable/schedulable jobs, or touches .cls/.trigger files. DO NOT TRIGGER when: LWC JavaScript (use sf-lwc), Flow XML (use sf-flow), SOQL-only queries (use sf-soql), or non-Salesforce code.
swift-development
IncludedComprehensive Swift development for building, testing, and deploying iOS/macOS applications. Use when Claude needs to: (1) Build Swift packages or Xcode projects from command line, (2) Run tests with XCTest or Swift Testing framework, (3) Manage iOS simulators with simctl, (4) Handle code signing, provisioning profiles, and app distribution, (5) Format or lint Swift code with SwiftFormat/SwiftLint, (6) Work with Swift Package Manager (SPM), (7) Implement Swift 6 concurrency patterns (async/await, actors, Sendable), (8) Create SwiftUI views with MVVM architecture, (9) Set up Core Data or SwiftData persistence, or any other Swift/iOS/macOS development tasks.