用途:这是 go-crypto-wallet 仓库中的一项技能,充当 GitHub 标签与 Skills、Context 文档之间的集中映射(SSOT)。在创建 issue(github-issue-creation)或处理 issue(fix-issue 命令)时使用,用于确定应应用哪些标签,以及应加载哪些技能和上下文文档。
主要能力:按标签类别建立映射。类型标签映射到上下文文档,如 bug→docs/ai/task-contexts/bug-fix.md、enhancement→feature-add.md、refactoring 与 technical-debt→refactoring.md、documentation→documentation.md、security→security.md、test→test.md。语言标签映射到技能并附验证命令,如 lang:go→go-development(make go-lint && make tidy && make check-build && make go-test)、lang:typescript→typescript-development、lang:solidity→solidity-development(truffle compile && truffle test)。范围标签映射到技能,如 scope:docs→docs-update、scope:devops→devops、scope:scripts→shell-scripts、scope:makefile→makefile-update、scope:db→db-migration(+go-development)、scope:config 与 scope:proto 无对应技能。链标签映射到链上下文文档,如 chain:btc、chain:bch、chain:eth、chain:erc20、chain:xrp、chain:all。测试范围标签映射到验证命令,如 unit-test→make go-test、integration-test→make go-test-integration、e2e-test→make btc-e2e-* 或链特定 E2E。
使用方式:从 issue 标签出发,解析标签后加载上下文(类型标签→上下文文档,链标签→链上下文),加载技能(始终加载 git-workflow,语言/范围标签→开发技能),再应用技能中的验证命令。标签选择规则要求每个 issue 必须有一个类型标签,以及一个语言或范围标签;链标签仅用于加密货币相关代码,测试范围标签仅在类型为 test 时使用。
适用场景:适用于该仓库的 issue 创建与修复流程,帮助统一标签、技能与上下文的对应关系。
限制:资料未提供该技能在其他仓库的通用性、安装方式或收费信息;映射内容与具体仓库结构绑定。