[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EV4STJJ81WPDFXPPEGXGP6":3,"skill-same:01M7EV4STJJ81WPDFXPPEGXGP6":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7EV4STJJ81WPDFXPPEGXGP6","check-citations",null,"Read-only citation audit for .tex files. Scans \\cite{} calls, validates each key against .bib file(s), flags non-pinpoint references (missing page number AND missing mathematical atom). Emits check-citations-report.{json,md} under \u003Cscratch-dir>\u002Fcitations\u002F. Used as the citation sub-skill of check-latex. Read-only: no Edit\u002FWrite\u002Fgit.","tdupu\u002Fagent-skills-public","tdupu","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F3440403?v=4","01M7EV32X9J0EFE5T4P8TKQTCQ","Taylor Dupuy","01M7EV32XZ1Z4MDBYAFRCJD3BP",0,"GPL-3.0","https:\u002F\u002Fgithub.com\u002Ftdupu\u002Fagent-skills-public\u002Fblob\u002Fmain\u002Fskills\u002Fcheck-citations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: check-citations\ndescription: >-\n  Read-only citation audit for .tex files. Scans \\cite{} calls, validates each key against .bib file(s), flags non-pinpoint references (missing page number AND missing mathematical atom). Emits check-citations-report.{json,md} under \u003Cscratch-dir>\u002Fcitations\u002F. Used as the citation sub-skill of check-latex. Read-only: no Edit\u002FWrite\u002Fgit.\n---\n\n> **STATUS: PRELIMINARY (DRY-RUN ONLY).** Read-only. Writes ONLY under\n> `\u003Cscratch-dir>\u002Fcitations\u002F`. No `Edit`\u002F`Write`\u002F`MultiEdit`\u002F`git commit`\n> \u002F`git push`\u002F`bd update`. This is a v0 preliminary per `he-cnat`.\n> Companion write-enabled skill: `clean-citations` (proposals mode in v0).\n\n# check-citations\n\nRead-only citation audit skill. Scans a `.tex` file for all `\\cite{}` calls,\nvalidates each key against the project's `.bib` file(s), and flags non-pinpoint\nreferences. Produces a structured report consumed by `clean-citations`.\n\n## When to use\n\nUse whenever you need to audit citation quality in a `.tex` file:\n- Before pushing a notes-tier `.tex` edit (the LaTeX gate requires citation evidence)\n- When `check-latex` composes you as part of its gate evidence block\n- To identify broken `.bib` keys or vague citations before submitting\n\n## Workflow\n\n1. **Locate the .bib file(s)** — search in this order:\n   - Same directory as the `.tex` file\n   - A sibling `refs\u002F` directory\n   - Record `bib_files: [], note: \"no .bib found\"` if neither is present\n\n2. **Enumerate citations** — scan the `.tex` file for all `\\cite{...}` patterns:\n   - `\\cite{key}`, `\\cite[optional]{key}`, `\\cite{key1,key2,...}`\n   - Split multi-key citations; record each key as a separate entry\n   - Capture: `key`, `tex_line`, `optional_arg` (or null), `context` (surrounding text excerpt)\n\n3. **Check bib_match** — for each cited key, check whether the key appears as\n   `@...{key,` in any discovered `.bib` file. Record `bib_match: true` or `false`.\n\n4. **Detect non-pinpoint citations** — a citation is **pinpoint** if its optional\n   argument contains at least one of:\n   - A **page reference**: matches `\\bp\\.?\\s*\\d`, `\\bpp\\.?\\s*\\d`, or `\\bpage\\b` followed by a number\n   - A **mathematical atom**: any of `Theorem`, `Proposition`, `Lemma`,\n     `Definition`, `Remark`, `Corollary`, `Example`, `Conjecture` (case-insensitive)\n   \n   A citation with no optional argument, or whose optional argument contains\n   neither a page reference nor a mathematical atom, is flagged `non_pinpoint: true`.\n   Otherwise record `non_pinpoint: false`.\n\n5. **Write the report** — create `\u003Cscratch-dir>\u002Fcitations\u002F`:\n   ```\n   check-citations-report.json   — JSON array of citation objects\n   check-citations-report.md     — human-readable Markdown table\n   ```\n   Use the current bead ID from context as `\u003Cbead>`. If no bead is active, use\n   a slug like `check-citations-\u003Cyyyy-mm-dd>`.\n\n   **JSON schema per entry:**\n   ```json\n   {\n     \"key\": \"smith1984\",\n     \"bib_match\": true,\n     \"non_pinpoint\": false,\n     \"tex_line\": 47,\n     \"optional_arg\": \"Theorem 3.1\",\n     \"context\": \"...see \\\\cite[Theorem 3.1]{smith1984} for the proof...\"\n   }\n   ```\n\n   **Markdown table format:**\n   ```markdown\n   | Key | bib_match | non_pinpoint | Line | Optional arg |\n   |-----|-----------|--------------|------|--------------|\n   | smith1984 | ✓ | ✗ | 47 | Theorem 3.1 |\n   ```\n\n6. **Empty case** — if the `.tex` file has no `\\cite{}` calls, write reports\n   with `citations: []` and a note `\"no citations found in \u003Cfilename>\"`.\n   Do NOT raise an error.\n\n## Report output contract\n\n- The JSON report at `check-citations-report.json` has top-level structure:\n  ```json\n  {\n    \"tex_file\": \"\u003Cabsolute path>\",\n    \"bib_files\": [\"\u003Cpath>\", ...],\n    \"note\": \"\u003Cnote if no bib found>\",\n    \"citations\": [...]\n  }\n  ```\n- The Markdown report summarizes the same data as a table plus a brief header.\n- Neither report file modifies any `.tex` or `.bib` file.\n\n## Read-only constraint\n\nThis skill is **entirely read-only**:\n- Use `Read`, `Bash` (read-only commands: `grep`, `find`, `cat`, `ls`), and\n  `Write` ONLY for the two report files under `\u003Cscratch-dir>\u002Fcitations\u002F`.\n- Never call `Edit`, `MultiEdit`, or any write-to-source-file pattern.\n- Never run `git commit`, `git push`, `git add`, or `git checkout`.\n- Never call `bd update` or any bead-mutation command.\n\n## Cross-reference\n\n`clean-citations` is the companion write-enabled skill. It reads\n`check-citations-report.json` produced by this skill and emits proposed\ncitation corrections (proposals-mode in v0; in-place writes in v1).\nRun `check-citations` first, then pass its report path to `clean-citations`.\n\n## Examples\n\n**Broken citation detected:**\n```\ntex: \\cite{smith1984}     bib: no \"smith1984\" entry\n→ {key: \"smith1984\", bib_match: false, non_pinpoint: true}\n```\n\n**Non-pinpoint citation flagged:**\n```\ntex: \\cite{jones2020}     (no optional arg)\nbib: \"jones2020\" entry exists\n→ {key: \"jones2020\", bib_match: true, non_pinpoint: true}\n```\n\n**Pinpoint citation accepted:**\n```\ntex: \\cite[Theorem 2.3]{jones2020}\nbib: \"jones2020\" entry exists\n→ {key: \"jones2020\", bib_match: true, non_pinpoint: false}\n```\n\n**Empty file:**\n```\ntex: hyperboloid.tex (0 \\cite{} calls)\n→ {citations: [], note: \"no citations found in hyperboloid.tex\"}\n```\n","> **STATUS: PRELIMINARY (DRY-RUN ONLY).** Read-only. Writes ONLY under\n> `\u003Cscratch-dir>\u002Fcitations\u002F`. No `Edit`\u002F`Write`\u002F`MultiEdit`\u002F`git commit`\n> \u002F`git push`\u002F`bd update`. This is a v0 preliminary per `he-cnat`.\n> Companion write-enabled skill: `clean-citations` (proposals mode in v0).\n\n# check-citations\n\nRead-only citation audit skill. Scans a `.tex` file for all `\\cite{}` calls,\nvalidates each key against the project's `.bib` file(s), and flags non-pinpoint\nreferences. Produces a structured report consumed by `clean-citations`.\n\n## When to use\n\nUse whenever you need to audit citation quality in a `.tex` file:\n- Before pushing a notes-tier `.tex` edit (the LaTeX gate requires citation evidence)\n- When `check-latex` composes you as part of its gate evidence block\n- To identify broken `.bib` keys or vague citations before submitting\n\n## Workflow\n\n1. **Locate the .bib file(s)** — search in this order:\n   - Same directory as the `.tex` file\n   - A sibling `refs\u002F` directory\n   - Record `bib_files: [], note: \"no .bib found\"` if neither is present\n\n2. **Enumerate citations** — scan the `.tex` file for all `\\cite{...}` patterns:\n   - `\\cite{key}`, `\\cite[optional]{key}`, `\\cite{key1,key2,...}`\n   - Split multi-key citations; record each key as a separate entry\n   - Capture: `key`, `tex_line`, `optional_arg` (or null), `context` (surrounding text excerpt)\n\n3. **Check bib_match** — for each cited key, check whether the key appears as\n   `@...{key,` in any discovered `.bib` file. Record `bib_match: true` or `false`.\n\n4. **Detect non-pinpoint citations** — a citation is **pinpoint** if its optional\n   argument contains at least one of:\n   - A **page reference**: matches `\\bp\\.?\\s*\\d`, `\\bpp\\.?\\s*\\d`, or `\\bpage\\b` followed by a number\n   - A **mathematical atom**: any of `Theorem`, `Proposition`, `Lemma`,\n     `Definition`, `Remark`, `Corollary`, `Example`, `Conjecture` (case-insensitive)\n   \n   A citation with no optional argument, or whose optional argument contains\n   neither a page reference nor a mathematical atom, is flagged `non_pinpoint: true`.\n   Otherwise record `non_pinpoint: false`.\n\n5. **Write the report** — create `\u003Cscratch-dir>\u002Fcitations\u002F`:\n   ```\n   check-citations-report.json   — JSON array of citation objects\n   check-citations-report.md     — human-readable Markdown table\n   ```\n   Use the current bead ID from context as `\u003Cbead>`. If no bead is active, use\n   a slug like `check-citations-\u003Cyyyy-mm-dd>`.\n\n   **JSON schema per entry:**\n   ```json\n   {\n     \"key\": \"smith1984\",\n     \"bib_match\": true,\n     \"non_pinpoint\": false,\n     \"tex_line\": 47,\n     \"optional_arg\": \"Theorem 3.1\",\n     \"context\": \"...see \\\\cite[Theorem 3.1]{smith1984} for the proof...\"\n   }\n   ```\n\n   **Markdown table format:**\n   ```markdown\n   | Key | bib_match | non_pinpoint | Line | Optional arg |\n   |-----|-----------|--------------|------|--------------|\n   | smith1984 | ✓ | ✗ | 47 | Theorem 3.1 |\n   ```\n\n6. **Empty case** — if the `.tex` file has no `\\cite{}` calls, write reports\n   with `citations: []` and a note `\"no citations found in \u003Cfilename>\"`.\n   Do NOT raise an error.\n\n## Report output contract\n\n- The JSON report at `check-citations-report.json` has top-level structure:\n  ```json\n  {\n    \"tex_file\": \"\u003Cabsolute path>\",\n    \"bib_files\": [\"\u003Cpath>\", ...],\n    \"note\": \"\u003Cnote if no bib found>\",\n    \"citations\": [...]\n  }\n  ```\n- The Markdown report summarizes the same data as a table plus a brief header.\n- Neither report file modifies any `.tex` or `.bib` file.\n\n## Read-only constraint\n\nThis skill is **entirely read-only**:\n- Use `Read`, `Bash` (read-only commands: `grep`, `find`, `cat`, `ls`), and\n  `Write` ONLY for the two report files under `\u003Cscratch-dir>\u002Fcitations\u002F`.\n- Never call `Edit`, `MultiEdit`, or any write-to-source-file pattern.\n- Never run `git commit`, `git push`, `git add`, or `git checkout`.\n- Never call `bd update` or any bead-mutation command.\n\n## Cross-reference\n\n`clean-citations` is the companion write-enabled skill. It reads\n`check-citations-report.json` produced by this skill and emits proposed\ncitation corrections (proposals-mode in v0; in-place writes in v1).\nRun `check-citations` first, then pass its report path to `clean-citations`.\n\n## Examples\n\n**Broken citation detected:**\n```\ntex: \\cite{smith1984}     bib: no \"smith1984\" entry\n→ {key: \"smith1984\", bib_match: false, non_pinpoint: true}\n```\n\n**Non-pinpoint citation flagged:**\n```\ntex: \\cite{jones2020}     (no optional arg)\nbib: \"jones2020\" entry exists\n→ {key: \"jones2020\", bib_match: true, non_pinpoint: true}\n```\n\n**Pinpoint citation accepted:**\n```\ntex: \\cite[Theorem 2.3]{jones2020}\nbib: \"jones2020\" entry exists\n→ {key: \"jones2020\", bib_match: true, non_pinpoint: false}\n```\n\n**Empty file:**\n```\ntex: hyperboloid.tex (0 \\cite{} calls)\n→ {citations: [], note: \"no citations found in hyperboloid.tex\"}\n```\n",{"name":5,"description":7},"main","8d13efb5e66306aeae6e3b948bc463e7e2db1b65","skills\u002Fcheck-citations","https:\u002F\u002Fgithub.com\u002Ftdupu\u002Fagent-skills-public","https:\u002F\u002Fgithub.com\u002Ftdupu","https:\u002F\u002Ftdupu.github.io\u002Findex.html","Associate Professor, Department of Mathematics and Statistics, University of Vermont --- last updated Fall 2019","2026-11-13 09:07:19",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add tdupu\u002Fagent-skills-public --skill check-citations",{"tool":38,"command":39},"bunx","bunx skills add tdupu\u002Fagent-skills-public --skill check-citations",{"tool":41,"command":42},"pnpm","pnpm dlx skills add tdupu\u002Fagent-skills-public --skill check-citations","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ftdupu\u002Fagent-skills-public\u002Fblob\u002Fmain\u002Fskills\u002Fcheck-citations\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7EW4PT586KKE7VRCAD80Z9K","writing-skills","Use when creating new skills, editing existing skills, or verifying skills work before deployment","https:\u002F\u002Fgithub.com\u002Ftdupu\u002Fagent-skills-public\u002Fblob\u002Fmain\u002Fsuperpowers\u002Fskills\u002Fwriting-skills\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7EW4HV5V74AF3PTV8N4T0PS","writing-plans","Use when you have a spec or requirements for a multi-step task, before touching code","https:\u002F\u002Fgithub.com\u002Ftdupu\u002Fagent-skills-public\u002Fblob\u002Fmain\u002Fsuperpowers\u002Fskills\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7EW4DNKGP5CR1RAJP2J9PHA","verification-before-completion","Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always","https:\u002F\u002Fgithub.com\u002Ftdupu\u002Fagent-skills-public\u002Fblob\u002Fmain\u002Fsuperpowers\u002Fskills\u002Fverification-before-completion\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7EW4BA2QP88VBFVXDVJM7XQ","using-superpowers","Use when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions","https:\u002F\u002Fgithub.com\u002Ftdupu\u002Fagent-skills-public\u002Fblob\u002Fmain\u002Fsuperpowers\u002Fskills\u002Fusing-superpowers\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7EW47F2JG5FBESDJNP3PKMV","using-git-worktrees","Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback","https:\u002F\u002Fgithub.com\u002Ftdupu\u002Fagent-skills-public\u002Fblob\u002Fmain\u002Fsuperpowers\u002Fskills\u002Fusing-git-worktrees\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7EW44N8556Y556NX9HJT4KP","test-driven-development","Use when implementing any feature or bugfix, before writing implementation code","https:\u002F\u002Fgithub.com\u002Ftdupu\u002Fagent-skills-public\u002Fblob\u002Fmain\u002Fsuperpowers\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[]]