[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EM7GP0BVE446KBT2SJBD4T":3,"skill-same:01M7EM7GP0BVE446KBT2SJBD4T":47},{"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":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M7EM7GP0BVE446KBT2SJBD4T","agent-tool-builder",null,"Design tools for AI agents — clean function interfaces, typed schemas, informative errors, idempotency, and tool documentation. Use when giving an agent new capabilities or fixing flaky tool use.","TanNhatCMS\u002Fjarvis","TanNhatCMS","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F113796420?v=4","01M753MV17KG5CD3152G3WQEQY","KietNT","01M7EKEDYVYQ6PWVJJMZ911VMX",0,"MIT","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-agent-tool-builder\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: agent-tool-builder\ndescription: Design tools for AI agents — clean function interfaces, typed schemas, informative errors, idempotency, and tool documentation. Use when giving an agent new capabilities or fixing flaky tool use.\ncategory: ai-research\n---\n\n# Agent Tool Builder\n\nTools are the agent's hands and senses. A well-designed tool is small, predictable, and \nself-documenting; a bad one is the source of most agent unreliability. Build tools like public APIs \n— because to the agent, they are.\n\n## Overview\n\nThe model sees only a tool's name, description, and schema. Everything else — side effects, \nlatency, failure modes — is invisible until it bites. Good tool design therefore means: narrow \nscope, explicit schemas, errors that explain how to recover, and descriptions written for a reader \nthat takes everything literally. Test each tool as a standalone function before the agent ever \ncalls it.\n\n## When to use\n\n- Adding a new capability to an agent (search, database, file ops, API calls).\n- The agent misuses an existing tool: wrong arguments, wrong tool chosen, ignoring errors.\n- Consolidating several overlapping tools into one clean interface.\n- Writing tools that wrap internal APIs for agent consumption.\n\n## Core concepts\n\n- **Single responsibility**: one tool, one job. A `search_orders` tool beats a `do_database_stuff` \ntool every time.\n- **Schema as documentation**: typed parameters with descriptions, enums for fixed choices, \nsensible defaults. The schema is the primary instruction the agent reads.\n- **Descriptive naming**: `get_customer_order_status`, not `query2`. Names should make the right \ntool choice obvious.\n- **Informative errors**: errors should say what went wrong and what to try next (\"order not found; \ntry listing orders for this customer with list_orders\").\n- **Idempotency**: repeated identical calls should be safe. Agents retry; design for it — use \nidempotency keys for writes.\n- **Least privilege**: each tool exposes only what the agent needs. A read-only variant for \nexploration, a write variant with stricter gating.\n\n## Practical workflow\n\n1. Write the tool's contract first: name, description, parameters, return shape, error cases — \nbefore any code.\n2. Implement it as a plain function with no agent-specific logic; test it standalone with \nrepresentative inputs.\n3. Write the description for a literal-minded reader: what it does, when to use it, what the \narguments mean, what errors mean.\n4. Add validation at the boundary: reject bad inputs with helpful messages rather than failing deep \ninside.\n5. Load-test the failure paths: timeouts, empty results, malformed data. The agent will hit all of \nthem.\n6. Version the tool contract; log every call with arguments for debugging agent behavior.\n\n```text\nTool contract template:\nNAME:   get_order_status\nDOES:   Returns current status + tracking for one order.\nARGS:   order_id (string, required) — the ID from list_orders\nRETURNS:{status, tracking_url, updated_at}\nERRORS: NOT_FOUND → use list_orders to find valid IDs\n        AUTH     → credentials missing; escalate to user\n```\n\n## Common pitfalls\n\n- **Vague descriptions**: \"queries the database.\" The agent can't choose tools it doesn't \nunderstand. Describe inputs, outputs, and when to use it.\n- **Mega-tools**: one tool with a mode parameter doing five things. Split them; the agent picks \ntools, not modes.\n- **Silent failures**: returning empty results or generic errors. The agent will hallucinate around \nthe gap — make errors loud and specific.\n- **Non-idempotent writes**: the agent retries a failed payment and charges twice. Design writes to \nbe safely repeatable.\n- **Leaking internals**: stack traces and internal IDs in tool output. Sanitize; give the agent \nactionable information.\n- **No logging**: when the agent misbehaves you need the call history. Log every invocation with \narguments and results.\n","# Agent Tool Builder\n\nTools are the agent's hands and senses. A well-designed tool is small, predictable, and \nself-documenting; a bad one is the source of most agent unreliability. Build tools like public APIs \n— because to the agent, they are.\n\n## Overview\n\nThe model sees only a tool's name, description, and schema. Everything else — side effects, \nlatency, failure modes — is invisible until it bites. Good tool design therefore means: narrow \nscope, explicit schemas, errors that explain how to recover, and descriptions written for a reader \nthat takes everything literally. Test each tool as a standalone function before the agent ever \ncalls it.\n\n## When to use\n\n- Adding a new capability to an agent (search, database, file ops, API calls).\n- The agent misuses an existing tool: wrong arguments, wrong tool chosen, ignoring errors.\n- Consolidating several overlapping tools into one clean interface.\n- Writing tools that wrap internal APIs for agent consumption.\n\n## Core concepts\n\n- **Single responsibility**: one tool, one job. A `search_orders` tool beats a `do_database_stuff` \ntool every time.\n- **Schema as documentation**: typed parameters with descriptions, enums for fixed choices, \nsensible defaults. The schema is the primary instruction the agent reads.\n- **Descriptive naming**: `get_customer_order_status`, not `query2`. Names should make the right \ntool choice obvious.\n- **Informative errors**: errors should say what went wrong and what to try next (\"order not found; \ntry listing orders for this customer with list_orders\").\n- **Idempotency**: repeated identical calls should be safe. Agents retry; design for it — use \nidempotency keys for writes.\n- **Least privilege**: each tool exposes only what the agent needs. A read-only variant for \nexploration, a write variant with stricter gating.\n\n## Practical workflow\n\n1. Write the tool's contract first: name, description, parameters, return shape, error cases — \nbefore any code.\n2. Implement it as a plain function with no agent-specific logic; test it standalone with \nrepresentative inputs.\n3. Write the description for a literal-minded reader: what it does, when to use it, what the \narguments mean, what errors mean.\n4. Add validation at the boundary: reject bad inputs with helpful messages rather than failing deep \ninside.\n5. Load-test the failure paths: timeouts, empty results, malformed data. The agent will hit all of \nthem.\n6. Version the tool contract; log every call with arguments for debugging agent behavior.\n\n```text\nTool contract template:\nNAME:   get_order_status\nDOES:   Returns current status + tracking for one order.\nARGS:   order_id (string, required) — the ID from list_orders\nRETURNS:{status, tracking_url, updated_at}\nERRORS: NOT_FOUND → use list_orders to find valid IDs\n        AUTH     → credentials missing; escalate to user\n```\n\n## Common pitfalls\n\n- **Vague descriptions**: \"queries the database.\" The agent can't choose tools it doesn't \nunderstand. Describe inputs, outputs, and when to use it.\n- **Mega-tools**: one tool with a mode parameter doing five things. Split them; the agent picks \ntools, not modes.\n- **Silent failures**: returning empty results or generic errors. The agent will hallucinate around \nthe gap — make errors loud and specific.\n- **Non-idempotent writes**: the agent retries a failed payment and charges twice. Design writes to \nbe safely repeatable.\n- **Leaking internals**: stack traces and internal IDs in tool output. Sanitize; give the agent \nactionable information.\n- **No logging**: when the agent misbehaves you need the call history. Log every invocation with \narguments and results.\n",{"name":5,"category":24,"description":7},"ai-research","main","af388a77c2fe5e0b4fd879cca4300a0ffa9a6579","skills\u002Fams-agent-tool-builder",1,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis","https:\u002F\u002Fgithub.com\u002FTanNhatCMS","https:\u002F\u002Fmrkiet.name.vn","2026-11-07 14:23:08",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add TanNhatCMS\u002Fjarvis --skill agent-tool-builder",{"tool":39,"command":40},"bunx","bunx skills add TanNhatCMS\u002Fjarvis --skill agent-tool-builder",{"tool":42,"command":43},"pnpm","pnpm dlx skills add TanNhatCMS\u002Fjarvis --skill agent-tool-builder","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-agent-tool-builder\u002FSKILL.md",true,[],[48,55,63,70,77,84],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7EWYJR0J8DARY7E59Z6Y9MV","web-scrape","Turn web pages into LLM-ready markdown via the Firecrawl API (renders JS, anti-bot handling). Use when browser_open\u002Ffetch fails on JS-heavy pages, or when you need clean markdown\u002Fstructured extraction from a site. Requires FIRECRAWL_API_KEY.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fweb-scrape\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":59,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7EWYBN5P6F2AJG3FR24T9BP","design-taste-frontend","tasteskill v2, the anti-slop frontend skill. Art direction for websites, distilled from a study of 247 curated gallery sites (One Page Love, Awwwards Sites of the Day). Deals researched directions (idea, composition, type, palette, photographs, section blueprints) from a library, enforces a strict no-slop house style with a real-browser inspector, and runs a look-and-fix loop on screenshots. Use this whenever you build, design, redesign, restyle, polish or review a landing page, marketing site, portfolio, product page, one-pager, hero or any public-facing web page, in any stack (HTML\u002FCSS, React, Next.js, Vue, Svelte, Astro, Tailwind) — also when the user says a page looks generic, templated, \"AI-made\", sloppy, or asks to make it look designed, premium, award-level or less like every other site. Not for dashboards or app screens.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Ftaste-design\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Ftaste-design\u002FSKILL.md",[],[],{"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":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7EWY8FQFNQ2GB7NZZWGSSDX","test-driven-development","Use when implementing any feature or bugfix, before writing implementation code","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-tdd\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7EWY5SHBFRH1HDHVWM9K7TV","systematic-debugging","Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-debugging\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7EWY3NM0Z0JAKS7HDZ24K66","requesting-code-review","Use when completing tasks, implementing major features, or before merging to verify work meets requirements","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-code-review\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7EWY0WRMWX4M9ZFY0WKC593","brainstorming","You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-brainstorming\u002FSKILL.md",[],[]]