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

add-learning

Add a new learning to the agent learnings file. Use when the user says /add-learning, asks to record a lesson, or when an implementation produced a reusable insight worth preserving for future agents.

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

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.2 KB

SKILL.md(원문)

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

Add Learning — Incan Project

When to use

Add a learning when an implementation taught a durable, generalizable lesson that a future agent would get wrong without it. Good learnings are:

  • Pitfalls where code passes one stage but fails another
  • Non-obvious wiring requirements (e.g., "if you change X, you must also update Y")
  • Patterns that look correct but produce subtle bugs
  • Architectural constraints that aren't obvious from the code alone

Do not add:

  • Implementation details specific to a single feature that are already in the code
  • API documentation (that belongs in rustdoc)
  • Temporary workarounds or known bugs (those belong in GitHub issues)

Workflow

Step 1: Identify the right section

Read .agents/learnings.md and determine which existing section the learning belongs in:

SectionAdd here if the learning is about...
General pipeline pitfallsTypechecker/lowering/emission interactions, Program struct, type display
Testing strategyWhich tests to write, test coverage gaps, snapshot patterns
Parser and lexer patternsToken handling, bracket depth, warning infrastructure, soft keywords
Stdlib and registry patternsSTDLIB_NAMESPACES, stub vs wiring, runtime facades
Wiring: CLI and LSPWarning surfacing, feature gates, command coverage
Generic bounds and extern functionsBounds storage, extern diagnostics, shared helpers
Docs and RFC toolingRFC graph maintenance, docs generators, index/reference regeneration

If no existing section fits, create a new one with a descriptive heading.

Step 2: Write the learning

Format as a bold-label bullet:

- **Concept in 3-5 words**: Explanation of the insight, why it matters, and what goes wrong without it. Include the triggering context (RFC number, issue number) in parentheses if applicable.

Guidelines:

  • Lead with the principle, not the specific feature that taught it.
  • Keep it to 1-2 sentences. If it needs more, it might be too specific.
  • Include enough context that an agent can act on it without reading the original RFC/issue.

Step 3: Append to the file

Add the bullet to the appropriate section in .agents/learnings.md. Maintain alphabetical or logical ordering within the section.

Step 3.5: Spot-check 1-2 existing entries in the same section

.agents/learnings.md is never mechanically checked against the code it describes — the only thing that catches a stale learning is an agent noticing while already in that section. So do that noticing on purpose, every time:

  • While you're in the section from Step 1, pick 1-2 other entries that name a concrete file path, function, struct, or pattern (not every entry does — skip pure-principle ones).

  • Quickly confirm the named thing still exists and the described behavior still matches (a grep/Read is usually enough — this is a spot-check, not a re-audit).

  • If an entry is stale (the file moved, the function was renamed, the described behavior changed), do not silently delete or rewrite it. Mark it in place so the correction itself is visible:

    - **Concept in 3-5 words**: ~~Original explanation~~ **[SUPERSEDED YYYY-MM-DD]**: what's true now, and why the original stopped applying (link the RFC/issue/commit that changed it if there is one).
    

    This keeps a record that the learning was wrong and got corrected — which is more useful to a future agent than a silent edit, and is itself worth an /add-learning note if the reason it went stale is a generalizable lesson on its own.

  • If nothing in your quick check turns out stale, don't add noise — no need to annotate entries that are still accurate.

Step 4: Verify

Read back the file to confirm:

  • The new bullet is in the right section
  • It doesn't duplicate an existing learning
  • It's generalizable (would help with future work, not just the current task)
  • Step 3.5 happened — either something got marked [SUPERSEDED ...] or you confirmed the spot-checked entries are still accurate

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

bump-rfc

무료

Transition an Incan RFC from one status to the next. Use when the user asks to promote, advance, or finalize an RFC, or says /bump-rfc. Handles Draft → Planned, Planned → In Progress, and In Progress → Implemented transitions.

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

encero-systems/incan702026년 10월 19일 업데이트

closeout

무료

Safely close out completed Incan work after a PR is merged by verifying merge status, syncing the base branch, removing task-owned local worktrees/assets, deleting merged local/remote branches, pruning refs, and reporting dirty or ambiguous leftovers. Use when the user says /closeout, asks to clean up after a merged PR, or wants local RFC/issue branch/worktree cleanup.

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

encero-systems/incan702026년 10월 19일 업데이트

Drafts a GitHub issue title and body using the target repository's issue templates under .github/ISSUE_TEMPLATE. Use when the user asks to create, draft, or file a GitHub issue, bug report, feature request, chore, documentation issue, or RFC proposal, or wants issue text that matches the repo's template.

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

encero-systems/incan702026년 10월 19일 업데이트

Drafts implementation plans with TDD, documentation updates, and repository verification commands before coding. Use when the user asks for an implementation plan, /create-plan, or structured pre-implementation design for work in encero workspaces (e.g. Incan, IncQL).

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

encero-systems/incan702026년 10월 19일 업데이트

Generate a PR description following the repository's pull request template. Use when the user asks to create, draft, or generate a PR description for a pull request. The skill automatically locates the PR template in the target repository and fills it in based on the git diff.

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

encero-systems/incan702026년 10월 19일 업데이트

fix

무료

Fix actionable in-scope findings in the current Incan worktree, usually after /review. Use when the user asks to fix review findings, clean up reported issues, apply in-scope review feedback, or says /fix.

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

encero-systems/incan702026년 10월 19일 업데이트

encero-systems의 스킬 모두 보기

이 스킬의 문제 신고