一键导入
label-context-mapping
Maps GitHub labels to Skills and Context documents. Use when creating issues (github-issue-creation) or working on issues (fix-issue command).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Maps GitHub labels to Skills and Context documents. Use when creating issues (github-issue-creation) or working on issues (fix-issue command).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Set up docs-ssot SSOT documentation structure — migrate existing docs, build, and validate
Documentation update workflow. Use when modifying files in docs/ directory or any markdown files (*.md).
How to run watch, keygen, and sign wallet CLI commands. Use when executing wallet commands or testing wallet functionality.
Git branch management, commit conventions, and PR creation workflow. Use for all tasks that require code changes, regardless of language or scope.
Solidity smart contract development workflow. Use when modifying smart contracts in apps/eth-contracts/contracts/.
TypeScript/JavaScript development workflow for apps/ directory. Use when modifying TypeScript code in xrpl-grpc-server or JavaScript in eth-contracts.
| name | label-context-mapping |
| description | Maps GitHub labels to Skills and Context documents. Use when creating issues (github-issue-creation) or working on issues (fix-issue command). |
Central mapping from GitHub labels to Skills and Context documents.
SSOT: This skill defines the operational mappings. Label definitions are in Task Classification.
| Label | Context Document |
|---|---|
bug | docs/ai/task-contexts/bug-fix.md |
enhancement | docs/ai/task-contexts/feature-add.md |
refactoring | docs/ai/task-contexts/refactoring.md |
documentation | docs/ai/task-contexts/documentation.md |
security | docs/ai/task-contexts/security.md |
technical-debt | docs/ai/task-contexts/refactoring.md |
test | docs/ai/task-contexts/test.md |
| Label | Skill | Verification |
|---|---|---|
lang:go | go-development | make go-lint && make tidy && make check-build && make go-test |
lang:typescript | typescript-development | See skill for app-specific commands (Bun for xrpl-grpc-server, npm for eth-contracts) |
lang:solidity | solidity-development | truffle compile && truffle test |
| Label | Skill | Verification |
|---|---|---|
scope:docs | docs-update | Markdown formatting |
scope:devops | devops | yamllint, workflow test |
scope:scripts | shell-scripts | make shfmt |
scope:makefile | makefile-update | make mk-lint |
scope:db | db-migration (+ go-development) | make atlas-fmt && make atlas-lint && make sqlc |
scope:config | - | Syntax validation |
scope:proto | - | make proto |
| Label | Context Documents |
|---|---|
chain:btc | docs/ai/task-contexts/chain-specific.md, docs/chains/btc/README.md |
chain:bch | docs/ai/task-contexts/chain-specific.md, docs/chains/bch/README.md |
chain:eth | docs/ai/task-contexts/chain-specific.md, docs/chains/eth/README.md |
chain:erc20 | docs/ai/task-contexts/chain-specific.md, docs/chains/eth/README.md |
chain:xrp | docs/ai/task-contexts/chain-specific.md, docs/chains/xrp/README.md |
chain:all | docs/ai/task-contexts/chain-specific.md |
| Label | Verification |
|---|---|
unit-test | make go-test |
integration-test | make go-test-integration |
e2e-test | make btc-e2e-* or chain-specific E2E |
1. Parse issue labels
2. Load contexts:
- Type label → Context document
- Chain label → Chain context (if present)
3. Load skills:
- Always: git-workflow
- Lang/Scope label → Development skill
4. Apply verification commands from skill
| Labels | Skills Loaded | Contexts Loaded |
|---|---|---|
bug, lang:go, chain:btc | git-workflow, go-development | bug-fix.md, chains/btc.md |
enhancement, lang:typescript, chain:xrp | git-workflow, typescript-development | feature-add.md, chains/xrp.md |
documentation, scope:docs | git-workflow, docs-update | documentation.md |
refactoring, scope:db, lang:go | git-workflow, db-migration, go-development | refactoring.md, db-change.md |
test, lang:go, unit-test | git-workflow, go-development | test.md |
security, lang:go | git-workflow, go-development | security.md |
Every issue must have:
bug, enhancement, refactoring, documentation, security, technical-debt, test)lang:* or scope:*)testRequired: [Type] + [Language OR Scope]
Optional: [Test Scope] + [Chain]
Type label → Context document (what to do)
Lang/Scope label → Skill (how to do)
Chain label → Chain context (domain knowledge)
github-issue-creation - Uses this mapping for issue creationfix-issue command - Uses this mapping for issue work