From 6e5a11ab7434a1a24f5fb135dae09869bbc096fa Mon Sep 17 00:00:00 2001 From: neo Date: Tue, 10 Feb 2026 15:09:30 +0800 Subject: [PATCH 1/2] fix: resolve markdownlint issues in documentation - Remove trailing whitespace from inline code - Add blank line before table - Fix heading levels to ensure proper hierarchy - Convert bare URLs to markdown links --- commands/multi-execute.md | 2 +- commands/multi-plan.md | 2 +- commands/multi-workflow.md | 2 +- commands/pm2.md | 5 +++-- skills/nutrient-document-processing/SKILL.md | 2 +- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/commands/multi-execute.md b/commands/multi-execute.md index 6e7ac824..cc5c24bc 100644 --- a/commands/multi-execute.md +++ b/commands/multi-execute.md @@ -78,7 +78,7 @@ EOF", ``` **Model Parameter Notes**: -- `{{GEMINI_MODEL_FLAG}}`: When using `--backend gemini`, replace with `--gemini-model gemini-3-pro-preview ` (note trailing space); use empty string for codex +- `{{GEMINI_MODEL_FLAG}}`: When using `--backend gemini`, replace with `--gemini-model gemini-3-pro-preview` (note trailing space); use empty string for codex **Role Prompts**: diff --git a/commands/multi-plan.md b/commands/multi-plan.md index cbc37e0e..947fc953 100644 --- a/commands/multi-plan.md +++ b/commands/multi-plan.md @@ -37,7 +37,7 @@ EOF", ``` **Model Parameter Notes**: -- `{{GEMINI_MODEL_FLAG}}`: When using `--backend gemini`, replace with `--gemini-model gemini-3-pro-preview ` (note trailing space); use empty string for codex +- `{{GEMINI_MODEL_FLAG}}`: When using `--backend gemini`, replace with `--gemini-model gemini-3-pro-preview` (note trailing space); use empty string for codex **Role Prompts**: diff --git a/commands/multi-workflow.md b/commands/multi-workflow.md index bdcdab95..c6e8e4ba 100644 --- a/commands/multi-workflow.md +++ b/commands/multi-workflow.md @@ -66,7 +66,7 @@ EOF", ``` **Model Parameter Notes**: -- `{{GEMINI_MODEL_FLAG}}`: When using `--backend gemini`, replace with `--gemini-model gemini-3-pro-preview ` (note trailing space); use empty string for codex +- `{{GEMINI_MODEL_FLAG}}`: When using `--backend gemini`, replace with `--gemini-model gemini-3-pro-preview` (note trailing space); use empty string for codex **Role Prompts**: diff --git a/commands/pm2.md b/commands/pm2.md index 75d63490..643588b6 100644 --- a/commands/pm2.md +++ b/commands/pm2.md @@ -247,6 +247,7 @@ After all files generated, output: ## PM2 Init Complete **Services:** + | Port | Name | Type | |------|------|------| | {port} | {name} | {type} | @@ -254,10 +255,10 @@ After all files generated, output: **Claude Commands:** /pm2-all, /pm2-all-stop, /pm2-{port}, /pm2-{port}-stop, /pm2-logs, /pm2-status **Terminal Commands:** -# First time (with config file) +## First time (with config file) pm2 start ecosystem.config.cjs && pm2 save -# After first time (simplified) +## After first time (simplified) pm2 start all # Start all pm2 stop all # Stop all pm2 restart all # Restart all diff --git a/skills/nutrient-document-processing/SKILL.md b/skills/nutrient-document-processing/SKILL.md index eeb7a34c..2302802f 100644 --- a/skills/nutrient-document-processing/SKILL.md +++ b/skills/nutrient-document-processing/SKILL.md @@ -9,7 +9,7 @@ Process documents with the [Nutrient DWS Processor API](https://www.nutrient.io/ ## Setup -Get a free API key at **https://dashboard.nutrient.io/sign_up/?product=processor** +Get a free API key at **[nutrient.io](https://dashboard.nutrient.io/sign_up/?product=processor)** ```bash export NUTRIENT_API_KEY="pdf_live_..." From dfd9959540f8da7d5d34bb42f494ac88d410f69c Mon Sep 17 00:00:00 2001 From: neo Date: Tue, 10 Feb 2026 15:17:33 +0800 Subject: [PATCH 2/2] fix: use 4-backtick fences for nested code blocks Use quadruple backticks to properly fence markdown content containing triple-backtick code blocks, resolving markdownlint MD041 violations. --- commands/pm2.md | 52 ++++++++++++++++++++++++------------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/commands/pm2.md b/commands/pm2.md index 643588b6..27e614d7 100644 --- a/commands/pm2.md +++ b/commands/pm2.md @@ -107,68 +107,68 @@ proc.on('close', (code) => process.exit(code)); ## Command File Templates (Minimal Content) ### pm2-all.md (Start all + monit) -```markdown +````markdown Start all services and open PM2 monitor. -\`\`\`bash +```bash cd "{PROJECT_ROOT}" && pm2 start ecosystem.config.cjs && start wt.exe -d "{PROJECT_ROOT}" pwsh -NoExit -c "pm2 monit" -\`\`\` ``` +```` ### pm2-all-stop.md -```markdown +````markdown Stop all services. -\`\`\`bash +```bash cd "{PROJECT_ROOT}" && pm2 stop all -\`\`\` ``` +```` ### pm2-all-restart.md -```markdown +````markdown Restart all services. -\`\`\`bash +```bash cd "{PROJECT_ROOT}" && pm2 restart all -\`\`\` ``` +```` ### pm2-{port}.md (Start single + logs) -```markdown +````markdown Start {name} ({port}) and open logs. -\`\`\`bash +```bash cd "{PROJECT_ROOT}" && pm2 start ecosystem.config.cjs --only {name} && start wt.exe -d "{PROJECT_ROOT}" pwsh -NoExit -c "pm2 logs {name}" -\`\`\` ``` +```` ### pm2-{port}-stop.md -```markdown +````markdown Stop {name} ({port}). -\`\`\`bash +```bash cd "{PROJECT_ROOT}" && pm2 stop {name} -\`\`\` ``` +```` ### pm2-{port}-restart.md -```markdown +````markdown Restart {name} ({port}). -\`\`\`bash +```bash cd "{PROJECT_ROOT}" && pm2 restart {name} -\`\`\` ``` +```` ### pm2-logs.md -```markdown +````markdown View all PM2 logs. -\`\`\`bash +```bash cd "{PROJECT_ROOT}" && pm2 logs -\`\`\` ``` +```` ### pm2-status.md -```markdown +````markdown View PM2 status. -\`\`\`bash +```bash cd "{PROJECT_ROOT}" && pm2 status -\`\`\` ``` +```` ### PowerShell Scripts (pm2-logs-{port}.ps1) ```powershell @@ -213,7 +213,7 @@ Based on `$ARGUMENTS`, execute init: After generating files, append PM2 section to project's `CLAUDE.md` (create if not exists): -```markdown +````markdown ## PM2 Services | Port | Name | Type | @@ -230,7 +230,7 @@ pm2 logs / pm2 status / pm2 monit pm2 save # Save process list pm2 resurrect # Restore saved list ``` -``` +```` **Rules for CLAUDE.md update:** - If PM2 section exists, replace it