本文へ移動
cccskills
無料GitHub で公開

retro

Use when the user runs /retro or explicitly requests a session retrospective. Find session lessons and propose concrete shared harness edits for future efficiency. Exclude memory files. Do not run unprompted.

日本語の概要は準備中です。原文の説明を表示しています。

kdlbs/kandevスター 1,020(GitHub 1,020 + cccskills 0)

実行スコア 未検証

インストール方法を見る

含まれるファイル(2)

  • SKILL.md6.3 KB
  • template.md1.1 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Retro

Run this workflow only when the user explicitly requests a retrospective. A natural-language request is sufficient. Review the current session for lessons that improve future agent sessions. By default, propose edits in the reply and stop. Do not edit files during the retrospective. If the user explicitly requests edits as part of the retro, apply the qualifying changes within that authorization. Do not commit, push, open a PR, or create persistent tasks unless the user explicitly requests those actions.

Optional focus: /retro commit or /retro apps/backend/AGENTS.md limits the analysis to that workflow, topic, or path.

1. Gather session evidence

Use the available conversation, tool results, user corrections, and files touched in this session. If the user identifies another session, use its available primary sources instead. If context is incomplete, state that limitation. Do not invent missing events or search unrelated private transcripts.

Look for:

  • Repeated failed commands, retries, dead ends, or unnecessary exploration.
  • Missing navigation pointers, hidden dependencies, or ambiguous workflow instructions.
  • Excessive output, repeated reads, lost tool handles, or avoidable context consumption.
  • Successful techniques that saved work and can apply to other tasks.
  • User corrections that reveal a reusable process gap.

Separate observed events from possible causes. Verify each proposed cause against current files or authoritative documentation. Do not infer a permanent user preference from a single correction. Do not mine unrelated PR reviews or perform a general repository audit.

2. Filter candidates

Keep a candidate only if it passes every test:

  1. Behavior change: Identify the earlier decision that the proposed guidance changes and how that change improves the outcome.
  2. Recurrence: The same gap can affect a normal future session on different code.
  3. Cost: The gap risks correctness, security, contracts, performance, or substantial wasted tool calls and rework.
  4. Specificity: State one concrete, testable action with its trigger. Include a fallback or verification where necessary.
  5. No duplication: Read the proposed target and search related guidance before proposing an edit.

If existing instructions already cover the gap, skip another rule. Tighten unclear wording only if that ambiguity caused the miss. Remove or shorten ineffective guidance only if session evidence supports that change. Skip common knowledge, one-off filenames, task IDs, temporary paths, secrets, cosmetic preferences, and rules already enforced by automated checks. Do not turn a temporary tool workaround into a permanent instruction without evidence that it remains necessary. Prefer an empty action list over weak lessons. Do not fill a quota.

3. Choose the shared source

Use harness-improvement for artifact placement and validation. Read its session-learnings reference for normalization and deduplication. Load only the artifact or platform references relevant to surviving candidates.

Eligible targets are shared repository harness files:

  • .agents/skills/, shared commands, agents, review guidance, and harness scripts.
  • The closest scoped AGENTS.md, or root AGENTS.md for a rule that applies across the repository.
  • Existing repository platform instructions, settings, and hooks in .claude/, .codex/, .cursor/, or .opencode/.

Route workflow lessons to the owning skill before considering always-on instructions. Prefer a small correction to an existing rule over a new file. Propose a new skill only for a repeatable workflow with no existing owner. Keep the repository's single-session and delegation policies intact unless the user explicitly authorizes a change.

Exclude memory files, auto-memory, transcript notes, personal settings, application code, application tests, CI, specifications, ADRs, and plans. Do not save the retrospective to disk. If a lesson requires product changes, identify the limitation in the reply without adding a harness action. If the fix belongs to an uneditable tool or hosted service, report it separately under Upstream. Do not propose a brittle harness workaround for an upstream defect.

Resolve symlinks before choosing an edit path. Use .agents/skills/ and AGENTS.md as this repository's shared sources. Edit AGENTS.md directly. Preserve the CLAUDE.md symlink to it. Do not copy skill changes into platform mirrors or create new platform trees. If a real platform file needs a distinct change, read the corresponding harness-improvement platform reference first. Measure target line, word, and byte counts. Stay within the limits in its validation reference. If a target exceeds its limit, propose a replacement or a narrower home instead of appending more text.

4. Report and stop

Use template.md for the reply. Use today's date and keep the sections brief. Connect each proposed action to an observed event and its expected benefit. Order actions by impact. Each checkbox needs a repository-relative source path and an exact addition, replacement, or removal. For a replacement, show the current text and the proposed text. Avoid vague actions such as "improve the docs." If no candidate survives, write None. under Action Items. Include Upstream only if an observed problem belongs there.

If edits lack authorization, return the proposals and stop. State that the user can request all edits or select individual items. Do not treat silence or an unanswered question as authorization.

5. Apply authorized edits

Re-read the accepted targets and re-check duplication before editing. Apply only accepted changes. Preserve unrelated work and match the target file's voice. Keep session evidence in the reply and reusable directives in the shared files. Run the checks in harness validation for the changed files. Report each edited path, the concrete change, and validation results. If an accepted change is redundant or no longer valid, explain why you skipped it.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

acp-debug

無料

Debug an ACP agent CLI by spawning it, speaking raw JSON-RPC, and capturing every frame to a JSONL file. Use when the user asks to probe an agent's capabilities, compare agents, test a prompt against an agent, inspect raw ACP wire frames, or investigate why an agent fails to initialize.

日本語の概要は準備中です。原文の説明を表示しています。

kdlbs/kandev1,0202026年10月26日 更新

Add a new third-party integration (Jira/Linear-style) — per-workspace credentials, 90s auth-health poller, settings page, link/import buttons. Use when scaffolding a new external service integration.

日本語の概要は準備中です。原文の説明を表示しています。

kdlbs/kandev1,0202026年10月26日 更新

Delete local branches whose remote has been deleted ([gone]), including their worktrees. Use for branch cleanup after merging PRs.

日本語の概要は準備中です。原文の説明を表示しています。

kdlbs/kandev1,0202026年10月26日 更新

Review changed code for quality, security, and architecture compliance. Use only when the user explicitly requests local review or a PR finding requires it.

日本語の概要は準備中です。原文の説明を表示しています。

kdlbs/kandev1,0202026年10月26日 更新

commit

無料

Stage and commit changes using Conventional Commits. Use when there are dirty/staged files to commit, the user says "commit", or before pushing a PR.

日本語の概要は準備中です。原文の説明を表示しています。

kdlbs/kandev1,0202026年10月26日 更新

Curate the right project context before coding or debugging. Use when starting a new session, switching areas of the codebase, output quality is drifting, a task spans backend/frontend/docs, or external instructions need to be reconciled with Kandev conventions.

日本語の概要は準備中です。原文の説明を表示しています。

kdlbs/kandev1,0202026年10月26日 更新

kdlbs のスキルをすべて見る

このスキルの問題を報告する