[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-fc7dda29-0925-45d7-b151-9ffef5bebce5":3,"$fpHYLI0KaNjIJ17UAxiMaIkdbS2S6SfK6BVG9HDLjFdE":42},{"id":4,"title":5,"description":6,"categoryId":7,"moduleId":8,"tags":9,"prompt":10,"icon":11,"source":12,"sourceUrl":13,"authorId":14,"authorName":15,"isPublic":16,"stars":17,"runs":18,"createdAt":19,"updatedAt":19,"module":20,"category":27,"packages":33},"fc7dda29-0925-45d7-b151-9ffef5bebce5","agents-md","当用户请求“创建AGENTS.md”、“更新AGENTS.md”、“维护代理文档”、“设置CLAUDE.md”或需要保持代理指令简洁时，应使用此技能。强制执行基于研究的最佳实践，以实现最小化、高信号代理文档。","cat_coding_backend","mod_coding","sickn33,coding","---\nname: agents-md\ndescription: This skill should be used when the user asks to \"create AGENTS.md\", \"update AGENTS.md\", \"maintain agent docs\", \"set up CLAUDE.md\", or needs to keep agent instructions concise. Enforces research-backed best practices for minimal, high-signal agent documentation.\nrisk: unknown\nsource: community\n---\n\n# Maintaining AGENTS.md\n\nAGENTS.md is the canonical agent-facing documentation. Keep it minimal—agents are capable and don't need hand-holding. Target under 60 lines; never exceed 100. Instruction-following quality degrades as document length increases.\n\n## When to Use\n- The user asks to create, update, or audit `AGENTS.md` or `CLAUDE.md`.\n- The project needs concise, high-signal agent instructions derived from the actual toolchain and repo layout.\n- Existing agent documentation is too long, duplicated, or drifting away from real project conventions.\n\n## File Setup\n\n1. Create `AGENTS.md` at project root\n2. Create symlink: `ln -s AGENTS.md CLAUDE.md`\n\n## Before Writing\n\nAnalyze the project to understand what belongs in the file:\n\n1. **Package manager** — Check for lock files (`pnpm-lock.yaml`, `yarn.lock`, `package-lock.json`, `uv.lock`, `poetry.lock`)\n2. **Linter\u002Fformatter configs** — Look for `.eslintrc`, `biome.json`, `ruff.toml`, `.prettierrc`, etc. (don't duplicate these in AGENTS.md)\n3. **CI\u002Fbuild commands** — Check `Makefile`, `package.json` scripts, CI configs for canonical commands\n4. **Monorepo indicators** — Check for `pnpm-workspace.yaml`, `nx.json`, Cargo workspace, or subdirectory `package.json` files\n5. **Existing conventions** — Check for existing CONTRIBUTING.md, docs\u002F, or README patterns\n\n## Writing Rules\n\n- **Headers + bullets** — No paragraphs\n- **Code blocks** — For commands and templates\n- **Reference, don't embed** — Point to existing docs: \"See `CONTRIBUTING.md` for setup\" or \"Follow patterns in `src\u002Fapi\u002Froutes\u002F`\"\n- **No filler** — No intros, conclusions, or pleasantries\n- **Trust capabilities** — Omit obvious context\n- **Prefer file-scoped commands** — Per-file test\u002Flint\u002Ftypecheck commands over project-wide builds\n- **Don't duplicate linters** — Code style lives in linter configs, not AGENTS.md\n\n## Required Sections\n\n### Package Manager\nWhich tool and key commands only:\n```markdown\n## Package Manager\nUse **pnpm**: `pnpm install`, `pnpm dev`, `pnpm test`\n```\n\n### File-Scoped Commands\nPer-file commands are faster and cheaper than full project builds. Always include when available:\n```markdown\n## File-Scoped Commands\n| Task | Command |\n|------|---------|\n| Typecheck | `pnpm tsc --noEmit path\u002Fto\u002Ffile.ts` |\n| Lint | `pnpm eslint path\u002Fto\u002Ffile.ts` |\n| Test | `pnpm jest path\u002Fto\u002Ffile.test.ts` |\n```\n\n### Commit Attribution\nAlways include this section. Agents should use their own identity:\n```markdown\n## Commit Attribution\nAI commits MUST include:\n```\nCo-Authored-By: (the agent model's name and attribution byline)\n```\nExample: `Co-Authored-By: Claude Sonnet 4 \u003Cnoreply@example.com>`\n```\n\n### Key Conventions\nProject-specific patterns agents must follow. Keep brief.\n\n## Optional Sections\n\nAdd only if truly needed:\n- API route patterns (show template, not explanation)\n- CLI commands (table format)\n- File naming conventions\n- Project structure hints (point to critical files, flag legacy code to avoid)\n- Monorepo overrides (subdirectory `AGENTS.md` files override root)\n\n## Anti-Patterns\n\nOmit these:\n- \"Welcome to...\" or \"This document explains...\"\n- \"You should...\" or \"Remember to...\"\n- Linter\u002Fformatter rules already in config files (`.eslintrc`, `biome.json`, `ruff.toml`)\n- Listing installed skills or plugins (agents discover these automatically)\n- Full project-wide build commands when file-scoped alternatives exist\n- Obvious instructions (\"run tests\", \"write clean code\")\n- Explanations of why (just say what)\n- Long prose paragraphs\n\n## Example Structure\n\n```markdown\n# Agent Instructions\n\n## Package Manager\nUse **pnpm**: `pnpm install`, `pnpm dev`\n\n## Commit Attribution\nAI commits MUST include:\n```\nCo-Authored-By: (the agent model's name and attribution byline)\n```\n\n## File-Scoped Commands\n| Task | Command |\n|------|---------|\n| Typecheck | `pnpm tsc --noEmit path\u002Fto\u002Ffile.ts` |\n| Lint | `pnpm eslint path\u002Fto\u002Ffile.ts` |\n| Test | `pnpm jest path\u002Fto\u002Ffile.test.ts` |\n\n## API Routes\n[Template code block]\n\n## CLI\n| Command | Description |\n|---------|-------------|\n| `pnpm cli sync` | Sync data |\n```\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n","","imported","https:\u002F\u002Fgithub.com\u002Fsickn33\u002Fantigravity-awesome-skills","user_system_seed","SkillOPIC",true,190,1729,"2026-05-16 13:01:41",{"id":8,"name":21,"slug":22,"icon":23,"description":24,"sort":25,"createdAt":26},"编程开发","coding","mdi-code-braces","代码生成、调试、审查，提升开发效率",2,"2026-05-16 12:53:40",{"id":7,"name":28,"slug":29,"icon":30,"description":31,"moduleId":8,"sort":25,"skillCount":32,"createdAt":26},"后端开发","backend","mdi-server","API、数据库、服务端架构",296,[34],{"id":35,"skillId":4,"version":36,"fileName":37,"fileSize":38,"filePath":39,"fileHash":40,"manifest":41,"createdAt":19},"3d7bf422-0804-413f-8281-90e20cada056","1.0.0","agents-md.zip",2162,"uploads\u002Fskills\u002Ffc7dda29-0925-45d7-b151-9ffef5bebce5\u002Fagents-md.zip","04b4db4f72d30dabbac7a9d2470738c91bfd8f23f5eaa4a6edb5a3e5182a56af","[{\"path\":\"SKILL.md\",\"isDirectory\":false,\"size\":4752}]",{"code":43,"message":44,"data":45},200,"success",{"items":46,"stats":47,"page":50},[],{"averageRating":48,"totalRatings":48,"ratingCounts":49},0,[48,48,48,48,48],{"limit":51,"offset":48,"hasMore":52,"nextOffset":51,"ratedOnly":16},15,false]