Configure documentation standard (Diátaxis, Traditional, or Custom)
Configures documentation framework standards for the project with Diátaxis, Traditional, or Custom options.
/plugin marketplace add hculap/better-code/plugin install doc-master@better-code[--reset]Configure the documentation framework for this project. First-run setup or reconfiguration of existing settings.
Read .claude/doc-master.local.md if it exists to check current settings.
If no existing configuration or --reset flag provided, ask the user to choose:
Diátaxis (Recommended) - Modern four-quadrant approach
Traditional - Hierarchical structure
Custom - Organization-specific standards
If user selects Custom:
Ask for source location:
/path/to/standards/)https://docs.company.com/style-guide)Fetch and analyze source materials:
Extract rules for:
Generate comprehensive rules in the configuration file
Ask user if documentation agents should trigger proactively:
Write configuration to .claude/doc-master.local.md:
---
standard: diataxis | traditional | custom
proactive_agents: true | false
custom_source: null | /path | https://url
---
# Project Documentation Notes
[For custom: Include extracted rules and style guide]
[For all: Space for project-specific notes]
Display summary:
/doc-master:setup --resetFirst-time setup:
User: /doc-master:setup
Assistant: Let me help you configure documentation standards for this project.
[Asks framework selection question]
[Asks proactive agents question]
[Creates configuration file]
Reconfiguration:
User: /doc-master:setup --reset
Assistant: I'll help you reconfigure your documentation standards.
Current setting: Diátaxis
[Offers new selection]
--reset flag