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

write-teach-commit

Draft `teach:` commit messages for `.github/workflows/improve-add-skill.yml`. Use when preparing or reviewing a correction commit that should trigger the Improve Add Skill workflow from `$add` categorization feedback, including moved plugin entries, removed or excluded plugins, changed `.reason.md` categories, or review-approved rationale that should be generalized into `.codex/skills/add/**`.

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

yutkat/my-neovim-pluginlist스타 833(GitHub 833 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(2)

  • SKILL.md2.7 KB
  • agents/openai.yaml229 B

SKILL.md(원문)

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

Write Teach Commit

Overview

Write a commit message that both triggers the workflow and gives $improve-add-skill enough context to learn the reusable correction.

The workflow only runs on pushes to branches matching ai-* when the head commit message starts with teach:. If the correction should not update .codex/skills/add/**, do not use a teach: subject.

Workflow

  1. Inspect the user-provided diff, staged changes, PR review comments, .reason.md, and changed plugin list entries.
  2. Identify the actual correction: a plugin moved between categories, an exclusion, a changed category path, or explicit rationale for why $add was wrong.
  3. Separate evidence from the lesson: evidence may name repositories and files; the lesson should describe the reusable placement rule.
  4. Draft a subject that starts exactly with teach: and names the generic lesson, not just the repository touched.
  5. Add a short body when the subject alone cannot explain the correction.

Message Shape

Prefer this structure:

teach: <generic add-skill lesson>

Correction:
- <owner/repo>: <old category or decision> -> <new category or decision>

Reusable lesson:
- <category/exclusion rule that would have prevented the mistake>

Evidence:
- <short source, such as review comment, .reason.md row, or file path>

Keep the subject concise. Use the body for category paths and details.

Quality Rules

  • Start the first line with teach: exactly; Teach:, fix: teach, and body-only markers will not trigger the workflow.
  • Use full category paths from .reason.md or the markdown heading hierarchy when available.
  • Make the reusable lesson domain-based, such as user workflow or plugin purpose, rather than implementation surface.
  • For exclusions, state the exclusion trigger explicitly, such as fork, colorscheme, no README, non-English README, config repo, or sample plugin.
  • Do not use teach: for formatting-only, ordering-only, badge-only, typo-only, or ambiguous corrections.

Output

When the user asks for a commit message, output one message only. Prefer a fenced text block unless the user requests a command.

If there is no safe reusable lesson, say that teach: should not be used and provide a normal non-triggering commit subject instead.

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

add

무료

Categorize new Neovim plugins and insert them into the correct markdown category files

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

yutkat/my-neovim-pluginlist8332026년 10월 26일 업데이트

Improve the repo-local add skill from reviewed Neovim plugin categorization corrections. Use when a correction commit, PR review result, diff, or artifact such as a `teach:` commit shows that `$add` placed, excluded, or reasoned about plugins incorrectly and the reusable lesson should be folded back into `.codex/skills/add/**`.

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

yutkat/my-neovim-pluginlist8332026년 10월 26일 업데이트

unarchive

무료

Restore unarchived Neovim plugins from Archived.md to existing categories using commit history. Use when processing archive-check results or restoring previously archived plugin entries.

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

yutkat/my-neovim-pluginlist8332026년 10월 26일 업데이트

yutkat의 스킬 모두 보기

이 스킬의 문제 신고