Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .claude/commands/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,36 @@ This directory contains pre-configured commands that provide automated workflows

## Available Commands

### Maintenance

#### `repo-maintenance.md`

**Purpose**: Comprehensive repository maintenance - run all health checks and updates
**Features**:

- Environment health checks (container, DevContainer version, Claude Code)
- CI/CD setup checks (team protection, Husky, pre-PR checklist)
- Repository cleanup (branches, git gc)
- New feature discovery from config repository

**Usage**:

```
/repo-maintenance # Full maintenance
/repo-maintenance --mode quick # Quick check (no updates)
/repo-maintenance --mode check-only # Read-only checks
/repo-maintenance --skip security # Skip specific category
/repo-maintenance --create-pr # Create PR for changes
```
Comment on lines +21 to +27

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Add "bash" language identifier to usage code block.

Line 21 begins a code block showing shell usage examples that should be marked as bash.

🔎 Proposed fix
  **Usage**:

- ```
+ ```bash
  /repo-maintenance                    # Full maintenance
  /repo-maintenance --mode quick       # Quick check (no updates)
  /repo-maintenance --mode check-only  # Read-only checks
  /repo-maintenance --skip security    # Skip specific category
  /repo-maintenance --create-pr        # Create PR for changes
- ```

Committable suggestion skipped: line range outside the PR's diff.

🧰 Tools
🪛 markdownlint-cli2 (0.18.1)

21-21: Fenced code blocks should have a language specified

(MD040, fenced-code-language)

🤖 Prompt for AI Agents
In .claude/commands/README.md around lines 21 to 27 the usage example code fence
is missing a language tag; update the opening triple-backtick fence to ```bash
so the block is syntax-highlighted as bash (leave the block content and closing
``` unchanged).


**Modes**:

| Mode | Description |
| ---------- | ---------------------------------- |
| full | Run all updates and checks |
| quick | Important checks only (no updates) |
| check-only | Read-only status checks |

### Git Workflow

#### `git-sync.md`
Expand Down
Loading