跳到正文
cccskills
免费在 GitHub 公开

loop

Orchestrate a named multi-skill loop such as /loop /review /fix until clean or blocked. Use when the user explicitly asks to loop skills, rerun a review/fix cycle, or says /loop with one or more skill names.

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

查看安装方法

包含的文件(1)

  • SKILL.md2.6 KB

SKILL.md(原文)

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

Loop — Skill Orchestrator

Purpose

/loop is a thin orchestrator. It does not define domain checks itself. It repeatedly runs a detector skill and a repair skill until the detector reports no remaining blockers/warnings or the work becomes blocked.

The loop should preserve state in the current worktree's persistent report file:

  • .agents/state/review-report.md

Typical use:

  • /loop /review /fix

That means:

  1. run /review,
  2. if it reports actionable findings, run /fix,
  3. run /review again,
  4. repeat until clean or blocked.

Contract

  • The first named skill should be a detector/reviewer.
  • The second named skill should be a repair/fix skill.
  • If the user provides more skills, run them in the given order, then loop back to the first detector.

Stopping conditions

Stop the loop when one of these is true:

  1. the detector reports no blockers or warnings,
  2. remaining findings are explicitly classified as:
    • out of scope,
    • risky without user confirmation,
    • external blocker,
    • separate compiler bug,
  3. the user interrupts or redirects the work.

Loop discipline

  • Keep each cycle concrete: detector output, repair pass, detector rerun.
  • Do not let a detector silently become a fixer or a fixer silently become a detector. Respect each skill's role.
  • Use .agents/state/review-report.md as the durable state between cycles. Do not rely on conversational memory to remember which findings are still open.
  • Require the report to stay structured on every cycle: ## Scope, ## Activity, ## Files, and ## Verification must remain present. A rewritten prose summary is not valid loop state.
  • Require file states to be honest loop state: files start pending, then move to clean, findings, fixed, or blocked only as the checklist evidence justifies.
  • When /loop starts a new detector-first run, the detector should initialize a fresh report scaffold for that run. Preserve state across cycles within the same loop, not across unrelated invocations.
  • If a broad verification command fails for unrelated reasons, continue the loop when local findings are still fixable.
  • Summarize each cycle briefly so the user can see whether the loop is converging.

Output format

Produce a compact progress report:

## Loop — <skills>

### Cycle 1
<detector result>
<fix result>

### Cycle 2
...

### Final state
<clean / blocked / needs user direction>

评价

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

评论

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

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

提交后会立即公开。请勿填写邮箱、电话等个人信息。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/incan652026年10月19日 更新

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/incan652026年10月19日 更新

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/incan652026年10月19日 更新

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/incan652026年10月19日 更新

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/incan652026年10月19日 更新

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/incan652026年10月19日 更新

查看 encero-systems 的全部技能

报告此技能的问题