Interactive setup for human voice configuration
Sets up interactive configuration for AI pattern detection in project content.
/plugin marketplace add zircote/human-voice/plugin install zircote-human-voice@zircote/human-voiceInteractive configuration wizard for setting up AI pattern detection in the current project.
.claude/human-voice.local.md)Check for:
.claude/human-voice.local.md - Plugin configuration_posts, content, docs, _docs)If configuration exists:
Analyze project to suggest smart defaults:
Content Directories
docs/ directory_posts/ (Jekyll)content/ (Hugo, Gatsby)_docs/ or pages/.md or .mdx filesStatic Site Generator
_config.yml -> Jekyllconfig.toml or hugo.toml -> Hugogatsby-config.js -> Gatsbydocusaurus.config.js -> Docusaurusmkdocs.yml -> MkDocsIgnore Patterns
node_modules/, vendor/, etc.Use AskUserQuestion for structured input:
"Which directories contain content to review?"
"Which file types should be scanned?"
"Which detection tiers should be enabled?"
"How should character patterns be handled?"
"How strict should the voice review be?"
"Should fixes preview changes first?"
Generate .claude/human-voice.local.md based on responses:
---
# Human Voice Plugin Configuration
# Generated by /human-voice:setup on [date]
extensions:
[selected extensions]
content_directories:
[detected or user-specified paths]
ignore:
[detected or user-specified patterns]
detection:
character_patterns:
enabled: [true/false]
[pattern settings]
language_patterns:
enabled: [true/false]
structural_patterns:
enabled: [true/false]
voice_patterns:
enabled: [true/false]
fix:
dry_run_by_default: [true/false]
report_format: [level]
output:
verbosity: [level]
format: markdown
---
# Project Voice Notes
[Project name] Voice Guidelines
## Voice Guidelines
- [User can add project-specific context here]
## Exceptions
- [Acceptable patterns for this project]
Use Bash tool to create the .claude/ directory if it doesn't exist:
mkdir -p .claude
Use Write tool to create the configuration file at .claude/human-voice.local.md.
"Would you like to run an initial scan of your content?"
If yes:
/human-voice:review on detected content directories/human-voice:fix if character issues found## Human Voice Setup Complete
**Configuration file:** .claude/human-voice.local.md
### Detected Settings
- Content directories: [list]
- File extensions: [list]
- Ignore patterns: [list]
- Site generator: [type or none]
### Detection Configuration
- Character patterns: [enabled/disabled]
- Language patterns: [enabled/disabled]
- Structural patterns: [enabled/disabled]
- Voice patterns: [enabled/disabled]
### Fix Settings
- Dry run default: [yes/no]
- Report format: [level]
### Next Steps
1. Review the configuration file
2. Add project-specific voice notes to the markdown section
3. Run `/human-voice:review` to scan content
4. Run `/human-voice:fix` to auto-fix character issues
5. Adjust settings as needed
### Manual Editing
Edit `.claude/human-voice.local.md` directly to:
- Add custom ignore patterns
- Adjust detection sensitivity
- Add project-specific voice guidelines
- Document acceptable exceptions
The example configuration template is available at:
${CLAUDE_PLUGIN_ROOT}/templates/human-voice.local.md.example