[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M752SCYY8BKY3HE6HET41FF7":3,"skill-same:01M752SCYY8BKY3HE6HET41FF7":42},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":8,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":14,"categories":15,"keywords":16,"publishedAt":17,"linkOnly":18,"markdownContent":19,"markdownBody":19,"frontMatter":20,"refName":21,"commitSha":22,"skillDirectory":23,"forksCount":24,"repositoryHtmlUrl":25,"repositoryHomepageUrl":6,"ownerHtmlUrl":26,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":27,"install":28,"resources":41},"01M752SCYY8BKY3HE6HET41FF7","sd-evidence-citation",null,"developzoneio\u002Fspecwright","developzoneio","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F288244965?v=4","01M752S4GQXBCH6H67H28M9HTN","01M752S4HXZ73BTCHG2K1VCYQA",10,"MIT","https:\u002F\u002Fgithub.com\u002Fdevelopzoneio\u002Fspecwright\u002Fblob\u002Fmain\u002Fskills\u002Fsd-evidence-citation\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"# sd-evidence-citation\n\nCitation discipline for specwright agents. Every finding, claim, or observation must be anchored to evidence. This skill applies to `sd-code-explorer`, `sd-debugger`, and `sd-reviewer`.\n\n---\n\n## The core rule\n\n**Every finding cites `file:line`.** Not `file`. Not `src\u002F`. Exactly `file:line`.\n\nA finding without a citation is not a finding — it is a guess. Re-prompt yourself before outputting.\n\n---\n\n## Citation formats by context\n\n### Code locations\n```\n`src\u002FPayments\u002FPaymentHandler.cs:84`\n```\nAlways use the relative path from the project root. Follow with a 1–5 line snippet showing the suspect logic (not more — tell the caller to `Read` directly for longer context).\n\n### Log lines\n```\n`logs\u002F2025-05-01T14:23:11Z` — \"NullReferenceException in PaymentHandler.ProcessAsync\"\n```\nSave raw log artifacts to `EVIDENCE_DIR\u002F\u003Chypothesis-id>-logs.txt`.\n\n### Database query results\nSave to `EVIDENCE_DIR\u002F\u003Chypothesis-id>-db.txt`. Cite as:\n```\n`EVIDENCE_DIR\u002FH1-db.txt` — EXPLAIN shows full-table scan on Orders (est. 1.2M rows)\n```\n\n### Web \u002F doc references\n```\n`https:\u002F\u002Fdocs.example.com\u002Fapi\u002Fv2\u002Ffoo` — \"Method returns null when the key does not exist (undocumented)\"\n```\n\n### Constitution references (reviewer)\n```\n§1.1 layer dependency direction\n§6 forbidden patterns\n```\nEvery BLOCK or WARN must pair a `file:line` with a `§N.M` anchor.\n\n---\n\n## What counts as evidence\n\n| Type | Acceptable | Not acceptable |\n|---|---|---|\n| Code | `file:line` + snippet | \"I recall the code does X\" |\n| Logs | Artifact path + quoted line | \"Logs probably show...\" |\n| DB | Query output (read-only) | \"The table is probably slow\" |\n| Library | `mcp__context7__query-docs` result | Training-data memory |\n| Web | `mcp__tavily__tavily_search` result + URL | General knowledge |\n\nIf evidence is unavailable (e.g. no prod log access), state it explicitly: \"Evidence unavailable — log access required. Marking INCONCLUSIVE.\"\n\n---\n\n## Snippet discipline\n\n- Snippets are **1 to 5 lines max**.\n- Longer context → instruct the caller: \"Read `src\u002F...\u002Ffoo.cs` lines 80–120 for full context.\"\n- Never truncate a snippet mid-expression (e.g., cut at the closing `}` if needed).\n- Redact secrets if logs appear in output.\n\n---\n\n## Output grouping\n\nWhen a query produces >5 results in one file, group them:\n```\n**`src\u002FOrders\u002FOrderService.cs`** (8 hits)\n  - :45  ...\n  - :112 ...\n  - :234 ...\n  (+ 5 more — narrow query or Read file directly)\n```\n\nTotal results per query: cap at 50. If hit, tell the caller: \"50-result cap reached — narrow the pattern.\"\n\n---\n\n## Anti-patterns\n\n- \"I noticed that...\" with no `file:line` — invalid. Re-prompt.\n- Trusting training-data memory over a live grep — stale by default; verify.\n- Citing a directory instead of a file (`src\u002FPayments\u002F` is not a citation).\n- Producing findings for vendored \u002F generated directories (`node_modules\u002F`, `bin\u002F`, `obj\u002F`) without explicit caller request.\n- Inventing log lines or fabricating query results — verifiable fraud; immediate trust loss.\n",{},"main","cb6a2aef549bb625b9ba1869d220d40938e83c18","skills\u002Fsd-evidence-citation",0,"https:\u002F\u002Fgithub.com\u002Fdevelopzoneio\u002Fspecwright","https:\u002F\u002Fgithub.com\u002Fdevelopzoneio","2026-11-11 17:12:43",{"source":7,"skillName":5,"commands":29,"prompt":39,"zipAvailable":40},[30,33,36],{"tool":31,"command":32},"npx","npx skills add developzoneio\u002Fspecwright --skill sd-evidence-citation",{"tool":34,"command":35},"bunx","bunx skills add developzoneio\u002Fspecwright --skill sd-evidence-citation",{"tool":37,"command":38},"pnpm","pnpm dlx skills add developzoneio\u002Fspecwright --skill sd-evidence-citation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdevelopzoneio\u002Fspecwright\u002Fblob\u002Fmain\u002Fskills\u002Fsd-evidence-citation\u002FSKILL.md",true,[],[43,49,54,60,65,70],{"skillNo":44,"name":45,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":8,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":46,"categories":47,"keywords":48,"publishedAt":17},"01M752V2C4FNMKBZTZETKKN70B","sd-model-escalation","https:\u002F\u002Fgithub.com\u002Fdevelopzoneio\u002Fspecwright\u002Fblob\u002Fmain\u002Ftests\u002Fcontract-lint\u002Ffixtures\u002Ffp-cl605-alias-list\u002Foverlay\u002Fskills\u002Fsd-model-escalation\u002FSKILL.md",[],[],{"skillNo":50,"name":45,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":8,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":17},"01M752V0C3S0BHSXZ4JM3B7MF2","https:\u002F\u002Fgithub.com\u002Fdevelopzoneio\u002Fspecwright\u002Fblob\u002Fmain\u002Ftests\u002Fcontract-lint\u002Ffixtures\u002Ffp-cl601-allow-comment\u002Foverlay\u002Fskills\u002Fsd-model-escalation\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":8,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":17},"01M752TYQZVASA2BTDRZB4N8W6","sd-demo-guard","https:\u002F\u002Fgithub.com\u002Fdevelopzoneio\u002Fspecwright\u002Fblob\u002Fmain\u002Ftests\u002Fcontract-lint\u002Ffixtures\u002Ffp-cl009-phrase-outside-phase0\u002Foverlay\u002Fskills\u002Fsd-demo-guard\u002FSKILL.md",[],[],{"skillNo":61,"name":45,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":8,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":17},"01M752TXBFQHK7NCDTZEBHZRFN","https:\u002F\u002Fgithub.com\u002Fdevelopzoneio\u002Fspecwright\u002Fblob\u002Fmain\u002Ftests\u002Fcontract-lint\u002Ffixtures\u002Fcl605-command-restates-ladder\u002Foverlay\u002Fskills\u002Fsd-model-escalation\u002FSKILL.md",[],[],{"skillNo":66,"name":45,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":8,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":17},"01M752TVDG89BJRTGFET80RCK2","https:\u002F\u002Fgithub.com\u002Fdevelopzoneio\u002Fspecwright\u002Fblob\u002Fmain\u002Ftests\u002Fcontract-lint\u002Ffixtures\u002Fcl604-row-skips-rung\u002Foverlay\u002Fskills\u002Fsd-model-escalation\u002FSKILL.md",[],[],{"skillNo":71,"name":45,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":8,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":17},"01M752TT6SD0SSK6Z0GQ4HM68P","https:\u002F\u002Fgithub.com\u002Fdevelopzoneio\u002Fspecwright\u002Fblob\u002Fmain\u002Ftests\u002Fcontract-lint\u002Ffixtures\u002Fcl603-full-model-id-in-row\u002Foverlay\u002Fskills\u002Fsd-model-escalation\u002FSKILL.md",[],[]]