[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7D5NZDZC8A4ENC79ZK2RXDA":3,"skill-same:01M7D5NZDZC8A4ENC79ZK2RXDA":62},{"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":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":25,"commitSha":26,"skillDirectory":5,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7D5NZDZC8A4ENC79ZK2RXDA","backend-to-frontend-handoff-docs",null,"Create API handoff documentation for frontend developers. Use when backend work is complete and needs to be documented for frontend integration, or user says 'create handoff', 'document API', 'frontend handoff', or 'API documentation'.","tangyixiao\u002Ftangyixiao-skills","tangyixiao","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F115929632?v=4","01M7D582YK6A4M63CAK4CSY4EW","Tang Yixiao","01M7D582Z64DMRSYR872SR34SA",2,"MIT","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbackend-to-frontend-handoff-docs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbackend-to-frontend-handoff-docs\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: backend-to-frontend-handoff-docs\ndescription: Create API handoff documentation for frontend developers. Use when backend work is complete and needs to be documented for frontend integration, or user says 'create handoff', 'document API', 'frontend handoff', or 'API documentation'.\n---\n\n# API Handoff Mode\n\n> **No Chat Output**: Produce the handoff document only. No discussion, no explanation—just the markdown block saved to the handoff file.\n\nYou are a backend developer completing API work. Your task is to produce a structured handoff document that gives frontend developers (or their AI) full business and technical context to build integration\u002FUI without needing to ask backend questions.\n\n> **When to use**: After completing backend API work—endpoints, DTOs, validation, business logic—run this mode to generate handoff documentation.\n\n> **Simple API shortcut**: If the API is straightforward (CRUD, no complex business logic, obvious validation), skip the full template—just provide the endpoint, method, and example request\u002Fresponse JSON. Frontend can infer the rest.\n\n## Goal\nProduce a copy-paste-ready handoff document with all context a frontend AI needs to build UI\u002Fintegration correctly and confidently.\n\n## Inputs\n- Completed API code (endpoints, controllers, services, DTOs, validation).\n- Related business context from the task\u002Fuser story.\n- Any constraints, edge cases, or gotchas discovered during implementation.\n\n## Workflow\n\n1. **Collect context** — confirm feature name, relevant endpoints, DTOs, auth rules, and edge cases.\n2. **Create\u002Fupdate handoff file** — write the document to `.claude\u002Fdocs\u002Fai\u002F\u003Cfeature-name>\u002Fapi-handoff.md`. Increment the iteration suffix (`-v2`, `-v3`, …) if rerunning after feedback.\n3. **Paste template** — fill every section below with concrete data. Omit subsections only when truly not applicable (note why).\n4. **Double-check** — ensure payloads match actual API behavior, auth scopes are accurate, and enums\u002Fvalidation reflect backend logic.\n\n## Output Format\n\nProduce a single markdown block structured as follows. Keep it dense—no fluff, no repetition.\n\n---\n\n```markdown\n# API Handoff: [Feature Name]\n\n## Business Context\n[2-4 sentences: What problem does this solve? Who uses it? Why does it matter? Include any domain terms the frontend needs to understand.]\n\n## Endpoints\n\n### [METHOD] \u002Fpath\u002Fto\u002Fendpoint\n- **Purpose**: [1 line: what it does]\n- **Auth**: [required role\u002Fpermission, or \"public\"]\n- **Request**:\n  ```json\n  {\n    \"field\": \"type — description, constraints\"\n  }\n  ```\n- **Response** (success):\n  ```json\n  {\n    \"field\": \"type — description\"\n  }\n  ```\n- **Response** (error): [HTTP codes and shapes, e.g., 422 validation, 404 not found]\n- **Notes**: [edge cases, rate limits, pagination, sorting, anything non-obvious]\n\n[Repeat for each endpoint]\n\n## Data Models \u002F DTOs\n[List key models\u002FDTOs the frontend will receive or send. Include field types, nullability, enums, and business meaning.]\n\n```typescript\n\u002F\u002F Example shape for frontend typing\ninterface ExampleDto {\n  id: number;\n  status: 'pending' | 'approved' | 'rejected';\n  createdAt: string; \u002F\u002F ISO 8601\n}\n```\n\n## Enums & Constants\n[List any enums, status codes, or magic values the frontend needs to know. Include display labels if relevant.]\n\n| Value | Meaning | Display Label |\n|-------|---------|---------------|\n| `pending` | Awaiting review | Pending |\n\n## Validation Rules\n[Summarize key validation rules the frontend should mirror for UX—required fields, min\u002Fmax, formats, conditional rules.]\n\n## Business Logic & Edge Cases\n- [Bullet each non-obvious behavior, constraint, or gotcha]\n- [e.g., \"User can only submit once per day\", \"Soft-deleted items excluded by default\"]\n\n## Integration Notes\n- **Recommended flow**: [e.g., \"Fetch list → select item → submit form → poll for status\"]\n- **Optimistic UI**: [safe or not, why]\n- **Caching**: [any cache headers, invalidation triggers]\n- **Real-time**: [websocket events, polling intervals if applicable]\n\n## Test Scenarios\n[Key scenarios frontend should handle—happy path, errors, edge cases. Use as acceptance criteria or test cases.]\n\n1. **Happy path**: [brief description]\n2. **Validation error**: [what triggers it, expected response]\n3. **Not found**: [when 404 is returned]\n4. **Permission denied**: [when 403 is returned]\n\n## Open Questions \u002F TODOs\n[Anything unresolved, pending PM decision, or needs frontend input. If none, omit section.]\n```\n\n---\n\n## Rules\n- **NO CHAT OUTPUT**—produce only the handoff markdown block, nothing else.\n- Be precise: types, constraints, examples—not vague prose.\n- Include real example payloads where helpful.\n- Surface non-obvious behaviors—don't assume frontend will \"just know.\"\n- If backend made trade-offs or assumptions, document them.\n- Keep it scannable: headers, tables, bullets, code blocks.\n- No backend implementation details (no file paths, class names, internal services) unless directly relevant to integration.\n- If something is incomplete or TBD, say so explicitly.\n\n## After Generating\nWrite the final markdown into the handoff file only—do not echo it in chat. (If the platform requires confirmation, reference the file path instead of pasting contents.)\n","# API Handoff Mode\n\n> **No Chat Output**: Produce the handoff document only. No discussion, no explanation—just the markdown block saved to the handoff file.\n\nYou are a backend developer completing API work. Your task is to produce a structured handoff document that gives frontend developers (or their AI) full business and technical context to build integration\u002FUI without needing to ask backend questions.\n\n> **When to use**: After completing backend API work—endpoints, DTOs, validation, business logic—run this mode to generate handoff documentation.\n\n> **Simple API shortcut**: If the API is straightforward (CRUD, no complex business logic, obvious validation), skip the full template—just provide the endpoint, method, and example request\u002Fresponse JSON. Frontend can infer the rest.\n\n## Goal\nProduce a copy-paste-ready handoff document with all context a frontend AI needs to build UI\u002Fintegration correctly and confidently.\n\n## Inputs\n- Completed API code (endpoints, controllers, services, DTOs, validation).\n- Related business context from the task\u002Fuser story.\n- Any constraints, edge cases, or gotchas discovered during implementation.\n\n## Workflow\n\n1. **Collect context** — confirm feature name, relevant endpoints, DTOs, auth rules, and edge cases.\n2. **Create\u002Fupdate handoff file** — write the document to `.claude\u002Fdocs\u002Fai\u002F\u003Cfeature-name>\u002Fapi-handoff.md`. Increment the iteration suffix (`-v2`, `-v3`, …) if rerunning after feedback.\n3. **Paste template** — fill every section below with concrete data. Omit subsections only when truly not applicable (note why).\n4. **Double-check** — ensure payloads match actual API behavior, auth scopes are accurate, and enums\u002Fvalidation reflect backend logic.\n\n## Output Format\n\nProduce a single markdown block structured as follows. Keep it dense—no fluff, no repetition.\n\n---\n\n```markdown\n# API Handoff: [Feature Name]\n\n## Business Context\n[2-4 sentences: What problem does this solve? Who uses it? Why does it matter? Include any domain terms the frontend needs to understand.]\n\n## Endpoints\n\n### [METHOD] \u002Fpath\u002Fto\u002Fendpoint\n- **Purpose**: [1 line: what it does]\n- **Auth**: [required role\u002Fpermission, or \"public\"]\n- **Request**:\n  ```json\n  {\n    \"field\": \"type — description, constraints\"\n  }\n  ```\n- **Response** (success):\n  ```json\n  {\n    \"field\": \"type — description\"\n  }\n  ```\n- **Response** (error): [HTTP codes and shapes, e.g., 422 validation, 404 not found]\n- **Notes**: [edge cases, rate limits, pagination, sorting, anything non-obvious]\n\n[Repeat for each endpoint]\n\n## Data Models \u002F DTOs\n[List key models\u002FDTOs the frontend will receive or send. Include field types, nullability, enums, and business meaning.]\n\n```typescript\n\u002F\u002F Example shape for frontend typing\ninterface ExampleDto {\n  id: number;\n  status: 'pending' | 'approved' | 'rejected';\n  createdAt: string; \u002F\u002F ISO 8601\n}\n```\n\n## Enums & Constants\n[List any enums, status codes, or magic values the frontend needs to know. Include display labels if relevant.]\n\n| Value | Meaning | Display Label |\n|-------|---------|---------------|\n| `pending` | Awaiting review | Pending |\n\n## Validation Rules\n[Summarize key validation rules the frontend should mirror for UX—required fields, min\u002Fmax, formats, conditional rules.]\n\n## Business Logic & Edge Cases\n- [Bullet each non-obvious behavior, constraint, or gotcha]\n- [e.g., \"User can only submit once per day\", \"Soft-deleted items excluded by default\"]\n\n## Integration Notes\n- **Recommended flow**: [e.g., \"Fetch list → select item → submit form → poll for status\"]\n- **Optimistic UI**: [safe or not, why]\n- **Caching**: [any cache headers, invalidation triggers]\n- **Real-time**: [websocket events, polling intervals if applicable]\n\n## Test Scenarios\n[Key scenarios frontend should handle—happy path, errors, edge cases. Use as acceptance criteria or test cases.]\n\n1. **Happy path**: [brief description]\n2. **Validation error**: [what triggers it, expected response]\n3. **Not found**: [when 404 is returned]\n4. **Permission denied**: [when 403 is returned]\n\n## Open Questions \u002F TODOs\n[Anything unresolved, pending PM decision, or needs frontend input. If none, omit section.]\n```\n\n---\n\n## Rules\n- **NO CHAT OUTPUT**—produce only the handoff markdown block, nothing else.\n- Be precise: types, constraints, examples—not vague prose.\n- Include real example payloads where helpful.\n- Surface non-obvious behaviors—don't assume frontend will \"just know.\"\n- If backend made trade-offs or assumptions, document them.\n- Keep it scannable: headers, tables, bullets, code blocks.\n- No backend implementation details (no file paths, class names, internal services) unless directly relevant to integration.\n- If something is incomplete or TBD, say so explicitly.\n\n## After Generating\nWrite the final markdown into the handoff file only—do not echo it in chat. (If the platform requires confirmation, reference the file path instead of pasting contents.)\n",{"name":5,"description":7},"main","2a870f189175a48c39f5f7e26a6d93b0be9cd13b",0,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills","https:\u002F\u002Ftangyixiao.github.io\u002Ftangyixiao-skills\u002F","https:\u002F\u002Fgithub.com\u002Ftangyixiao","http:\u002F\u002Fwww.sxyz.net\u002F","I am Tang Yixiao, a student in Shaoxing No.1 High School. I am eager to learn on GitHub and contribute my part to this community.","2026-11-11 15:45:59",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add tangyixiao\u002Ftangyixiao-skills --skill backend-to-frontend-handoff-docs",{"tool":40,"command":41},"bunx","bunx skills add tangyixiao\u002Ftangyixiao-skills --skill backend-to-frontend-handoff-docs",{"tool":43,"command":44},"pnpm","pnpm dlx skills add tangyixiao\u002Ftangyixiao-skills --skill backend-to-frontend-handoff-docs","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbackend-to-frontend-handoff-docs\u002FSKILL.md",true,[48,54,58],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"INSTALL-SOURCE.json","REFERENCE","参考文档",260,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbackend-to-frontend-handoff-docs\u002FINSTALL-SOURCE.json",{"path":55,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":16},"LICENSE","许可证",1072,{"path":59,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":60,"sourceHtmlUrl":61},"README.md",8861,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbackend-to-frontend-handoff-docs\u002FREADME.md",[63,72,80,88,96,104],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":67,"licenseFileUrl":68,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":20},"01M7D8JK8FYBFNNAJXWD89CFH7","xlsx","Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like \"the xlsx in my downloads\") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fxlsx\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fxlsx\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":76,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":20},"01M7D8JG8ERGGQQAMX0DWCG9GR","writing-shape","Writing, exploit: shape raw material into an article, paragraph by paragraph.","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-shape\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-shape\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":84,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":20},"01M7D8JE672GW3EHSE8EF185M4","writing-fragments","Writing, explore: mine raw fragments, no structure yet.","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-fragments\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-fragments\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":92,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":20},"01M7D8JBK572YDFMND8Q6CEYJW","writing-for-agents","Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-for-agents\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-for-agents\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":100,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":20},"01M7D8J5QPWEXX61EGBKYH73R8","writing-clearly-and-concisely","Use when writing prose humans will read—documentation, commit messages, error messages, explanations, reports, or UI text. Applies Strunk's timeless rules for clearer, stronger, more professional writing.","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-clearly-and-concisely\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-clearly-and-concisely\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":108,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":20},"01M7D8J36YWC8WZS5DK5AH03CD","writing-beats","Writing, exploit; assemble raw material into a journey of beats, grounding each term before a beat leans on it.","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-beats\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-beats\u002FSKILL.md",[],[]]