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.
日本語の概要は準備中です。原文の説明を表示しています。
Prepare to work on a GitHub issue or RFC. Use when the user says /start-work, asks to start an issue, begin an RFC implementation, or pick up a task. Creates the branch, gathers context, and checks learnings.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
The user provides one of:
#165, 165)https://github.com/dannys-code-corner/incan/issues/165)RFC 031)If none is provided, ask the user what they want to work on.
Commit your own work. Use the repo's message convention (chore|bugfix|feature - <issue_id(s)> <description>), push the branch, and open the PR when the work is ready. Do not leave finished work uncommitted waiting for the maintainer.
Still off-limits on your own initiative:
git checkout -- <path>, git restore <path>, git clean, git reset --hard, stash dropgit rebase of a branch that is already pushed — sync it with a merge commit instead, so ancestry survives and no force-push is neededTwo habits keep pushing safe. Re-check a PR's state immediately before pushing to its branch: a squash-merge silently strands anything pushed afterwards. And prove work reached the integration branch by content (git show origin/<dev-line>:<file> | grep <symbol>), never by PR status — a stacked PR reports MERGED once its own base absorbs it, which says nothing about the dev line.
This policy applies whenever this skill is used (and is the default for Incan work even without /start-work).
If an issue number or URL was given:
gh issue view <NNN> --repo dannys-code-corner/incan
Extract: title, labels, body, linked RFC (if any).
If an RFC number was given:
workspaces/docs-site/docs/RFCs/<NNN>_*.mdIssue: header field.gh issue view.If a free-text description was given:
gh issue list --repo dannys-code-corner/incan --search "<description>" --state openConstruct the branch name using the convention: <type>/<issue>-<slug>
Type is determined by issue labels:
| Label | Type |
|---|---|
feature, RFC, enhancement | feature |
bug | bugfix |
| anything else (or no issue) | chore |
Issue is the GitHub issue number. If no issue exists, omit the number prefix.
Slug is derived from the issue title or RFC title:
implement-rfc-<NNN>-<short-title>Examples:
feature -> feature/165-implement-rfc-031-library-system-phase-1chore -> chore/88-vocab-drift-guardrailsbug -> bugfix/42-parser-crash-on-empty-match# Ensure main is up to date
git fetch origin main
# Create branch from origin/main
git checkout -b <branch-name> origin/main
If the branch already exists locally or on the remote, ask the user whether to:
git checkout <branch-name>)Read .agents/learnings.md and check whether any section is relevant to the task. Specifically:
General pipeline pitfalls and Testing strategyimport rust.*, rusttype, or extern functions -> read RFC 041 (first-class Rust interop) implementation notes and Generic bounds and extern functionsstd.* imports -> read Stdlib and registry patternsParser and lexer patterns and Wiring: CLI and LSPDocs and RFC toolingIf a relevant section exists, summarize the key takeaways for the user.
If the resolved issue belongs to the 0.6 Release milestone, read the current ledger and update format on #1074. Before the first production edit, publish an append-only Active ledger update naming:
Do not edit another contributor's ledger comment. If the task does not authorize a GitHub write, show the exact update text to the maintainer and wait for publication before editing production code.
When work becomes blocked, ready for integration, materially rescaled, or complete, publish the corresponding follow-up update on #1074. Completion updates must name actual verification evidence; never infer it from a green legacy path or an unrun command.
If the task clearly decomposes into independent slices and the user explicitly wants delegation or parallel work, stop after gathering context and hand off to orchestrate-parallel-work.
Do not improvise ad hoc multi-agent coordination inside this skill. This skill is for task setup, not swarm orchestration.
If the issue, RFC, or task touches milestone scope, release scope, compiler boundaries, package imports, vocab, formatter, test runner, generated Rust, Rust metadata, or downstream-facing behavior, draft the initial acceptance contract before proposing next steps.
The contract should name:
For simple local tasks, say acceptance contract: local only and why no boundary lane applies.
If the task references an RFC:
Provide a concise summary:
## Ready to work
**Branch**: `<branch-name>` (created from `origin/main`)
**Issue**: #<NNN> — <title>
**RFC**: RFC <NNN> — <title> (status: <status>)
**Relevant learnings**: <list or "none">
**Acceptance contract**: <boundary/downstream/doc/perf gates, or "local only" with reason>
### Context
<1-3 sentence summary of what the task involves>
### Next steps
<Suggested first actions based on the issue/RFC>
**Proposed commit message**: `<one line; include in this same summary for the maintainer to use when they commit>`
gh): Fall back to reading the RFC file directly. Note that the issue could not be fetched and ask the user for context.まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
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.
日本語の概要は準備中です。原文の説明を表示しています。
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.
日本語の概要は準備中です。原文の説明を表示しています。
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.
日本語の概要は準備中です。原文の説明を表示しています。
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.
日本語の概要は準備中です。原文の説明を表示しています。
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).
日本語の概要は準備中です。原文の説明を表示しています。
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.
日本語の概要は準備中です。原文の説明を表示しています。