Slash Command260 repo starsupdated 16d ago
review
The review command executes a comprehensive local quality gate that lints YAML workflows, validates Python syntax across specified directories, checks Markdown links, and optionally audits Python dependencies for security vulnerabilities. Use this before pushing commits to catch formatting errors, broken references, and dependency issues early in the development workflow.
Install in Claude Code
Copymkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/borghei/Claude-Skills/HEAD/.claude/commands/review.md -o ~/.claude/commands/review.mdThen start a new Claude Code session; the slash command loads automatically.
Definition
review.md
Perform a complete review pass:
1. Save work in progress and ensure the working tree is clean except for intentional changes.
2. Install tooling (only first run):
```bash
pip install --upgrade pip
pip install yamllint==1.35.1 check-jsonschema==0.28.4 safety==3.2.4
npm install --global markdown-link-check@3.12.2
```
3. Lint sample GitHub workflows (if present):
```bash
yamllint -d '{extends: default, rules: {line-length: {max: 160}}}' templates/workflows/*.yml
```
4. Python syntax check:
```bash
python -m compileall marketing product-team c-level-advisor engineering ra-qm-team
```
5. Markdown sanity check:
```bash
markdown-link-check README.md
```
6. Optional dependency audit (if `requirements*.txt` present):
```bash
for f in $(find . -name "requirements*.txt" 2>/dev/null); do
safety check --full-report --file "$f"
done
```
7. Summarize results in the commit template's Testing section. Fix any failures before continuing.More from this repository
changelog-managerSubagent
>-
code-reviewerSubagent
>-
doc-generatorSubagent
>-
git-workflowSubagent
>-
qa-engineerSubagent
>-
security-auditorSubagent
>-
a11y-auditSlash Command
Run an accessibility audit on the current project for WCAG compliance.
code-to-prdSlash Command
Reverse-engineer a Product Requirements Document from existing code.