[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79ZRNHJBTWYKT6EJRHTGNVP":3,"skill-same:01M79ZRNHJBTWYKT6EJRHTGNVP":81},{"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":6,"updatedAt":30,"install":31,"resources":44},"01M79ZRNHJBTWYKT6EJRHTGNVP","write-citations",null,"Create or update a CITATION.cff for a skill or repo from provenance-backed references under references\u002F. Use when adding, updating, or maintaining citations, citable metadata, preferred citation, authors, DOI, or attribution.","ibuchanan\u002Fagent-skills-toolkit","ibuchanan","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F763608?v=4","01M79ZQ46CZZNC1F9MRXDKY2RY","Ian Buchanan","01M79ZQ470HC1SXES60G385EJX",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fibuchanan\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fresearch-references\u002Fevals\u002Ffixtures\u002Fproject\u002F.claude\u002Fskills\u002Fwrite-citations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: write-citations\ndescription: Create or update a CITATION.cff for a skill or repo from provenance-backed references under references\u002F. Use when adding, updating, or maintaining citations, citable metadata, preferred citation, authors, DOI, or attribution.\n---\n\n# Write Citations\n\nCreate or update a `CITATION.cff` file for a skill or repo by reading the provenance-backed references already gathered under the skill's `references\u002F` directory.\n\nThis skill is the author-side counterpart to `validate-cff`. It synthesizes existing sources into CFF 1.2.0 metadata; it does not discover new sources or check schema validity.\n\n## Scope\n\n### Trigger when the user wants to\n\n- Create or update a `CITATION.cff`.\n- Add citations, citable metadata, preferred citation, author metadata, DOI\u002FZenodo, or attribution for a skill or repo.\n\n### Redirect instead of triggering when\n\n- The user wants to validate an existing `CITATION.cff` → hand off to `validate-cff`.\n- The user wants to find or download sources → hand off to `research-references`.\n- The user wants to cite a paper or add a README bibliography → hand off to `research-references` or general writing help.\n- The user wants to list references in a spec → hand off to spec-writing or `research-references`.\n\n## Workflow\n\n1. **Identify the target directory.**\n   - Default to the skill root: the directory containing the nearest `SKILL.md` upward from the current working directory.\n   - Only use a different directory if the user explicitly provides one.\n\n2. **Gather inputs.**\n   - Read the existing `CITATION.cff` in the target directory, if present.\n   - Discover all `references\u002F**\u002F*.md` files under the target directory.\n   - Parse each reference's OKF frontmatter for fields that map to CFF (title, author, date, license, DOI, URL, etc.).\n   - Accept any explicit metadata the user provided (title, version, authors, license, DOI).\n\n3. **Synthesize a CFF draft.**\n   - Map reference fields to CFF 1.2.0 fields using the bundled CFF references.\n   - Required fields: `cff-version: 1.2.0`, `message`, `title`, `authors`.\n   - Authors must be either a person (`family-names` + `given-names`) or an entity (`name`).\n   - Do not invent authors, titles, or identifiers not present in the references or explicit user input.\n\n4. **Write or propose.**\n   - If no `CITATION.cff` exists, write the file immediately and show the result.\n   - If a `CITATION.cff` exists, explain the mapping and the diff, then confirm before writing.\n   - Preserve fields that are already correct in the existing file.\n\n5. **Report.**\n   - Summarize which reference contributed which fields.\n   - Mention any required fields that were not determined from the references or explicit input and were left empty or filled with a placeholder.\n\n## Boundaries & safety\n\n- Do not invent references or authors.\n- Do not suggest authors from git history or GitHub metadata.\n- Do not fetch or research new sources.\n- Do not validate the file; rely on the CFF references and `validate-cff` for validation.\n- Never overwrite an existing `CITATION.cff` without explaining the diff and confirming.\n- Preserve personal identifiers (ORCID, email) only when they are already present in the references or explicitly provided.\n\n## Reference load triggers\n\n- Read `references\u002Fcitation-file-format-SUMMARY.md` for a top-level CFF map and fast rules.\n- Read `references\u002Fcitation-file-format-authoring.md` when deciding root-level fields and the minimal template.\n- Read `references\u002Fcitation-file-format-people-and-identifiers.md` when mapping authors, entities, ORCIDs, or contacts.\n- Read `references\u002Fcitation-file-format-references.md` when handling `preferred-citation` or related-work citations.\n- Read `references\u002Fcitation-file-format-validation.md` when checking file naming or schema validity conventions.\n- Read `references\u002Fvalidate-cff.ts` to understand the exact validation rules the output must satisfy.\n- Read `references\u002FCITATION.cff` for a working example.\n","# Write Citations\n\nCreate or update a `CITATION.cff` file for a skill or repo by reading the provenance-backed references already gathered under the skill's `references\u002F` directory.\n\nThis skill is the author-side counterpart to `validate-cff`. It synthesizes existing sources into CFF 1.2.0 metadata; it does not discover new sources or check schema validity.\n\n## Scope\n\n### Trigger when the user wants to\n\n- Create or update a `CITATION.cff`.\n- Add citations, citable metadata, preferred citation, author metadata, DOI\u002FZenodo, or attribution for a skill or repo.\n\n### Redirect instead of triggering when\n\n- The user wants to validate an existing `CITATION.cff` → hand off to `validate-cff`.\n- The user wants to find or download sources → hand off to `research-references`.\n- The user wants to cite a paper or add a README bibliography → hand off to `research-references` or general writing help.\n- The user wants to list references in a spec → hand off to spec-writing or `research-references`.\n\n## Workflow\n\n1. **Identify the target directory.**\n   - Default to the skill root: the directory containing the nearest `SKILL.md` upward from the current working directory.\n   - Only use a different directory if the user explicitly provides one.\n\n2. **Gather inputs.**\n   - Read the existing `CITATION.cff` in the target directory, if present.\n   - Discover all `references\u002F**\u002F*.md` files under the target directory.\n   - Parse each reference's OKF frontmatter for fields that map to CFF (title, author, date, license, DOI, URL, etc.).\n   - Accept any explicit metadata the user provided (title, version, authors, license, DOI).\n\n3. **Synthesize a CFF draft.**\n   - Map reference fields to CFF 1.2.0 fields using the bundled CFF references.\n   - Required fields: `cff-version: 1.2.0`, `message`, `title`, `authors`.\n   - Authors must be either a person (`family-names` + `given-names`) or an entity (`name`).\n   - Do not invent authors, titles, or identifiers not present in the references or explicit user input.\n\n4. **Write or propose.**\n   - If no `CITATION.cff` exists, write the file immediately and show the result.\n   - If a `CITATION.cff` exists, explain the mapping and the diff, then confirm before writing.\n   - Preserve fields that are already correct in the existing file.\n\n5. **Report.**\n   - Summarize which reference contributed which fields.\n   - Mention any required fields that were not determined from the references or explicit input and were left empty or filled with a placeholder.\n\n## Boundaries & safety\n\n- Do not invent references or authors.\n- Do not suggest authors from git history or GitHub metadata.\n- Do not fetch or research new sources.\n- Do not validate the file; rely on the CFF references and `validate-cff` for validation.\n- Never overwrite an existing `CITATION.cff` without explaining the diff and confirming.\n- Preserve personal identifiers (ORCID, email) only when they are already present in the references or explicitly provided.\n\n## Reference load triggers\n\n- Read `references\u002Fcitation-file-format-SUMMARY.md` for a top-level CFF map and fast rules.\n- Read `references\u002Fcitation-file-format-authoring.md` when deciding root-level fields and the minimal template.\n- Read `references\u002Fcitation-file-format-people-and-identifiers.md` when mapping authors, entities, ORCIDs, or contacts.\n- Read `references\u002Fcitation-file-format-references.md` when handling `preferred-citation` or related-work citations.\n- Read `references\u002Fcitation-file-format-validation.md` when checking file naming or schema validity conventions.\n- Read `references\u002Fvalidate-cff.ts` to understand the exact validation rules the output must satisfy.\n- Read `references\u002FCITATION.cff` for a working example.\n",{"name":5,"description":7},"main","b70f6cbe065a147d493666d1405efacfc2633df0","skills\u002Fresearch-references\u002Fevals\u002Ffixtures\u002Fproject\u002F.claude\u002Fskills\u002Fwrite-citations","https:\u002F\u002Fgithub.com\u002Fibuchanan\u002Fagent-skills-toolkit","https:\u002F\u002Fgithub.com\u002Fibuchanan","https:\u002F\u002Fdeveloper.atlassian.com\u002Fblog\u002Fauthors\u002Fibuchanan\u002F","2026-11-15 03:58:15",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add ibuchanan\u002Fagent-skills-toolkit --skill write-citations",{"tool":37,"command":38},"bunx","bunx skills add ibuchanan\u002Fagent-skills-toolkit --skill write-citations",{"tool":40,"command":41},"pnpm","pnpm dlx skills add ibuchanan\u002Fagent-skills-toolkit --skill write-citations","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fibuchanan\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fresearch-references\u002Fevals\u002Ffixtures\u002Fproject\u002F.claude\u002Fskills\u002Fwrite-citations\u002FSKILL.md",true,[45,51,55,59,63,67,71,75],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"cspell-words.txt","REFERENCE","参考文档",7,"https:\u002F\u002Fgithub.com\u002Fibuchanan\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fresearch-references\u002Fevals\u002Ffixtures\u002Fproject\u002F.claude\u002Fskills\u002Fwrite-citations\u002Fcspell-words.txt",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fcitation-file-format-authoring.md",1976,"https:\u002F\u002Fgithub.com\u002Fibuchanan\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fresearch-references\u002Fevals\u002Ffixtures\u002Fproject\u002F.claude\u002Fskills\u002Fwrite-citations\u002Freferences\u002Fcitation-file-format-authoring.md",{"path":56,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fcitation-file-format-people-and-identifiers.md",1985,"https:\u002F\u002Fgithub.com\u002Fibuchanan\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fresearch-references\u002Fevals\u002Ffixtures\u002Fproject\u002F.claude\u002Fskills\u002Fwrite-citations\u002Freferences\u002Fcitation-file-format-people-and-identifiers.md",{"path":60,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Fcitation-file-format-references.md",1911,"https:\u002F\u002Fgithub.com\u002Fibuchanan\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fresearch-references\u002Fevals\u002Ffixtures\u002Fproject\u002F.claude\u002Fskills\u002Fwrite-citations\u002Freferences\u002Fcitation-file-format-references.md",{"path":64,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":65,"sourceHtmlUrl":66},"references\u002Fcitation-file-format-SUMMARY.md",2101,"https:\u002F\u002Fgithub.com\u002Fibuchanan\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fresearch-references\u002Fevals\u002Ffixtures\u002Fproject\u002F.claude\u002Fskills\u002Fwrite-citations\u002Freferences\u002Fcitation-file-format-SUMMARY.md",{"path":68,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":69,"sourceHtmlUrl":70},"references\u002Fcitation-file-format-validation.md",1543,"https:\u002F\u002Fgithub.com\u002Fibuchanan\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fresearch-references\u002Fevals\u002Ffixtures\u002Fproject\u002F.claude\u002Fskills\u002Fwrite-citations\u002Freferences\u002Fcitation-file-format-validation.md",{"path":72,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002FCITATION.cff",556,"https:\u002F\u002Fgithub.com\u002Fibuchanan\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fresearch-references\u002Fevals\u002Ffixtures\u002Fproject\u002F.claude\u002Fskills\u002Fwrite-citations\u002Freferences\u002FCITATION.cff",{"path":76,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":79,"sourceHtmlUrl":80},"references\u002Fvalidate-cff.ts","SCRIPT","脚本",3087,"https:\u002F\u002Fgithub.com\u002Fibuchanan\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fresearch-references\u002Fevals\u002Ffixtures\u002Fproject\u002F.claude\u002Fskills\u002Fwrite-citations\u002Freferences\u002Fvalidate-cff.ts",[82,89,96,101,108,115],{"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},"01M7BEVBHEW1WCPD3ZN93861J8","develop-skill","Author or revise agent skill instructions from a spec or clear intent. Use for initial authoring, evidence-led instruction repair, or restructuring. Redirect specialist-only research, activation repair, citation, eval, and management tasks.","https:\u002F\u002Fgithub.com\u002Fibuchanan\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fdevelop-skill\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M7BEV3P3RR9V2H5C7FQF1VX0","capture-microskill","Encode human-selected CLI or MCP tool lessons into single-file Agent Skills. Use when asked to capture lessons or merge them into a microskill. Not for discovering lessons, diagnosing failures, or documenting general practices.","https:\u002F\u002Fgithub.com\u002Fibuchanan\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fcapture-microskill\u002FSKILL.md",[],[],{"skillNo":97,"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":98,"categories":99,"keywords":100,"publishedAt":19},"01M79ZS3ENBFH4Q0MZBG7WF1G7","https:\u002F\u002Fgithub.com\u002Fibuchanan\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fwrite-citations\u002Fevals\u002Ffixtures\u002Fproject\u002F.claude\u002Fskills\u002Fwrite-citations\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":19},"01M79ZS29P3TY02Q60ERANRDD8","new-skill","A sample skill for testing write-citations.","https:\u002F\u002Fgithub.com\u002Fibuchanan\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fwrite-citations\u002Fevals\u002Ffixtures\u002Fproject\u002F.claude\u002Fskills\u002Fnew-skill\u002FSKILL.md",[],[],{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":19},"01M79ZS171FWCCP5XNHP39T8P2","existing-skill","A sample skill for testing write-citations updates.","https:\u002F\u002Fgithub.com\u002Fibuchanan\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fwrite-citations\u002Fevals\u002Ffixtures\u002Fproject\u002F.claude\u002Fskills\u002Fexisting-skill\u002FSKILL.md",[],[],{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":19},"01M79ZRZZ2892XE6FBTH9M6BW6","empty-skill","A sample skill with no references for testing write-citations edge cases.","https:\u002F\u002Fgithub.com\u002Fibuchanan\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fwrite-citations\u002Fevals\u002Ffixtures\u002Fproject\u002F.claude\u002Fskills\u002Fempty-skill\u002FSKILL.md",[],[]]