mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-05 00:33:27 +08:00
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.
This commit is contained in:
@@ -107,68 +107,68 @@ proc.on('close', (code) => process.exit(code));
|
|||||||
## Command File Templates (Minimal Content)
|
## Command File Templates (Minimal Content)
|
||||||
|
|
||||||
### pm2-all.md (Start all + monit)
|
### pm2-all.md (Start all + monit)
|
||||||
```markdown
|
````markdown
|
||||||
Start all services and open PM2 monitor.
|
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"
|
cd "{PROJECT_ROOT}" && pm2 start ecosystem.config.cjs && start wt.exe -d "{PROJECT_ROOT}" pwsh -NoExit -c "pm2 monit"
|
||||||
\`\`\`
|
|
||||||
```
|
```
|
||||||
|
````
|
||||||
|
|
||||||
### pm2-all-stop.md
|
### pm2-all-stop.md
|
||||||
```markdown
|
````markdown
|
||||||
Stop all services.
|
Stop all services.
|
||||||
\`\`\`bash
|
```bash
|
||||||
cd "{PROJECT_ROOT}" && pm2 stop all
|
cd "{PROJECT_ROOT}" && pm2 stop all
|
||||||
\`\`\`
|
|
||||||
```
|
```
|
||||||
|
````
|
||||||
|
|
||||||
### pm2-all-restart.md
|
### pm2-all-restart.md
|
||||||
```markdown
|
````markdown
|
||||||
Restart all services.
|
Restart all services.
|
||||||
\`\`\`bash
|
```bash
|
||||||
cd "{PROJECT_ROOT}" && pm2 restart all
|
cd "{PROJECT_ROOT}" && pm2 restart all
|
||||||
\`\`\`
|
|
||||||
```
|
```
|
||||||
|
````
|
||||||
|
|
||||||
### pm2-{port}.md (Start single + logs)
|
### pm2-{port}.md (Start single + logs)
|
||||||
```markdown
|
````markdown
|
||||||
Start {name} ({port}) and open logs.
|
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}"
|
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
|
### pm2-{port}-stop.md
|
||||||
```markdown
|
````markdown
|
||||||
Stop {name} ({port}).
|
Stop {name} ({port}).
|
||||||
\`\`\`bash
|
```bash
|
||||||
cd "{PROJECT_ROOT}" && pm2 stop {name}
|
cd "{PROJECT_ROOT}" && pm2 stop {name}
|
||||||
\`\`\`
|
|
||||||
```
|
```
|
||||||
|
````
|
||||||
|
|
||||||
### pm2-{port}-restart.md
|
### pm2-{port}-restart.md
|
||||||
```markdown
|
````markdown
|
||||||
Restart {name} ({port}).
|
Restart {name} ({port}).
|
||||||
\`\`\`bash
|
```bash
|
||||||
cd "{PROJECT_ROOT}" && pm2 restart {name}
|
cd "{PROJECT_ROOT}" && pm2 restart {name}
|
||||||
\`\`\`
|
|
||||||
```
|
```
|
||||||
|
````
|
||||||
|
|
||||||
### pm2-logs.md
|
### pm2-logs.md
|
||||||
```markdown
|
````markdown
|
||||||
View all PM2 logs.
|
View all PM2 logs.
|
||||||
\`\`\`bash
|
```bash
|
||||||
cd "{PROJECT_ROOT}" && pm2 logs
|
cd "{PROJECT_ROOT}" && pm2 logs
|
||||||
\`\`\`
|
|
||||||
```
|
```
|
||||||
|
````
|
||||||
|
|
||||||
### pm2-status.md
|
### pm2-status.md
|
||||||
```markdown
|
````markdown
|
||||||
View PM2 status.
|
View PM2 status.
|
||||||
\`\`\`bash
|
```bash
|
||||||
cd "{PROJECT_ROOT}" && pm2 status
|
cd "{PROJECT_ROOT}" && pm2 status
|
||||||
\`\`\`
|
|
||||||
```
|
```
|
||||||
|
````
|
||||||
|
|
||||||
### PowerShell Scripts (pm2-logs-{port}.ps1)
|
### PowerShell Scripts (pm2-logs-{port}.ps1)
|
||||||
```powershell
|
```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):
|
After generating files, append PM2 section to project's `CLAUDE.md` (create if not exists):
|
||||||
|
|
||||||
```markdown
|
````markdown
|
||||||
## PM2 Services
|
## PM2 Services
|
||||||
|
|
||||||
| Port | Name | Type |
|
| Port | Name | Type |
|
||||||
@@ -230,7 +230,7 @@ pm2 logs / pm2 status / pm2 monit
|
|||||||
pm2 save # Save process list
|
pm2 save # Save process list
|
||||||
pm2 resurrect # Restore saved list
|
pm2 resurrect # Restore saved list
|
||||||
```
|
```
|
||||||
```
|
````
|
||||||
|
|
||||||
**Rules for CLAUDE.md update:**
|
**Rules for CLAUDE.md update:**
|
||||||
- If PM2 section exists, replace it
|
- If PM2 section exists, replace it
|
||||||
|
|||||||
Reference in New Issue
Block a user