본문으로 건너뛰기
cccskills
무료GitHub에 공개

groom-notes

Review, prune, and suggest notes in notes.toml. Cleans stale notes and proposes new ones from recent changes.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md3.5 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Groom Notes

Review all notes in docs/notes.toml — clean up stale ones and suggest new ones from recent work.

Phase 1: Prune

  1. Parse notes: Read docs/notes.toml and list all notes with their sentiment, text preview, and mentions.

  2. Identify candidates for removal:

    • Notes that reference removed/renamed files (check with Glob)
    • Notes that contradict current code (e.g., "X doesn't work" when X was fixed)
    • Duplicate or near-duplicate notes covering the same topic
    • Notes about temporary issues that have been resolved
    • Notes with stale mentions (files that no longer exist)
  3. Present findings: Show a summary of candidates grouped by reason:

    • Stale: References removed code or fixed issues
    • Superseded: Newer note covers the same ground
    • Duplicate: Multiple notes saying essentially the same thing
    • Update mentions: File paths that moved but lesson is still valid
  4. Get approval: Present the list of proposed changes. Ask the user to confirm before making changes.

  5. Execute: Use cqs notes remove / cqs notes update CLI commands. If the CLI isn't available, edit docs/notes.toml directly.

  6. Report: Show before/after count and what was changed.

Phase 2: Suggest

After pruning, scan for note-worthy events that aren't already captured:

  1. Check recent git history: git log --since="1 week ago" --oneline (or since last groom)
  2. Look for surprise-worthy patterns:
    • Bug fixes — what was the non-obvious cause? (sentiment: -0.5 or -1)
    • Refactoring lessons — what pattern worked or didn't? (sentiment: 0.5 or -0.5)
    • New features — any architectural decisions worth remembering? (sentiment: 0)
    • CI/tooling changes — any gotchas? (sentiment: -0.5)
    • Performance discoveries — unexpectedly fast or slow? (sentiment: 0.5 or -0.5)
  3. Cross-check existing notes: Don't suggest notes that duplicate existing ones
  4. Present suggestions: Show proposed notes with text, sentiment, and mentions
  5. Get approval: User confirms which to add
  6. Execute: Use cqs notes add for each approved suggestion

What makes a good note

Notes capture surprises — things that broke predictions or would trip up a future session:

  • "X looks like it should work but doesn't because Y" (negative surprise)
  • "Doing X this way was unexpectedly effective" (positive surprise)
  • "X and Y are coupled in non-obvious ways" (neutral observation)

Not good notes: routine changes, things obvious from code, activity logs.

Staleness checks

Start with the built-in checker — it verifies every mention against the filesystem and index in one call:

cqs notes list --check --json

For anything it flags, confirm manually (Glob the file, cqs "<symbol>" --name-only) before proposing removal.

Cross-reference with git log — if a note mentions an issue number, check if that issue is closed.

Rules

  • Never remove or add notes without user approval
  • Preserve the file header comments
  • Keep notes that capture general lessons even if the specific code changed
  • When in doubt, keep the note — false negatives (missing a useful note) are worse than false positives (keeping a stale one)
  • Sentiment is DISCRETE: only -1, -0.5, 0, 0.5, 1
  • After grooming, suggest running cqs index to update the search index

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

archeo

무료

Comment-archaeology sweep - find work items hiding in TODO/FIXME/for-now comments and plan-doc ledgers, judge them, file issues, queue trivial fixes. Good idle-loop activity.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

jamie8johnson/cqs172026년 7월 14일 업데이트

audit

무료

Run a multi-category code audit on the cqs codebase. Spawns parallel agents per batch.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

jamie8johnson/cqs172026년 7월 14일 업데이트

Run before modifying a function — impact + test-map + explain in one pass, presented as a modification checklist.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

jamie8johnson/cqs172026년 7월 14일 업데이트

Trust-boundary security audit of cqs — fans out unbiddable-auditor agents across 6 categories (RT-INJ/RT-FS/RT-RES/RT-DATA/RT-RELAY/RT-EXFIL), attacker mindset, run-the-attack PoC + regression guard.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

jamie8johnson/cqs172026년 7월 14일 업데이트

Run after making changes, before committing — reviews the current git diff for impact and risk via cqs review.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

jamie8johnson/cqs172026년 7월 14일 업데이트

cqs

무료

Unified cqs CLI dispatcher — semantic code search, call graph navigation, impact analysis, quality tools, notes, and infrastructure. Use `/cqs <command> [args]` for any cqs operation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

jamie8johnson/cqs172026년 7월 14일 업데이트

jamie8johnson의 스킬 모두 보기

이 스킬의 문제 신고