View and manage global settings including companion project defaults for each companion project type
Manages global plugin settings including article word limits and companion project defaults.
/plugin marketplace add mwguerra/claude-code-plugins/plugin install article-writer@mwguerra-marketplace<show [type] | set <path> <value> | reset | reset-type <type>>Manage global settings for the article-writer plugin, including article word limits and companion project defaults.
File location: .article_writer/settings.json
Schema: .article_writer/schemas/settings.schema.json
Documentation: docs/COMMANDS.md
The article_limits section defines hard limits that apply to ALL articles:
| Setting | Type | Description |
|---|---|---|
max_words | integer | Maximum word count for article prose (excludes frontmatter and code blocks) |
Default: 3000 words
Articles exceeding max_words are automatically condensed during the Condense phase while preserving quality, flow, and author voice.
/article-writer:settings show
Runs: bun run "${CLAUDE_PLUGIN_ROOT}"/scripts/show.ts settings
Shows summary table of all companion project types with technologies and test settings.
/article-writer:settings show code
/article-writer:settings show document
/article-writer:settings show diagram
Runs: bun run "${CLAUDE_PLUGIN_ROOT}"/scripts/show.ts settings <type>
Shows full details: technologies, scaffold command, setup commands, run instructions, file structure.
/article-writer:settings set <path> <value>
Runs: bun run "${CLAUDE_PLUGIN_ROOT}"/scripts/config.ts set <path> <value>
Common paths:
| Path | Example Value |
|---|---|
article_limits.max_words | 3000 |
code.technologies | '["Laravel 11", "Pest 3", "SQLite"]' |
code.has_tests | true |
code.scaffold_command | "composer create-project laravel/laravel:^11.0 code" |
code.run_command | "php artisan serve" |
code.test_command | "vendor/bin/pest" |
document.technologies | '["Markdown", "AsciiDoc"]' |
/article-writer:settings reset
Runs: bun run "${CLAUDE_PLUGIN_ROOT}"/scripts/config.ts reset
Resets all settings to plugin defaults.
/article-writer:settings reset-type code
/article-writer:settings reset-type document
Runs: bun run "${CLAUDE_PLUGIN_ROOT}"/scripts/config.ts reset-type <type>
| Type | Default Technologies | Has Tests | Use For |
|---|---|---|---|
code | Laravel 12, Pest 4, SQLite | Yes | Full application companion projects |
document | Markdown | No | Templates, guides |
diagram | Mermaid | No | Architecture diagrams |
template | Markdown, YAML | No | Reusable file templates |
dataset | JSON, CSV, SQL | No | Sample data + schemas |
config | Docker, YAML | No | Docker/infrastructure |
script | Bash, Shell | No | Automation scripts |
spreadsheet | Excel, CSV | No | Spreadsheets with formulas |
other | (none) | No | Anything else |
| Field | Type | Description |
|---|---|---|
technologies | array | Default tech stack |
has_tests | boolean | Include tests by default |
path | string | Default companion project folder |
scaffold_command | string | Command to create base project |
post_scaffold | array | Commands after scaffolding |
setup_commands | array | User setup commands |
run_command | string | Command to run companion project |
run_instructions | string | Full run instructions |
test_command | string | Command to run tests |
file_structure | array | Expected files/folders |
env_setup | object | Environment variables |
notes | string | Notes for this type |
When creating a companion project:
companion_project.type (e.g., "code")settings.jsonsettings.json defaults + article companion_project = final companion_project
────────────────────── ────────────────────────── ────────────────────────
technologies: [Laravel 12] technologies: [L11] technologies: [L11]
has_tests: true (not specified) has_tests: true
run_instructions: "..." run_instructions: "X" run_instructions: "X"
/article-writer:settings show code
/article-writer:settings set code.technologies '["Laravel 11", "Pest 3", "SQLite"]'
/article-writer:settings set code.technologies '["Laravel 12", "Pest 4", "PostgreSQL"]'
/article-writer:settings set code.has_tests false
/article-writer:settings set code.scaffold_command "composer create-project laravel/laravel:^11.0 code"
/article-writer:settings reset-type code
/article-writer:settings set article_limits.max_words 2000
/article-writer:settings set article_limits.max_words 5000
jq '.article_limits.max_words' .article_writer/settings.json