cr
When user uses /cr slash command, review uncommitted code changes with reusable language-aware rules, preferring project-local review commands or rules when they exist.
Install / Use
npx skills add n9e/feInstalls into whichever agent you are using.
Claude Commands
Claude Code slash commands
Quality Score
Category
Development & EngineeringSupported Platforms
Our assessment of cr
cr scores 74/100 on our quality scale, 3735th of 4,599 Development & Engineering skills we index.
Its Claude Commands is 5.2 KB long, well organised into 17 sections with 3 code examples: a solid amount of guidance for an agent.
It has no GitHub stars yet, so there is no community track record; judge it on its content.
Maintenance, license and trust
- The repository was last updated today, so cr is actively maintained.
- Our last check on 2026-09-04 found the source still online.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 80/100, with 2 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
cr compared with similar skills
All 4 of these similar skills score higher than cr; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| cr (this skill)by n9e | 74 | 0 | today | Claude Commands |
| claude-memby thedotmack | 100 | 103.3k | today | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 102.9k | 1d ago | CLAUDE.md |
| taste-skillby Leonxlnx | 100 | 102.7k | today | CLAUDE.md |
| Understand-Anythingby Egonex-AI | 100 | 88.3k | today | CLAUDE.md |
Frequently asked questions
- How do I install cr?
- Run
npx skills add n9e/fe. The install tabs above show the steps for each supported agent. - Which AI agents does cr work with?
- It is written for Claude Code, as a Claude Commands file. Other agents that read the same format can often use it too.
- Is cr safe to use?
- It declares no license and scores 80/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is cr still maintained?
- The repository was last updated today, so cr is actively maintained.
Skill content
View source on GitHubname: cr description: 'When user uses /cr slash command, review uncommitted code changes with reusable language-aware rules, preferring project-local review commands or rules when they exist.'
/cr - Generic Code Review
When the user invokes /cr, review the current repository's uncommitted changes. This skill is intentionally generic: it focuses on review rules and changed code, not branch comparison or release workflow.
Project-Local Rules First
Before applying the generic checklist, look for project-specific review rules and prefer them when present.
Check likely locations:
find . -maxdepth 4 \( -path './node_modules' -o -path './.git' \) -prune -o \
\( -path './.cursor/commands/cr.md' -o -path './.cursor/rules' -o -name 'AGENTS.md' -o -name 'CLAUDE.md' \) -print
If a project-local /cr command or review rules exist:
- Read and apply them first.
- Use generic
/crrules only as a fallback or supplement. - In the report, state which project-local files were applied.
- If project-local rules conflict with this generic skill, project-local rules win.
Scope
Review uncommitted changes only:
git status -sb
git diff --name-status
git diff --stat
git diff
git diff --staged --name-status
git diff --staged --stat
git diff --staged
git ls-files --others --exclude-standard
Do not compare against upstream branches, merge bases, or release targets unless the user explicitly asks. If there are no staged, unstaged, or relevant untracked changes, report that there is nothing to review.
For untracked files, inspect them when they look like source, config, migration, test, or documentation files related to the change.
Language Profiles
Infer active profiles from changed files and project layout. Apply all matching profiles.
React / TypeScript Frontend
Use for ts, tsx, js, jsx, css, less, scss, route, i18n, and frontend config changes.
Focus on:
- Type safety: props, hooks, API responses, generics, casts,
any, and stale interfaces. - React behavior: hook dependencies, stale closures, memoization misuse, controlled inputs, key stability, effects with async work, and cleanup.
- Error and loading states: failed requests, empty states, retries, disabled controls, and user-facing feedback.
- Null safety: optional data, arrays, refs, DOM access, nested API fields, and conditional rendering.
- Feature flags and environment gates for new behavior.
- State consistency: React Query cache invalidation, Zustand/store updates, URL state, local storage, and cross-tab behavior.
- Layout impact: overflow, responsive behavior, fixed heights, table columns, modals, z-index, and style leakage.
- i18n: missing keys, hard-coded user-facing text, wrong locale file updates, and malformed translation keys.
- Tests: missing focused tests for changed formatting, branching, hooks, reducers, or regressions.
Go Server
Use for go, mod, sum, API, worker, cron, persistence, and service-layer changes.
Focus on:
- Error handling: ignored errors, wrapped context, retry boundaries, rollback/cleanup, and user-safe error messages.
- Context propagation:
context.Context, timeout/cancel handling, goroutine lifetime, and request-scoped values. - Nil and zero-value safety: pointer fields, map/slice access, optional config, and interface nil traps.
- Concurrency: data races, goroutine leaks, channel close/send order, lock scope, shared caches, and idempotency.
- API contracts: request validation, response compatibility, pagination, auth checks, tenant isolation, and backward compatibility.
- Database and storage: transactions, migrations, indexes, N+1 queries, scan nullability, and partial failure behavior.
- Observability: structured logs, useful metrics, trace context, and avoiding noisy or sensitive logs.
- Security: permission checks, secret leakage, SSRF/path traversal, injection, unsafe deserialization, and rate limits.
- Tests: table-driven cases for edge inputs, permission failures, error paths, concurrency, and migration compatibility.
Shared Product Rules
Apply regardless of language:
- Check whether new functionality needs a feature flag, edition check, tenant check, or environment guard.
- Watch for duplicated logic and copy-paste bugs.
- Verify changed behavior is covered by focused tests or has a clear manual verification path.
- Do not flag speculative issues as facts. If context is missing, mark as
info. - Prefer concrete fixes over broad refactor suggestions.
Severity
Use:
| Severity | Meaning |
| --------- | ---------------------------------------------------- |
| blocker | Must fix before commit, push, or merge. |
| warn | Should fix soon or explicitly accept the tradeoff. |
| info | Observation, cleanup suggestion, or missing context. |
Output
Return Markdown:
## 代码审查报告
### 审查总结
说明本次审查范围、使用的项目规则/语言 profile、整体结论。若有 blocker,明确提示先修复再提交。
### 风险列表
#### blocker
- **问题标题** (`path/to/file.go:12`)
- 描述:...
- 影响:...
- 建议:...
#### warn
- ...
#### info
- ...
### 统计数据
- 变更文件数:X
- 新增代码行数:X
- 删除代码行数:X
- blocker:X
- warn:X
- info:X
### 修复建议
1. ...
If no material issues are found, say that clearly and mention any residual test or context gaps.
Related Skills
claude-mem
103.3kPersistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Agent-Reach
102.9kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
taste-skill
102.7kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
Understand-Anything
88.3kGraphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
