[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CX1P01NNZDZKECEY60S273":3,"skill-same:01M7CX1P01NNZDZKECEY60S273":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},"01M7CX1P01NNZDZKECEY60S273","add-package",null,"Scaffold a new internal\u002F or pkg\u002F package (with unit tests) in a starterpack-go-cli project. Use when adding CLI-specific support code (a new internal\u002F helper) or a reusable library others could import (a new pkg\u002F package).","mtfuller\u002Fagentworks","mtfuller","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F8827772?v=4","01M7CX14Y5SM1380QNFB135MSH","Thomas Fuller","01M7CX14YTMWAKKZ743XPPP1RJ",0,"MIT","https:\u002F\u002Fgithub.com\u002Fmtfuller\u002Fagentworks\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fadd-package\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: add-package\ndescription: >\n  Scaffold a new internal\u002F or pkg\u002F package (with unit tests) in a starterpack-go-cli\n  project. Use when adding CLI-specific support code (a new internal\u002F helper) or a\n  reusable library others could import (a new pkg\u002F package).\n---\n\n# Add an internal\u002F or pkg\u002F package\n\n## Outcome\n\nA new `internal\u002F\u003Cname>\u002F` or `pkg\u002F\u003Cname>\u002F` directory with a package file, a\n`_test.go` file covering it, and (if it's meant to be used from `cmd\u002F`) at least one\ncall site wired in.\n\n## Choosing internal\u002F vs pkg\u002F\n\n- **`internal\u002F`** — code that only makes sense inside this CLI: talks to Cobra types,\n  formats terminal output, reads global flags, etc. Go's `internal\u002F` mechanism also\n  enforces this isn't importable from outside the module, which is a feature here, not\n  a limitation.\n- **`pkg\u002F`** — code with no CLI dependency that a *different* program could import\n  (business logic, data transforms, a client for some API). If you're unsure, ask: \"if\n  I deleted `cmd\u002F` entirely, would this code still make sense?\" — yes → `pkg\u002F`.\n\n## Contract\n\n- Directory: `internal\u002F\u003Cname>\u002F\u003Cname>.go` or `pkg\u002F\u003Cname>\u002F\u003Cname>.go`, package `\u003Cname>`\n  (lowercase, single word, matching the directory).\n- File layout: package → imports (stdlib, then external, then this module's own\n  packages) → constants → types → `init()` (rare) → constructors → methods → helpers.\n- Exported identifiers get a doc comment starting with the identifier's name (standard\n  Go convention — `go vet`\u002F`golint` expect this).\n- Errors: return `error`, wrap with `fmt.Errorf(\"\u003Ccontext>: %w\", err)` — don't\n  `log.Fatal`\u002F`os.Exit` from library code; that's the caller's decision.\n- No global mutable state beyond what `internal\u002Flogger` and `internal\u002Fcolor` already\n  establish as this project's pattern (a package-level logger\u002Fconfig instance is fine\n  if the package needs one, following their example).\n\n## Steps\n\n1. Create `\u003Cinternal|pkg>\u002F\u003Cname>\u002F\u003Cname>.go` with the package and its exported API.\n2. Create `\u003Cinternal|pkg>\u002F\u003Cname>\u002F\u003Cname>_test.go` in the same package (white-box access)\n   using table-driven tests and `testify\u002Fassert` for assertions, matching the style in\n   `internal\u002Flogger\u002Flogger_test.go` or `pkg\u002Fexample\u002Fexample_test.go`.\n   - Cover success and error paths.\n   - Mock\u002Favoid real filesystem or network access — inject dependencies or use\n     `bytes.Buffer`\u002Ftemp dirs with `t.Cleanup()`, as `internal\u002Flogger`'s tests do for\n     captured output.\n   - Aim for >80% coverage of the new package (`task coverage`).\n3. If this package is meant to be used by a command, wire the call site into the\n   relevant `cmd\u002F\u003Cname>.go` (see the `add-command` skill if the command doesn't exist\n   yet) and add\u002Fextend an integration test in `tests\u002Fintegration_test.go` that\n   exercises it end-to-end through the CLI.\n4. `gofmt -l \u003Cinternal|pkg>\u002F\u003Cname>\u002F` and `task test` before calling it done.\n","# Add an internal\u002F or pkg\u002F package\n\n## Outcome\n\nA new `internal\u002F\u003Cname>\u002F` or `pkg\u002F\u003Cname>\u002F` directory with a package file, a\n`_test.go` file covering it, and (if it's meant to be used from `cmd\u002F`) at least one\ncall site wired in.\n\n## Choosing internal\u002F vs pkg\u002F\n\n- **`internal\u002F`** — code that only makes sense inside this CLI: talks to Cobra types,\n  formats terminal output, reads global flags, etc. Go's `internal\u002F` mechanism also\n  enforces this isn't importable from outside the module, which is a feature here, not\n  a limitation.\n- **`pkg\u002F`** — code with no CLI dependency that a *different* program could import\n  (business logic, data transforms, a client for some API). If you're unsure, ask: \"if\n  I deleted `cmd\u002F` entirely, would this code still make sense?\" — yes → `pkg\u002F`.\n\n## Contract\n\n- Directory: `internal\u002F\u003Cname>\u002F\u003Cname>.go` or `pkg\u002F\u003Cname>\u002F\u003Cname>.go`, package `\u003Cname>`\n  (lowercase, single word, matching the directory).\n- File layout: package → imports (stdlib, then external, then this module's own\n  packages) → constants → types → `init()` (rare) → constructors → methods → helpers.\n- Exported identifiers get a doc comment starting with the identifier's name (standard\n  Go convention — `go vet`\u002F`golint` expect this).\n- Errors: return `error`, wrap with `fmt.Errorf(\"\u003Ccontext>: %w\", err)` — don't\n  `log.Fatal`\u002F`os.Exit` from library code; that's the caller's decision.\n- No global mutable state beyond what `internal\u002Flogger` and `internal\u002Fcolor` already\n  establish as this project's pattern (a package-level logger\u002Fconfig instance is fine\n  if the package needs one, following their example).\n\n## Steps\n\n1. Create `\u003Cinternal|pkg>\u002F\u003Cname>\u002F\u003Cname>.go` with the package and its exported API.\n2. Create `\u003Cinternal|pkg>\u002F\u003Cname>\u002F\u003Cname>_test.go` in the same package (white-box access)\n   using table-driven tests and `testify\u002Fassert` for assertions, matching the style in\n   `internal\u002Flogger\u002Flogger_test.go` or `pkg\u002Fexample\u002Fexample_test.go`.\n   - Cover success and error paths.\n   - Mock\u002Favoid real filesystem or network access — inject dependencies or use\n     `bytes.Buffer`\u002Ftemp dirs with `t.Cleanup()`, as `internal\u002Flogger`'s tests do for\n     captured output.\n   - Aim for >80% coverage of the new package (`task coverage`).\n3. If this package is meant to be used by a command, wire the call site into the\n   relevant `cmd\u002F\u003Cname>.go` (see the `add-command` skill if the command doesn't exist\n   yet) and add\u002Fextend an integration test in `tests\u002Fintegration_test.go` that\n   exercises it end-to-end through the CLI.\n4. `gofmt -l \u003Cinternal|pkg>\u002F\u003Cname>\u002F` and `task test` before calling it done.\n",{"name":5,"description":7},"main","03ffb239e6bb33e8070459c735e3dcdf9c4ed7a3",".claude\u002Fskills\u002Fadd-package","https:\u002F\u002Fgithub.com\u002Fmtfuller\u002Fagentworks","https:\u002F\u002Fgithub.com\u002Fmtfuller","https:\u002F\u002Fthomasfuller.codes","Software Developer • Interested in FinTech, Cloud, and Cryptography • Mandolin Novice • Follower of Christ","2026-10-07 02:40:35",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add mtfuller\u002Fagentworks --skill add-package",{"tool":38,"command":39},"bunx","bunx skills add mtfuller\u002Fagentworks --skill add-package",{"tool":41,"command":42},"pnpm","pnpm dlx skills add mtfuller\u002Fagentworks --skill add-package","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmtfuller\u002Fagentworks\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fadd-package\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},"01M7CX3086H3TA8RE2GBAJABVS","agentworks-evals","How to write and run behavior-eval cases for a skill or agent in this AgentWorks project: the evals\u002F*.yaml format, text, tool-call, and activation assertions, trigger cases, rubrics and a judge, runner protocols (text and json), repeated runs, and agentworks eval. Use when asked to test, evaluate, or regression-check how a skill or agent responds, or whether its description makes a model choose it.","https:\u002F\u002Fgithub.com\u002Fmtfuller\u002Fagentworks\u002Fblob\u002Fmain\u002Finternal\u002Fproject\u002Fembedded\u002Fskills\u002Fagentworks-evals\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},"01M7CX2VJVECW2YVR25G6ZNK71","agentworks-cli","How to scaffold, validate, build, test, run, export, import, and publish this project's agents, skills, MCP servers, and hooks with the agentworks CLI. Use whenever asked to add, change, check, ship, or import an artifact in this project.","https:\u002F\u002Fgithub.com\u002Fmtfuller\u002Fagentworks\u002Fblob\u002Fmain\u002Finternal\u002Fproject\u002Fembedded\u002Fskills\u002Fagentworks-cli\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},"01M7CX2Q2N4MXXYDGZGPJXDS2F","agentworks-author-skill","How to write or edit a skill in this AgentWorks project: skill.md frontmatter, the description that decides when it triggers, entrypoint\u002Fscripts\u002Ftests layout, and build\u002Ftest commands. Use when creating or changing anything under skills\u002F.","https:\u002F\u002Fgithub.com\u002Fmtfuller\u002Fagentworks\u002Fblob\u002Fmain\u002Finternal\u002Fproject\u002Fembedded\u002Fskills\u002Fagentworks-author-skill\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},"01M7CX2JEP9SFCS2XFYD3596NN","agentworks-author-mcp","How to write or edit an MCP server in this AgentWorks project: mcp.md frontmatter, local (stdio) versus remote (http\u002Fsse) servers, command, args, env and auth, source and tests layout, and the build, test, doctor, and run loop. Use when creating or changing anything under mcp\u002F.","https:\u002F\u002Fgithub.com\u002Fmtfuller\u002Fagentworks\u002Fblob\u002Fmain\u002Finternal\u002Fproject\u002Fembedded\u002Fskills\u002Fagentworks-author-mcp\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},"01M7CX2EVMY1M34F4RXAR03639","agentworks-author-hook","How to write or edit a lifecycle hook in this AgentWorks project: hook.md frontmatter, choosing vendor-specific event names, matchers and timeouts, the command it runs, and safety review. Use when creating or changing anything under hooks\u002F.","https:\u002F\u002Fgithub.com\u002Fmtfuller\u002Fagentworks\u002Fblob\u002Fmain\u002Finternal\u002Fproject\u002Fembedded\u002Fskills\u002Fagentworks-author-hook\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},"01M7CX2C1E06Y85KAYX6X7HD1Z","agentworks-author-agent","How to write or edit an agent (subagent) in this AgentWorks project: agent.md frontmatter, portable tools and model settings, writing the instructions, and resources. Use when creating or changing anything under agents\u002F.","https:\u002F\u002Fgithub.com\u002Fmtfuller\u002Fagentworks\u002Fblob\u002Fmain\u002Finternal\u002Fproject\u002Fembedded\u002Fskills\u002Fagentworks-author-agent\u002FSKILL.md",[],[]]