跳到正文
cccskills
免费在 GitHub 公开

code-review

Review code changes against hard rules and conventions

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md2.0 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Code Review Skill

Systematically review code for quality, conventions, and potential issues.

When to Use

  • Before committing changes (auto-triggered)
  • Reviewing others' PRs
  • Self-review before pushing
  • Pre-push validation (Phase 0)

Phase 0: Pre-Push Validation

Before reviewing code, ensure build passes:

  • npm run typecheck - No type errors
  • npm run lint - No lint errors
  • No console.log in changed files
  • Tests pass (if applicable): npm run test

If any check fails, fix before proceeding to code review.

Quick check command:

npm run typecheck && npm run lint

Check for console.log:

git diff --cached --name-only | xargs grep -l "console.log" 2>/dev/null

Review Checklist

Hard Rules Check

  • No any type usage
  • No console.log statements
  • Components under 200 lines
  • No inline styles (Tailwind only)
  • No arbitrary values (px-[13px])
  • API follows 3-layer pattern

Code Quality Check

  • Clear variable/function names
  • No duplicated code
  • Proper error handling
  • Types are specific (not unknown everywhere)

Conventions Check

  • Follows existing patterns in codebase
  • Imports organized correctly
  • File in correct location (feature folder)

Security Check

  • No hardcoded secrets/API keys
  • No exposed sensitive data
  • Proper input validation

Output Format

Present findings as:


Code Review Summary

Files Changed: [count] Issues Found: [count by severity]

Critical (must fix)

  • file.ts:L42 - [issue description]

Warnings (should fix)

  • file.ts:L15 - [issue description]

Suggestions (nice to have)

  • file.ts:L88 - [suggestion]

Approved

  • No blocking issues found

Proceed with commit? (yes / fix issues first)


Auto-Trigger

This skill is automatically invoked before every commit.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

ar-aging

免费

Produce an accounts-receivable aging report and surface overdue invoices for a Well workspace. Use when the user asks who owes them money, an AR aging report, overdue invoices, days sales outstanding (DSO), or which customers to chase.

中文简介正在准备中。当前显示原文说明。

WellApp-ai/Well3452026年10月15日 更新

Iterate until success or limit, composing existing skills with Jidoka integration

中文简介正在准备中。当前显示原文说明。

WellApp-ai/Well3452026年10月15日 更新

Build a balance sheet (bilan) from a Well workspace. Use when the user asks for a balance sheet, bilan, assets/liabilities/equity, or financial position at a point in time.

中文简介正在准备中。当前显示原文说明。

WellApp-ai/Well3452026年10月15日 更新

Generate and maintain BPMN 2.0 diagrams linked to Gherkin scenarios

中文简介正在准备中。当前显示原文说明。

WellApp-ai/Well3452026年10月15日 更新

Forecast cash flow and runway for a Well workspace from booked invoices and collected bank transactions. Use when the user asks for a cash-flow forecast, runway, how long until they run out of cash, projected balance, or expected inflows/outflows.

中文简介正在准备中。当前显示原文说明。

WellApp-ai/Well3452026年10月15日 更新

Research best-in-class products using Browser MCP and WebSearch

中文简介正在准备中。当前显示原文说明。

WellApp-ai/Well3452026年10月15日 更新

查看 WellApp-ai 的全部技能

报告此技能的问题