소스 정보
- 저장소
- andrem-sec/psc-comet
- 최근 소스 활동
- 2026년 4월 1일 00:39
- 감지된 SKILL.md 언어
- 영어
- 스타
- 4
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/andrem-sec/psc-comet --skill fix-pipeline명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
SOC 직업 분류 기준
| name | fix-pipeline |
| description | Bug fix workflow — debug-session → tdd → refactor (optional) → code-review |
| version | 0.1.0 |
| level | 2 |
| triggers | ["fix pipeline","fix this bug","full fix workflow","/fix"] |
| pipeline | ["debug-session","tdd","code-review"] |
| context_files | ["context/learnings.md"] |
| steps | [{"name":"Intake","description":"State the symptom precisely. Not the cause — the observable symptom."},{"name":"Diagnose (debug-session)","description":"Run debug-session until a hypothesis is confirmed. Gate before fixing."},{"name":"Regression Test (tdd — Red phase only)","description":"Write a failing test that reproduces the confirmed bug. Confirm it fails for the right reason."},{"name":"Fix (tdd — Green phase)","description":"Write the minimum fix to make the regression test pass. Do not fix anything else."},{"name":"Refactor (optional)","description":"If the fix revealed code that should be cleaned up — run refactor as a separate pass. Gate first."},{"name":"Review (code-review)","description":"Run code-review on the fix only. Scope is narrow — the bug fix, not the surrounding code."},{"name":"Close","description":"Write the confirmed hypothesis and fix to context/learnings.md. Include what the early warning sign was."}] |
The complete workflow for resolving a bug — from symptom to confirmed fix, with a regression test that prevents recurrence.
A bug fix has a specific shape: understand the root cause, prove it with a test, fix only that, verify nothing else broke. This pipeline enforces that shape. The most common failure modes — fixing the symptom, fixing the wrong thing, or fixing correctly but introducing a new bug — each have a specific gate that catches them.
State the symptom precisely. One sentence. Observable behavior only.
Good: "POST /api/orders returns 500 when item quantity is 0, but only on the second sequential request." Bad: "The orders endpoint is broken."
Run debug-session. Do not begin any fixes until a hypothesis is confirmed with evidence.
Gate format:
Hypothesis confirmed: [what is causing the bug]
Evidence: [specific file:line or test output]
Gate: Proceed to write regression test? (yes / no)
Write a failing test that directly exercises the confirmed bug. The test must:
Do not write a test that happens to catch the bug incidentally. Write a test that cannot pass until the specific root cause is resolved.
Write the minimum code change that makes the regression test pass. Not the cleanest fix. The minimum.
The fix should touch as few lines as possible. If the minimum fix requires touching 5+ files, the bug is architectural — escalate to consensus-plan before continuing.
After fixing: run the full test suite. Every existing test must still pass. If any test breaks, the fix introduced a regression — revert and reconsider.
Only if the fix revealed code that should be restructured. This is a separate pass — do not mix refactoring with fixing.
Gate: "The fix is complete. There is code I noticed that should be cleaned up. Refactor now? (yes / no / later)"
If yes: run refactor skill as a separate step with its own coverage gate and one-change rule.
Run code-review scoped narrowly to the fix. Not the file. Not the module. The changed lines.
Ask the code-reviewer agent to focus on:
Write to context/learnings.md:
[date] mistake — [bug description]: root cause was [confirmed hypothesis]. Fixed by [what changed]. Regression test at [file:line]. Early warning sign: [what to look for].
This is high-value. Future sessions encountering a similar symptom can find the pattern in learnings.md before spending time on diagnosis.
Do not write the fix before the regression test. A fix without a test is a fix that will recur.
Do not fix "while you're in there" — scope is the regression test target and nothing else.
Do not close without writing the learnings.md entry. The close step is not administrative — it is the most durable artifact of the fix.