Coding & Refactoringlow risk
source-grounding
Verify version-sensitive facts against live authoritative sources before asserting them in code or answers. Triggers on: "/source-grounding", "source-grounding", "sourcing". Standing rule — always active via CLAUDE.md. Invoke for deep verification work (API signatures, CVEs, model IDs, auth flows, deprecated patterns, security advisories).
HetCreep/CoalMine·skills/source-grounding/SKILL.md
39/ 100推荐值
导入这个 Skill
选择你的 coding agent,复制项目级或个人级安装命令。
导入当前项目.agents/skills/source-grounding
npx skills add https://github.com/HetCreep/CoalMine/tree/3e46a56a54f4eec2f8eae4c53d5efca7d5c3ed80/skills/source-grounding -a codex -y导入个人环境~/.agents/skills/source-grounding
npx skills add https://github.com/HetCreep/CoalMine/tree/3e46a56a54f4eec2f8eae4c53d5efca7d5c3ed80/skills/source-grounding -a codex -g -y导入当前项目.claude/skills/source-grounding
npx skills add https://github.com/HetCreep/CoalMine/tree/3e46a56a54f4eec2f8eae4c53d5efca7d5c3ed80/skills/source-grounding -a claude-code -y导入个人环境~/.claude/skills/source-grounding
npx skills add https://github.com/HetCreep/CoalMine/tree/3e46a56a54f4eec2f8eae4c53d5efca7d5c3ed80/skills/source-grounding -a claude-code -g -y导入当前项目.agents/skills/source-grounding
npx skills add https://github.com/HetCreep/CoalMine/tree/3e46a56a54f4eec2f8eae4c53d5efca7d5c3ed80/skills/source-grounding -a github-copilot -y导入个人环境~/.copilot/skills/source-grounding
npx skills add https://github.com/HetCreep/CoalMine/tree/3e46a56a54f4eec2f8eae4c53d5efca7d5c3ed80/skills/source-grounding -a github-copilot -g -y导入当前项目.agents/skills/source-grounding
npx skills add https://github.com/HetCreep/CoalMine/tree/3e46a56a54f4eec2f8eae4c53d5efca7d5c3ed80/skills/source-grounding -a cursor -y导入个人环境~/.cursor/skills/source-grounding
npx skills add https://github.com/HetCreep/CoalMine/tree/3e46a56a54f4eec2f8eae4c53d5efca7d5c3ed80/skills/source-grounding -a cursor -g -y导入当前项目.agents/skills/source-grounding
npx skills add https://github.com/HetCreep/CoalMine/tree/3e46a56a54f4eec2f8eae4c53d5efca7d5c3ed80/skills/source-grounding -a gemini-cli -y导入个人环境~/.gemini/skills/source-grounding
npx skills add https://github.com/HetCreep/CoalMine/tree/3e46a56a54f4eec2f8eae4c53d5efca7d5c3ed80/skills/source-grounding -a gemini-cli -g -yNative Gemini CLI
gemini skills install https://github.com/HetCreep/CoalMine.git --scope workspace --path skills/source-grounding⚠ 安装命令使用开源 skills CLI。执行前请检查来源、脚本和权限。
Skill 指令
在 GitHub 查看原始文件 ↗# Source Grounding <!-- SHARED:LANGUAGE_HEADER --> Standing rule — active every response. No invocation needed for routine use. ## What to verify (not memory) - **CRITICAL** (always fetch or flag): API/SDK call signatures · library versions & deprecations · CVEs/security advisories · auth/crypto specs · LLM model IDs & params - **MEDIUM** (verify when unsure): package names · config keys · CLI flags · protocol specs - **LOW/stable**: math, algorithms, language syntax → memory fine ## How 1. Identify the version-sensitive claim. 2. Name the authoritative source (official docs, advisory DB, package registry, spec, source code). 3. Fetch (WebSearch/WebFetch/docs MCP) — or flag `⚠️ unverified: check [source]`. 4. Cite at CRITICAL/MEDIUM. Don't over-verify stable facts. Per-claim-type authoritative source map: read `references/sources.md` when choosing where to verify. ## Source hierarchy 1. Source code / spec / RFC — primary ground truth 2. Official/vendor docs — authoritative secondary (honor `.coalmine.json` `trustedDomains` if set: treat those domains as additional authoritative / tier-2 sources) 3. Multiple reputable third-party sources — triangulated 4. Single blog — weak; corroborate first 5. Training memory — weakest for volatile facts Non-interactive runs: log unfetchable claims as `⚠️ UNVERIFIED` and continue — never block. Interactive: when sources cannot be fetched, confirm how to proceed via `ask_question`. ## Output - Verified: `✅ [claim] — source: [link/file]` - Unverified: `⚠️ unverified — check [exact source]` - Stable fact: no annotation needed ## AUTHORITATIVE vs DIVERSE - **AUTHORITATIVE** (one ground truth): API/version/config/spec → go to the actual source code or official docs. - **DIVERSE** (triangulate ≥ 3): "what's best" / landscape / patterns → multiple repos + docs + community; note conflicts. <!-- SHARED:ORCHESTRATION --> <!-- SHARED:ESCALATION_FOOTER -->