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

cc-fix

Run the bug fix workflow — risk-based routing through task validation, implementation, testing, and optional review.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md4.2 KB

SKILL.md(原文)

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

Bug Fix Workflow

Bug description: $ARGUMENTS

Provide the following information in $ARGUMENTS:

  • What is the incorrect behavior (actual)
  • What is the expected behavior
  • Steps to reproduce
  • Environment or version where the bug occurs (if known)
  • Any relevant error messages or stack traces

Web interface scope

Same web scope as cc-feature: when the fix concerns web layout, component states, feedback, motion, or a requested UI audit, apply skill web-design-engineering during test/implementation and review; keep this workflow's gates and TDD order. See cc-feature for the full scope rule.

Android phone interface scope

Same Android scope as cc-feature: when the fix concerns concrete Jetpack Compose phone UI or a requested UI audit, apply skill android-ui-design during test/implementation and review; keep this workflow's gates and TDD order. See cc-feature for the full scope rule.

Step 1 — Task Card validation (task-coach)

Invoke task-coach with the bug description above.

task-coach must produce a Task Card that includes:

  • A clear statement of actual vs. expected behavior
  • Reproduction steps (or a note that they are unknown)
  • Risk classification: low, medium, or high
  • Scope: which files or modules are likely affected

If reproduction steps are missing, task-coach must ask for them before classifying risk. A bug without a reproduction path cannot be classified reliably.

STOP here. Show the Task Card and wait for human confirmation.


Step 2 — Route by risk

Read the risk field from the Task Card and follow the corresponding route.

Low-risk route

Applies when: the bug is isolated to a single component, existing tests cover the affected code, and no public API or shared state is involved.

Route: task-coach → tester → implementer

Proceed directly to Step 3.

Medium or high-risk route

Applies when: the bug touches shared state, a public API, auth or payment paths, database writes, or the root cause is not yet understood.

Route: task-coach → architect → tester → implementer → reviewer

Invoke architect before implementation. architect must:

  • Identify the root cause (or document that it is unknown)
  • Define the fix approach and affected files
  • Flag any regression risk to adjacent components
  • Produce a Technical Plan

STOP here if high-risk. Show the Technical Plan and wait for human approval before continuing.


Step 3 — Regression tests (tester)

Invoke tester for all risk levels.

tester must:

  1. Write a regression test that reproduces the original bug (fails before the fix, passes after)
  2. Verify that existing tests still pass
  3. Produce a Coverage Summary: test added, case covered

Step 4a — Implementation, low-risk (implementer)

Invoke implementer with the Task Card and the failing regression test from Step 3. Implementer creates a Git Worktree before touching any file; all edits happen inside it.

implementer must:

  1. Locate the defect using the reproduction steps
  2. Apply the minimal fix to make the regression test pass — no unrelated changes
  3. Run the test suite
  4. Produce an Implementation Summary: root cause, fix applied, files changed

Step 4b — Implementation, medium/high-risk (implementer)

Invoke implementer with the approved Technical Plan, the Task Card, and the failing regression test from Step 3. Implementer creates a Git Worktree before touching any file; all edits happen inside it.

implementer must follow the plan exactly. Any deviation requires a new Technical Plan approval. After implementation, run the full test suite.


Step 5 — Review (reviewer) — medium/high-risk only

Invoke reviewer with the diff and Task Card.

reviewer produces a Review Report with CRITICAL / WARNING / SUGGESTION findings. If any CRITICAL findings exist, STOP. Do not close the fix until they are resolved.


Completion

Report: Task Card, Implementation Summary, regression test added, Review Report (if applicable). The fix is complete only when: the regression test passes, the full suite passes, and no CRITICAL review findings remain.

レビュー

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

同じリポジトリのスキル

概要と使いどころ

Use when adding monitoring, metrics, logging, or tracing to Spring AI or LLM integration code. Covers token tracking, latency measurement, cost estimation, and prompt/response logging. Use when user mentions AI monitoring, token costs, or LLM observability.

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

lgzarturo/springboot-course32026年10月12日 更新

android

無料

Provides expert knowledge for building modern native Android apps using Kotlin, Jetpack Compose, Material Design 3, MVI architecture, Hilt dependency injection, and Media3/ExoPlayer.

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

lgzarturo/springboot-course32026年10月12日 更新

Design, implement, review, and audit Android Jetpack Compose UI/UX for phone interfaces. Use when a request concerns concrete Compose layout, components, interaction, accessibility, or visual behavior. Do not activate for framework or dependency presence alone; non-UI Android work is excluded.

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

lgzarturo/springboot-course32026年10月12日 更新

Provides expert knowledge for designing, implementing, and managing REST API versioning strategies with deprecation workflows.

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

lgzarturo/springboot-course32026年10月12日 更新

astro

無料

Provides expert knowledge for building Astro 5+ sites with Islands Architecture, Content Collections, TypeScript, and performance-first rendering strategies.

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

lgzarturo/springboot-course32026年10月12日 更新

Audits token storage mechanisms to prevent XSS-based JWT theft.

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

lgzarturo/springboot-course32026年10月12日 更新

lgzarturo のスキルをすべて見る

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