Slash Command

/settings

Install
1
Install the plugin
$
npx claudepluginhub mwguerra/claude-code-plugins --plugin article-writer

Want just this command?

Add to a custom plugin, then install with one command.

Description

View and manage global settings including companion project defaults for each companion project type

Argument
<show [type] | set <path> <value> | reset | reset-type <type>>
Allowed Tools
Bash(bun:*)
Command Content

Settings - Global Configuration

Manage global settings for the article-writer plugin, including article word limits and companion project defaults.

Database: .article_writer/article_writer.db Schema: .article_writer/schemas/settings.schema.json Documentation: docs/COMMANDS.md

Article Limits

The article_limits section defines hard limits that apply to ALL articles:

SettingTypeDescription
max_wordsintegerMaximum 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.

Commands

Show all settings

/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.

Show specific companion project type

/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.

Set a value

/article-writer:settings set <path> <value>

Runs: bun run "${CLAUDE_PLUGIN_ROOT}"/scripts/config.ts set <path> <value>

Common paths:

PathExample Value
article_limits.max_words3000
code.technologies'["Laravel 11", "Pest 3", "SQLite"]'
code.has_teststrue
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"]'

Reset all settings

/article-writer:settings reset

Runs: bun run "${CLAUDE_PLUGIN_ROOT}"/scripts/config.ts reset

Resets all settings to plugin defaults.

Reset one companion project type

/article-writer:settings reset-type code
/article-writer:settings reset-type document

Runs: bun run "${CLAUDE_PLUGIN_ROOT}"/scripts/config.ts reset-type <type>

Companion Project Types

TypeDefault TechnologiesHas TestsUse For
codeLaravel 12, Pest 4, SQLiteYesFull application companion projects
nodeNode.js, npmNoNode.js applications
pythonPython 3NoPython scripts/applications
documentMarkdownNoTemplates, guides
diagramMermaidNoArchitecture diagrams
templateMarkdown, YAMLNoReusable file templates
datasetJSON, CSV, SQLNoSample data + schemas
configDocker, YAMLNoDocker/infrastructure
scriptBash, ShellNoAutomation scripts
spreadsheetExcel, CSVNoSpreadsheets with formulas
other(none)NoAnything else

Configurable Fields Per Type

FieldTypeDescription
technologiesarrayDefault tech stack
has_testsbooleanInclude tests by default
pathstringDefault companion project folder
scaffold_commandstringCommand to create base project
post_scaffoldarrayCommands after scaffolding
setup_commandsarrayUser setup commands
run_commandstringCommand to run companion project
run_instructionsstringFull run instructions
test_commandstringCommand to run tests
file_structurearrayExpected files/folders
env_setupobjectEnvironment variables
notesstringNotes for this type

How Defaults Are Merged

When creating a companion project:

  1. System reads article's companion_project.type (e.g., "code")
  2. Loads defaults for that type from settings
  3. Merges with article-specific values
  4. Article values always override defaults
settings 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"

Examples

View code defaults

/article-writer:settings show code

Change Laravel version

/article-writer:settings set code.technologies '["Laravel 11", "Pest 3", "SQLite"]'

Use PostgreSQL instead of SQLite

/article-writer:settings set code.technologies '["Laravel 12", "Pest 4", "PostgreSQL"]'

Disable tests by default

/article-writer:settings set code.has_tests false

Custom scaffold command

/article-writer:settings set code.scaffold_command "composer create-project laravel/laravel:^11.0 code"

Reset code defaults only

/article-writer:settings reset-type code

Word Limit Examples

Set max words to 2000

/article-writer:settings set article_limits.max_words 2000

Set max words to 5000 (for deep-dives)

/article-writer:settings set article_limits.max_words 5000

View current word limit

bun run "${CLAUDE_PLUGIN_ROOT}"/scripts/show.ts settings
Stats
Stars18
Forks5
Last CommitFeb 17, 2026
Actions

Other plugins with /settings