Skip to content

Add document-feature slash command#15

Open
mubeenyasin72 wants to merge 1 commit into
juleswhite:mainfrom
mubeenyasin72:add-document-feature-command
Open

Add document-feature slash command#15
mubeenyasin72 wants to merge 1 commit into
juleswhite:mainfrom
mubeenyasin72:add-document-feature-command

Conversation

@mubeenyasin72
Copy link
Copy Markdown

Summary

  • Adds a /document-feature slash command for Claude Code
  • Generates both a developer reference (docs/dev/) and a user guide (docs/user/) for any named feature
  • Automatically captures screenshots via Playwright MCP when available
  • Adds cross-reference links between all related docs

Test plan

  • Run /document-feature <feature-name> in a project with Playwright MCP available and verify both doc files are created with screenshots
  • Run without Playwright MCP and verify placeholder comments are left in place
  • Confirm cross-references are injected into any existing docs that mention the feature

🤖 Generated with Claude Code

Adds a /document-feature command that generates both developer and user
documentation for a named feature, including screenshot automation via
Playwright MCP.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants