跳到正文
cccskills
免费在 GitHub 公开

review-and-fix

Run the Incan review/fix loop end to end: review, fix actionable findings, and review again until clean or blocked. Use when the user wants an autonomous review-and-repair pass or says /review-and-fix.

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

查看安装方法

包含的文件(1)

  • SKILL.md3.6 KB

SKILL.md(原文)

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

Review And Fix — Incan Compiler

Purpose

/review-and-fix is the user-facing entry point for autonomous review plus repair.

The user should not need to choose between the simple reviewer and the orchestrated reviewer. This skill decides that itself from the current worktree.

Under the hood it chooses one of two paths:

  • small/local scope: /loop /review /fix
  • broad/multi-surface scope: review-orchestrate -> /fix -> final review pass

/loop still owns repetition and stopping conditions for the small/local path. For broad scopes, this skill owns the high-level routing and uses the persistent report at .agents/state/review-report.md.

Workflow

  1. Inspect the current dirty worktree before choosing a path.
  2. Choose the small/local path when the change is narrow enough for one honest reviewer, for example:
    • a small number of touched files,
    • one main subsystem,
    • code-only or docs-only,
    • no evidence of cross-cutting code/docs/tests/RFC churn.
  3. Choose the broad/multi-surface path when any of the following are true:
    • multiple subsystems are touched,
    • both code and user-facing docs moved,
    • tests, docs, and implementation all changed,
    • the worktree is large enough that one reviewer is likely to skip surfaces,
    • the user explicitly wants subagents or delegated review.
  4. For the small/local path:
    • invoke /loop with /review as detector and /fix as repair skill,
    • let /loop repeat until clean or legitimately blocked.
  5. For the broad/multi-surface path:
    • run review-orchestrate,
    • consume the merged findings with /fix,
    • then run a final review pass appropriate to the remaining scope.
  6. Treat .agents/state/review-report.md as a live structured artifact, not a final prose summary.
  7. For orchestrated runs, treat slice reports as the primary evidence and the canonical report as a thin merged findings index. Preserve findings by default; do not over-prune them during merge.
  8. Each new /review-and-fix invocation starts with a fresh report scaffold. Do not reuse an older run's findings or activity log.

Routing rule

The default user expectation should be simple:

  • users ask for /review-and-fix
  • this skill decides whether the work is small or broad
  • the user does not need to manually choose /review vs review-orchestrate

If the scope is borderline, prefer the broader review path. The cost of one wider first pass is lower than repeated serial misses and reruns.

Verification expectations

The repair pass should aim to leave the worktree in a strong verified state:

  • make fmt
  • narrow relevant checks
  • cargo run -p incan_lang --bin generate_lang_reference when language registries, the reference generator, or workspaces/docs-site/docs/language/reference/language.md changed; inspect and commit any resulting generated diff
  • make pre-commit

If the broad gate fails for unrelated environmental reasons, report that explicitly as residual risk instead of pretending the loop is clean.

Output format

Produce a short summary:

## Review And Fix — <subject / branch>

### Chosen path
<small/local review loop or broad orchestrated review>

### Review findings
<high-signal findings from the chosen review path>

### Fixes applied
<what changed>

### Final review state
<clean / blocked / residual risk>

### Verification
<commands and outcomes>

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

Add a new learning to the agent learnings file. Use when the user says /add-learning, asks to record a lesson, or when an implementation produced a reusable insight worth preserving for future agents.

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

encero-systems/incan662026年10月22日 更新

bump-rfc

免费

Transition an Incan RFC from one status to the next. Use when the user asks to promote, advance, or finalize an RFC, or says /bump-rfc. Handles Draft → Planned, Planned → In Progress, and In Progress → Implemented transitions.

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

encero-systems/incan662026年10月22日 更新

closeout

免费

Safely close out completed Incan work after a PR is merged by verifying merge status, syncing the base branch, removing task-owned local worktrees/assets, deleting merged local/remote branches, pruning refs, and reporting dirty or ambiguous leftovers. Use when the user says /closeout, asks to clean up after a merged PR, or wants local RFC/issue branch/worktree cleanup.

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

encero-systems/incan662026年10月22日 更新

Drafts a GitHub issue title and body using the target repository's issue templates under .github/ISSUE_TEMPLATE. Use when the user asks to create, draft, or file a GitHub issue, bug report, feature request, chore, documentation issue, or RFC proposal, or wants issue text that matches the repo's template.

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

encero-systems/incan662026年10月22日 更新

Drafts implementation plans with TDD, documentation updates, and repository verification commands before coding. Use when the user asks for an implementation plan, /create-plan, or structured pre-implementation design for work in encero workspaces (e.g. Incan, IncQL).

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

encero-systems/incan662026年10月22日 更新

Generate a PR description following the repository's pull request template. Use when the user asks to create, draft, or generate a PR description for a pull request. The skill automatically locates the PR template in the target repository and fills it in based on the git diff.

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

encero-systems/incan662026年10月22日 更新

查看 encero-systems 的全部技能

报告此技能的问题