hive-skills 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (238) hide show
  1. package/LICENSE +28 -0
  2. package/README.md +235 -0
  3. package/assets/LICENSE +32 -0
  4. package/assets/THIRD_PARTY_NOTICES.md +72 -0
  5. package/assets/manifest.json +1290 -0
  6. package/assets/skills/authored/code-review/composable/BUNDLE.md +192 -0
  7. package/assets/skills/authored/code-review/composable/INDEX.md +13 -0
  8. package/assets/skills/authored/code-review/composable/VERSION +1 -0
  9. package/assets/skills/authored/code-review/composable/mini/01-review-method.md +34 -0
  10. package/assets/skills/authored/code-review/composable/mini/02-security-review.md +20 -0
  11. package/assets/skills/authored/code-review/composable/mini/03-correctness-bugs.md +19 -0
  12. package/assets/skills/authored/code-review/composable/mini/04-concurrency.md +16 -0
  13. package/assets/skills/authored/code-review/composable/mini/05-error-handling.md +12 -0
  14. package/assets/skills/authored/code-review/composable/mini/06-performance.md +11 -0
  15. package/assets/skills/authored/code-review/composable/mini/07-api-design.md +20 -0
  16. package/assets/skills/authored/code-review/composable/mini/08-missing-tests.md +25 -0
  17. package/assets/skills/authored/code-review/composable/mini/09-refactoring-and-communication.md +32 -0
  18. package/assets/skills/authored/data-analysis/composable/BUNDLE.md +186 -0
  19. package/assets/skills/authored/data-analysis/composable/INDEX.md +13 -0
  20. package/assets/skills/authored/data-analysis/composable/VERSION +1 -0
  21. package/assets/skills/authored/data-analysis/composable/mini/01-data-quality-profiling.md +26 -0
  22. package/assets/skills/authored/data-analysis/composable/mini/02-aggregation-pitfalls.md +21 -0
  23. package/assets/skills/authored/data-analysis/composable/mini/03-time-series.md +19 -0
  24. package/assets/skills/authored/data-analysis/composable/mini/04-segmentation.md +23 -0
  25. package/assets/skills/authored/data-analysis/composable/mini/05-discount-pricing.md +17 -0
  26. package/assets/skills/authored/data-analysis/composable/mini/06-insight-generation.md +25 -0
  27. package/assets/skills/authored/data-analysis/composable/mini/07-executive-writing.md +26 -0
  28. package/assets/skills/authored/data-analysis/composable/mini/08-recommendations.md +20 -0
  29. package/assets/skills/authored/data-analysis/composable/mini/09-reproducibility-assumptions.md +20 -0
  30. package/assets/skills/authored/financial-analysis/composable/BUNDLE.md +1293 -0
  31. package/assets/skills/authored/financial-analysis/composable/INDEX.md +17 -0
  32. package/assets/skills/authored/financial-analysis/composable/VERSION +1 -0
  33. package/assets/skills/authored/financial-analysis/composable/mini/00-core.md +69 -0
  34. package/assets/skills/authored/financial-analysis/composable/mini/01-profitability-efficiency-ratios.md +173 -0
  35. package/assets/skills/authored/financial-analysis/composable/mini/02-liquidity-leverage-ratios.md +120 -0
  36. package/assets/skills/authored/financial-analysis/composable/mini/03-valuation-ratios-interpretation.md +107 -0
  37. package/assets/skills/authored/financial-analysis/composable/mini/04-dcf-projection-wacc.md +122 -0
  38. package/assets/skills/authored/financial-analysis/composable/mini/05-dcf-terminal-value-sensitivity.md +75 -0
  39. package/assets/skills/authored/financial-analysis/composable/mini/06-comparables-precedents.md +78 -0
  40. package/assets/skills/authored/financial-analysis/composable/mini/07-budget-variance-analysis.md +47 -0
  41. package/assets/skills/authored/financial-analysis/composable/mini/08-driver-based-forecasting-scenarios.md +111 -0
  42. package/assets/skills/authored/financial-analysis/composable/mini/09-rolling-forecasts-accuracy.md +114 -0
  43. package/assets/skills/authored/financial-analysis/composable/mini/10-reporting-exec-summary.md +58 -0
  44. package/assets/skills/authored/financial-analysis/composable/mini/11-industry-adaptations.md +130 -0
  45. package/assets/skills/authored/financial-analysis/composable/mini/12-toolkit-scripts-io.md +102 -0
  46. package/assets/skills/authored/python-api/composable/BUNDLE.md +389 -0
  47. package/assets/skills/authored/python-api/composable/INDEX.md +13 -0
  48. package/assets/skills/authored/python-api/composable/VERSION +1 -0
  49. package/assets/skills/authored/python-api/composable/mini/01-project-structure.md +44 -0
  50. package/assets/skills/authored/python-api/composable/mini/02-routing-and-app.md +38 -0
  51. package/assets/skills/authored/python-api/composable/mini/03-pydantic-models.md +45 -0
  52. package/assets/skills/authored/python-api/composable/mini/04-validation-and-errors.md +59 -0
  53. package/assets/skills/authored/python-api/composable/mini/05-dependencies-and-auth.md +60 -0
  54. package/assets/skills/authored/python-api/composable/mini/06-pagination-filtering.md +44 -0
  55. package/assets/skills/authored/python-api/composable/mini/07-async-performance.md +30 -0
  56. package/assets/skills/authored/python-api/composable/mini/08-testing.md +45 -0
  57. package/assets/skills/authored/python-api/composable/mini/09-middleware-observability.md +29 -0
  58. package/assets/skills/authored/tech-writing/composable/BUNDLE.md +220 -0
  59. package/assets/skills/authored/tech-writing/composable/INDEX.md +12 -0
  60. package/assets/skills/authored/tech-writing/composable/VERSION +1 -0
  61. package/assets/skills/authored/tech-writing/composable/mini/01-audience-analysis.md +26 -0
  62. package/assets/skills/authored/tech-writing/composable/mini/02-document-types.md +27 -0
  63. package/assets/skills/authored/tech-writing/composable/mini/03-readme-quickstart-changelog.md +22 -0
  64. package/assets/skills/authored/tech-writing/composable/mini/04-information-architecture.md +21 -0
  65. package/assets/skills/authored/tech-writing/composable/mini/05-style-clarity.md +29 -0
  66. package/assets/skills/authored/tech-writing/composable/mini/06-breaking-changes-migrations.md +33 -0
  67. package/assets/skills/authored/tech-writing/composable/mini/07-troubleshooting-security.md +30 -0
  68. package/assets/skills/authored/tech-writing/composable/mini/08-faq-voice-tone.md +32 -0
  69. package/assets/skills/converted/claude-api/composable/BUNDLE.md +14996 -0
  70. package/assets/skills/converted/claude-api/composable/INDEX.md +98 -0
  71. package/assets/skills/converted/claude-api/composable/VERSION +1 -0
  72. package/assets/skills/converted/claude-api/composable/mini/00-core.md +235 -0
  73. package/assets/skills/converted/claude-api/composable/mini/01-model-api-quick-reference.md +258 -0
  74. package/assets/skills/converted/claude-api/composable/mini/02-common-pitfalls.md +42 -0
  75. package/assets/skills/converted/claude-api/composable/mini/10-models.md +135 -0
  76. package/assets/skills/converted/claude-api/composable/mini/11-platform-availability.md +96 -0
  77. package/assets/skills/converted/claude-api/composable/mini/12-claude-platform-on-aws.md +59 -0
  78. package/assets/skills/converted/claude-api/composable/mini/13-live-sources.md +143 -0
  79. package/assets/skills/converted/claude-api/composable/mini/14-error-codes.md +256 -0
  80. package/assets/skills/converted/claude-api/composable/mini/15-prompt-caching.md +223 -0
  81. package/assets/skills/converted/claude-api/composable/mini/16-token-counting.md +56 -0
  82. package/assets/skills/converted/claude-api/composable/mini/17-tool-use-concepts.md +444 -0
  83. package/assets/skills/converted/claude-api/composable/mini/18-agent-design.md +101 -0
  84. package/assets/skills/converted/claude-api/composable/mini/19-anthropic-cli.md +246 -0
  85. package/assets/skills/converted/claude-api/composable/mini/20-model-migration.md +1301 -0
  86. package/assets/skills/converted/claude-api/composable/mini/30-managed-agents-overview.md +71 -0
  87. package/assets/skills/converted/claude-api/composable/mini/31-managed-agents-core.md +278 -0
  88. package/assets/skills/converted/claude-api/composable/mini/32-managed-agents-environments.md +219 -0
  89. package/assets/skills/converted/claude-api/composable/mini/33-managed-agents-tools.md +366 -0
  90. package/assets/skills/converted/claude-api/composable/mini/34-managed-agents-events.md +252 -0
  91. package/assets/skills/converted/claude-api/composable/mini/35-managed-agents-outcomes.md +106 -0
  92. package/assets/skills/converted/claude-api/composable/mini/36-managed-agents-multiagent.md +101 -0
  93. package/assets/skills/converted/claude-api/composable/mini/37-managed-agents-webhooks.md +123 -0
  94. package/assets/skills/converted/claude-api/composable/mini/38-managed-agents-memory.md +197 -0
  95. package/assets/skills/converted/claude-api/composable/mini/39-managed-agents-scheduled-deployments.md +146 -0
  96. package/assets/skills/converted/claude-api/composable/mini/40-managed-agents-client-patterns.md +211 -0
  97. package/assets/skills/converted/claude-api/composable/mini/41-managed-agents-onboarding.md +82 -0
  98. package/assets/skills/converted/claude-api/composable/mini/42-managed-agents-api-reference.md +441 -0
  99. package/assets/skills/converted/claude-api/composable/mini/43-managed-agents-self-hosted-sandboxes.md +174 -0
  100. package/assets/skills/converted/claude-api/composable/mini/50-python-readme.md +564 -0
  101. package/assets/skills/converted/claude-api/composable/mini/51-python-tool-use.md +590 -0
  102. package/assets/skills/converted/claude-api/composable/mini/52-python-streaming-batches-files.md +549 -0
  103. package/assets/skills/converted/claude-api/composable/mini/53-python-managed-agents.md +335 -0
  104. package/assets/skills/converted/claude-api/composable/mini/55-typescript-readme.md +404 -0
  105. package/assets/skills/converted/claude-api/composable/mini/56-typescript-tool-use.md +548 -0
  106. package/assets/skills/converted/claude-api/composable/mini/57-typescript-streaming-batches-files.md +384 -0
  107. package/assets/skills/converted/claude-api/composable/mini/58-typescript-managed-agents.md +358 -0
  108. package/assets/skills/converted/claude-api/composable/mini/60-csharp-readme.md +361 -0
  109. package/assets/skills/converted/claude-api/composable/mini/61-csharp-tool-use.md +163 -0
  110. package/assets/skills/converted/claude-api/composable/mini/62-csharp-streaming-batches-files.md +64 -0
  111. package/assets/skills/converted/claude-api/composable/mini/65-go-readme.md +185 -0
  112. package/assets/skills/converted/claude-api/composable/mini/66-go-tool-use.md +219 -0
  113. package/assets/skills/converted/claude-api/composable/mini/67-go-streaming-files.md +63 -0
  114. package/assets/skills/converted/claude-api/composable/mini/68-go-managed-agents.md +564 -0
  115. package/assets/skills/converted/claude-api/composable/mini/70-java-readme.md +237 -0
  116. package/assets/skills/converted/claude-api/composable/mini/71-java-tool-use.md +227 -0
  117. package/assets/skills/converted/claude-api/composable/mini/72-java-streaming-files.md +49 -0
  118. package/assets/skills/converted/claude-api/composable/mini/73-java-managed-agents.md +443 -0
  119. package/assets/skills/converted/claude-api/composable/mini/75-php-readme.md +173 -0
  120. package/assets/skills/converted/claude-api/composable/mini/76-php-tool-use.md +252 -0
  121. package/assets/skills/converted/claude-api/composable/mini/77-php-streaming-batches-files.md +53 -0
  122. package/assets/skills/converted/claude-api/composable/mini/78-php-managed-agents.md +443 -0
  123. package/assets/skills/converted/claude-api/composable/mini/80-ruby-readme.md +133 -0
  124. package/assets/skills/converted/claude-api/composable/mini/81-ruby-tool-use-streaming.md +56 -0
  125. package/assets/skills/converted/claude-api/composable/mini/82-ruby-managed-agents.md +394 -0
  126. package/assets/skills/converted/claude-api/composable/mini/85-curl-examples.md +255 -0
  127. package/assets/skills/converted/claude-api/composable/mini/86-curl-managed-agents.md +340 -0
  128. package/assets/skills/converted/claude-api/composable/presets/csharp.md +1151 -0
  129. package/assets/skills/converted/claude-api/composable/presets/curl.md +1154 -0
  130. package/assets/skills/converted/claude-api/composable/presets/go.md +1598 -0
  131. package/assets/skills/converted/claude-api/composable/presets/java.md +1523 -0
  132. package/assets/skills/converted/claude-api/composable/presets/php.md +1488 -0
  133. package/assets/skills/converted/claude-api/composable/presets/python.md +2605 -0
  134. package/assets/skills/converted/claude-api/composable/presets/ruby.md +1146 -0
  135. package/assets/skills/converted/claude-api/composable/presets/shared.md +6478 -0
  136. package/assets/skills/converted/claude-api/composable/presets/typescript.md +2261 -0
  137. package/assets/skills/converted/docx/composable/BUNDLE.md +617 -0
  138. package/assets/skills/converted/docx/composable/INDEX.md +12 -0
  139. package/assets/skills/converted/docx/composable/VERSION +1 -0
  140. package/assets/skills/converted/docx/composable/mini/00-core.md +26 -0
  141. package/assets/skills/converted/docx/composable/mini/01-reading-converting.md +36 -0
  142. package/assets/skills/converted/docx/composable/mini/02-creating-setup-layout.md +85 -0
  143. package/assets/skills/converted/docx/composable/mini/03-creating-elements.md +257 -0
  144. package/assets/skills/converted/docx/composable/mini/04-editing-existing.md +57 -0
  145. package/assets/skills/converted/docx/composable/mini/05-xml-reference.md +128 -0
  146. package/assets/skills/converted/internal-comms/composable/BUNDLE.md +220 -0
  147. package/assets/skills/converted/internal-comms/composable/INDEX.md +11 -0
  148. package/assets/skills/converted/internal-comms/composable/VERSION +1 -0
  149. package/assets/skills/converted/internal-comms/composable/mini/00-core.md +30 -0
  150. package/assets/skills/converted/internal-comms/composable/mini/01-3p-updates.md +49 -0
  151. package/assets/skills/converted/internal-comms/composable/mini/02-company-newsletter.md +67 -0
  152. package/assets/skills/converted/internal-comms/composable/mini/03-faq-answers.md +32 -0
  153. package/assets/skills/converted/internal-comms/composable/mini/04-general-comms.md +18 -0
  154. package/assets/skills/converted/mcp-builder/composable/BUNDLE.md +2460 -0
  155. package/assets/skills/converted/mcp-builder/composable/INDEX.md +23 -0
  156. package/assets/skills/converted/mcp-builder/composable/VERSION +1 -0
  157. package/assets/skills/converted/mcp-builder/composable/mini/00-core.md +43 -0
  158. package/assets/skills/converted/mcp-builder/composable/mini/01-workflow-research-planning.md +54 -0
  159. package/assets/skills/converted/mcp-builder/composable/mini/02-implementation-process.md +78 -0
  160. package/assets/skills/converted/mcp-builder/composable/mini/03-naming-conventions.md +33 -0
  161. package/assets/skills/converted/mcp-builder/composable/mini/04-response-formats.md +21 -0
  162. package/assets/skills/converted/mcp-builder/composable/mini/05-pagination.md +24 -0
  163. package/assets/skills/converted/mcp-builder/composable/mini/06-transport.md +47 -0
  164. package/assets/skills/converted/mcp-builder/composable/mini/07-annotations.md +20 -0
  165. package/assets/skills/converted/mcp-builder/composable/mini/08-security.md +35 -0
  166. package/assets/skills/converted/mcp-builder/composable/mini/09-error-handling.md +32 -0
  167. package/assets/skills/converted/mcp-builder/composable/mini/10-testing-and-documentation.md +21 -0
  168. package/assets/skills/converted/mcp-builder/composable/mini/11-python-implementation.md +432 -0
  169. package/assets/skills/converted/mcp-builder/composable/mini/12-python-advanced-and-checklist.md +233 -0
  170. package/assets/skills/converted/mcp-builder/composable/mini/13-node-implementation.md +717 -0
  171. package/assets/skills/converted/mcp-builder/composable/mini/14-node-advanced-and-checklist.md +200 -0
  172. package/assets/skills/converted/mcp-builder/composable/mini/15-evaluation-design.md +200 -0
  173. package/assets/skills/converted/mcp-builder/composable/mini/16-evaluation-running.md +198 -0
  174. package/assets/skills/converted/mcp-builder/composable/presets/node-server.md +1381 -0
  175. package/assets/skills/converted/mcp-builder/composable/presets/python-server.md +1129 -0
  176. package/assets/skills/converted/pdf/composable/BUNDLE.md +1284 -0
  177. package/assets/skills/converted/pdf/composable/INDEX.md +14 -0
  178. package/assets/skills/converted/pdf/composable/VERSION +1 -0
  179. package/assets/skills/converted/pdf/composable/mini/00-core.md +46 -0
  180. package/assets/skills/converted/pdf/composable/mini/01-creation.md +176 -0
  181. package/assets/skills/converted/pdf/composable/mini/02-extraction.md +178 -0
  182. package/assets/skills/converted/pdf/composable/mini/03-merge-split-manipulate.md +240 -0
  183. package/assets/skills/converted/pdf/composable/mini/04-images-ocr.md +168 -0
  184. package/assets/skills/converted/pdf/composable/mini/05-encryption.md +51 -0
  185. package/assets/skills/converted/pdf/composable/mini/06-forms.md +300 -0
  186. package/assets/skills/converted/pdf/composable/mini/07-libraries-reference.md +89 -0
  187. package/assets/skills/converted/pptx/composable/BUNDLE.md +911 -0
  188. package/assets/skills/converted/pptx/composable/INDEX.md +12 -0
  189. package/assets/skills/converted/pptx/composable/VERSION +1 -0
  190. package/assets/skills/converted/pptx/composable/mini/00-core.md +37 -0
  191. package/assets/skills/converted/pptx/composable/mini/01-reading.md +37 -0
  192. package/assets/skills/converted/pptx/composable/mini/02-creating-from-scratch.md +422 -0
  193. package/assets/skills/converted/pptx/composable/mini/03-editing-templates.md +207 -0
  194. package/assets/skills/converted/pptx/composable/mini/04-design.md +89 -0
  195. package/assets/skills/converted/pptx/composable/mini/05-qa-and-rendering.md +91 -0
  196. package/assets/skills/converted/pptx/composable/presets/creating.md +659 -0
  197. package/assets/skills/converted/pptx/composable/presets/editing.md +485 -0
  198. package/assets/skills/converted/skill-creator/composable/BUNDLE.md +1681 -0
  199. package/assets/skills/converted/skill-creator/composable/INDEX.md +21 -0
  200. package/assets/skills/converted/skill-creator/composable/VERSION +1 -0
  201. package/assets/skills/converted/skill-creator/composable/mini/00-core.md +59 -0
  202. package/assets/skills/converted/skill-creator/composable/mini/01-creating-a-skill.md +27 -0
  203. package/assets/skills/converted/skill-creator/composable/mini/02-skill-writing-guide.md +71 -0
  204. package/assets/skills/converted/skill-creator/composable/mini/03-test-cases.md +21 -0
  205. package/assets/skills/converted/skill-creator/composable/mini/04-running-and-evaluating.md +128 -0
  206. package/assets/skills/converted/skill-creator/composable/mini/05-improving-the-skill.md +30 -0
  207. package/assets/skills/converted/skill-creator/composable/mini/06-blind-comparison.md +5 -0
  208. package/assets/skills/converted/skill-creator/composable/mini/07-description-optimization.md +74 -0
  209. package/assets/skills/converted/skill-creator/composable/mini/08-packaging.md +11 -0
  210. package/assets/skills/converted/skill-creator/composable/mini/09-environment-specific.md +38 -0
  211. package/assets/skills/converted/skill-creator/composable/mini/10-scripts-and-references.md +34 -0
  212. package/assets/skills/converted/skill-creator/composable/mini/11-json-schemas.md +414 -0
  213. package/assets/skills/converted/skill-creator/composable/mini/12-agent-grader.md +225 -0
  214. package/assets/skills/converted/skill-creator/composable/mini/13-agent-comparator.md +204 -0
  215. package/assets/skills/converted/skill-creator/composable/mini/14-agent-analyzer.md +276 -0
  216. package/assets/skills/converted/skill-creator/composable/presets/authoring.md +198 -0
  217. package/assets/skills/converted/skill-creator/composable/presets/evaluating.md +1334 -0
  218. package/assets/skills/converted/skill-creator/composable/presets/optimizing.md +160 -0
  219. package/assets/skills/converted/skill-creator/composable/presets.json +5 -0
  220. package/assets/skills/meta/ccs-skill-creator/composable/BUNDLE.md +465 -0
  221. package/assets/skills/meta/ccs-skill-creator/composable/INDEX.md +8 -0
  222. package/assets/skills/meta/ccs-skill-creator/composable/VERSION +1 -0
  223. package/assets/skills/meta/ccs-skill-creator/composable/mini/00-core.md +46 -0
  224. package/assets/skills/meta/ccs-skill-creator/composable/mini/01-create-new-skill.md +167 -0
  225. package/assets/skills/meta/ccs-skill-creator/composable/mini/02-convert-existing-skill.md +120 -0
  226. package/assets/skills/meta/ccs-skill-creator/composable/mini/03-review-and-maintain.md +112 -0
  227. package/assets/skills/sources/anthropic/PROVENANCE.md +3 -0
  228. package/assets/skills/sources/anthropic/claude-api/LICENSE.txt +202 -0
  229. package/assets/skills/sources/anthropic/docx/LICENSE.txt +30 -0
  230. package/assets/skills/sources/anthropic/internal-comms/LICENSE.txt +202 -0
  231. package/assets/skills/sources/anthropic/mcp-builder/LICENSE.txt +202 -0
  232. package/assets/skills/sources/anthropic/pdf/LICENSE.txt +30 -0
  233. package/assets/skills/sources/anthropic/pptx/LICENSE.txt +30 -0
  234. package/assets/skills/sources/anthropic/skill-creator/LICENSE.txt +202 -0
  235. package/assets/skills/sources/financial-analyst/PROVENANCE.md +1 -0
  236. package/assets/tools/hive.py +728 -0
  237. package/dist/cli.js +7494 -0
  238. package/package.json +40 -0
@@ -0,0 +1,23 @@
1
+ # MCP Builder: Loading Menu
2
+
3
+ Building high-quality MCP servers. Implementation tasks: load only the chosen language's minis (Python OR Node), never both.
4
+
5
+ Loading policy: read this menu, then load 00-core (if present) plus the minis relevant to your task. If most of this skill is relevant, load BUNDLE.md (or a matching presets/*.md) in one read instead.
6
+
7
+ - `mini/00-core.md` - quality mindset, agent-first design, token-consciousness, error discipline, composability - **always load**
8
+ - `mini/01-workflow-research-planning.md` - 4-phase workflow, Phase 1 research/planning, stack, doc navigation - Load when starting or planning a server.
9
+ - `mini/02-implementation-process.md` - Phase 2 build + Phase 3 review/test (language-agnostic) - Load when implementing or reviewing.
10
+ - `mini/03-naming-conventions.md` - server + tool naming rules (both languages) - Load when naming a server or tools.
11
+ - `mini/04-response-formats.md` - JSON vs Markdown output rules - Load when designing tool outputs.
12
+ - `mini/05-pagination.md` - limit/offset, metadata, defaults - Load when a tool lists resources.
13
+ - `mini/06-transport.md` - streamable HTTP vs stdio selection - Load when choosing/wiring transport.
14
+ - `mini/07-annotations.md` - readOnly/destructive/idempotent/openWorld hints - Load when setting tool annotations.
15
+ - `mini/08-security.md` - auth, input validation, DNS rebinding - Load when handling auth, input, or local HTTP.
16
+ - `mini/09-error-handling.md` - actionable error standards - Load when designing error paths.
17
+ - `mini/10-testing-and-documentation.md` - testing + doc requirements - Load when testing or documenting.
18
+ - `mini/11-python-implementation.md` - Python/FastMCP code patterns + full example - Load for Python tasks.
19
+ - `mini/12-python-advanced-and-checklist.md` - Python advanced features + quality checklist - Load for Python tasks.
20
+ - `mini/13-node-implementation.md` - Node/TypeScript code patterns + full example - Load for Node tasks.
21
+ - `mini/14-node-advanced-and-checklist.md` - Node advanced features, build + checklist - Load for Node tasks.
22
+ - `mini/15-evaluation-design.md` - designing 10 eval questions/answers - Load when creating evaluations.
23
+ - `mini/16-evaluation-running.md` - running the evaluation harness - Load when running evaluations.
@@ -0,0 +1,43 @@
1
+ # Core: MCP Server Quality Mindset
2
+
3
+ Always-loaded foundation for building high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Load the focused minis (see INDEX) for the workflow, per-standard rules, language-specific code, and evaluations.
4
+
5
+ ## What "quality" means here
6
+
7
+ Create MCP servers that enable LLMs to interact with external services through well-designed tools. **The quality of an MCP server is measured by how well it enables LLMs to accomplish real-world tasks** — NOT by how well or comprehensively the server implements tools. Quality is about how the implementations (input/output schemas, docstrings/descriptions, functionality) enable an LLM, with no other context and access ONLY to the MCP server, to answer realistic and difficult questions and complete real tasks.
8
+
9
+ ## Agent-first tool design (design for the LLM that will call the tools)
10
+
11
+ - **API coverage vs. workflow tools:** Balance comprehensive API endpoint coverage with specialized workflow tools. Workflow tools can be more convenient for specific tasks; comprehensive coverage gives agents flexibility to compose operations. Performance varies by client — some clients benefit from code execution that combines basic tools, others work better with higher-level workflows. **When uncertain, prioritize comprehensive API coverage.**
12
+ - **Tool naming and discoverability:** Clear, descriptive tool names help agents find the right tools quickly. Use consistent prefixes (e.g., `github_create_issue`, `github_list_repos`) and action-oriented naming. (Full naming rules: see the naming mini.)
13
+ - **Tools should enable complete workflows, not just wrap API endpoints.** Tool names should reflect natural task subdivisions.
14
+ - **Keep tool operations focused and atomic.**
15
+
16
+ ## Token-consciousness (context is scarce)
17
+
18
+ - Agents benefit from **concise tool descriptions** and the ability to **filter/paginate** results. Design tools that return **focused, relevant data**.
19
+ - **Response formats should optimize for agent context efficiency.** Omit verbose metadata; return only what the task needs. Some clients support code execution which can help agents filter and process data efficiently.
20
+ - Prefer **human-readable identifiers** where appropriate (display names with IDs, human-readable datetimes) so the agent doesn't waste effort decoding opaque values.
21
+ - Tools that return large JSON objects or lists can overwhelm the LLM — reduce information returned, paginate, and truncate with clear messages.
22
+
23
+ ## Error-message discipline
24
+
25
+ - **Error messages must guide agents toward solutions** with specific suggestions and next steps — clear, actionable, and educational. An error should tell the agent what to do next (e.g., suggest a filter to reduce results, or the correct alternative tool).
26
+ - Descriptions must **precisely and unambiguously match actual functionality** — never over- or under-claim what a tool does.
27
+
28
+ ## Composability / DRY (applies to every implementation)
29
+
30
+ Your implementation MUST prioritize composability and code reuse:
31
+
32
+ 1. **Extract common functionality:** reusable helper functions for operations used across multiple tools; shared API clients for HTTP requests; centralized error-handling logic; business logic in dedicated composable functions; shared markdown/JSON field-selection & formatting.
33
+ 2. **Avoid duplication:** NEVER copy-paste similar code between tools. If you write similar logic twice, extract it into a function. Common operations (pagination, filtering, field selection, formatting) should be shared. Authentication/authorization logic should be centralized.
34
+
35
+ ## Strategic design checklist (cross-cutting — verify on every server)
36
+
37
+ - [ ] Tools enable complete workflows, not just API endpoint wrappers
38
+ - [ ] Tool names reflect natural task subdivisions
39
+ - [ ] Response formats optimize for agent context efficiency
40
+ - [ ] Human-readable identifiers used where appropriate
41
+ - [ ] Error messages guide agents toward correct usage
42
+
43
+ (Language-specific implementation and code-quality checklists live in the Python and Node minis.)
@@ -0,0 +1,54 @@
1
+ # Workflow, Research & Planning (Phase 1)
2
+
3
+ Creating a high-quality MCP server involves **four main phases**: (1) Deep Research and Planning, (2) Implementation, (3) Review and Test, (4) Create Evaluations. This mini covers Phase 1 and how to navigate the reference documentation.
4
+
5
+ ## Phase 1: Deep Research and Planning
6
+
7
+ ### 1.1 Understand modern MCP design
8
+
9
+ The core design tensions (agent-first design, API coverage vs. workflow tools, naming/discoverability, context management, actionable errors) are covered in `00-core.md`. Internalize those before designing tools.
10
+
11
+ ### 1.2 Study MCP protocol documentation
12
+
13
+ Navigate the MCP specification:
14
+ - Start with the sitemap to find relevant pages: `https://modelcontextprotocol.io/sitemap.xml`
15
+ - Then fetch specific pages with a `.md` suffix for markdown format (e.g., `https://modelcontextprotocol.io/specification/draft.md`).
16
+
17
+ Key pages to review:
18
+ - Specification overview and architecture
19
+ - Transport mechanisms (streamable HTTP, stdio)
20
+ - Tool, resource, and prompt definitions
21
+
22
+ ### 1.3 Study framework documentation
23
+
24
+ **Recommended stack:**
25
+ - **Language: TypeScript** — high-quality SDK support and good compatibility in many execution environments (e.g. MCPB). AI models are good at generating TypeScript code, benefiting from its broad usage, static typing, and good linting tools.
26
+ - **Transport: Streamable HTTP** for remote servers, using **stateless JSON** (simpler to scale and maintain, as opposed to stateful sessions and streaming responses). **stdio** for local servers.
27
+
28
+ **Load framework documentation:**
29
+ - **MCP Best Practices** — core universal guidelines (see the naming, response-format, pagination, transport, security, annotations, error-handling, and testing minis).
30
+ - **For TypeScript (recommended):** Use WebFetch to load the TypeScript SDK README: `https://raw.githubusercontent.com/modelcontextprotocol/typescript-sdk/main/README.md`. Then use the Node/TypeScript implementation minis.
31
+ - **For Python:** Use WebFetch to load the Python SDK README: `https://raw.githubusercontent.com/modelcontextprotocol/python-sdk/main/README.md`. Then use the Python implementation minis.
32
+
33
+ ### 1.4 Plan your implementation
34
+
35
+ - **Understand the API:** Review the service's API documentation to identify key endpoints, authentication requirements, and data models. Use web search and WebFetch as needed.
36
+ - **Tool selection:** Prioritize comprehensive API coverage. List the endpoints to implement, starting with the most common operations.
37
+
38
+ ## Documentation library — what to load and when
39
+
40
+ **Core MCP documentation (load first):**
41
+ - MCP Protocol: start with the sitemap at `https://modelcontextprotocol.io/sitemap.xml`, then fetch specific pages with `.md` suffix.
42
+ - MCP Best Practices — universal guidelines including server/tool naming conventions, response format (JSON vs Markdown), pagination, transport selection (streamable HTTP vs stdio), security, and error handling.
43
+
44
+ **SDK documentation (load during Phase 1/2):**
45
+ - Python SDK: `https://raw.githubusercontent.com/modelcontextprotocol/python-sdk/main/README.md`
46
+ - TypeScript SDK: `https://raw.githubusercontent.com/modelcontextprotocol/typescript-sdk/main/README.md`
47
+
48
+ **Language-specific implementation guides (load during Phase 2):**
49
+ - Python (FastMCP): server initialization, Pydantic models, tool registration with `@mcp.tool`, complete working examples, quality checklist.
50
+ - TypeScript: project structure, Zod schema patterns, tool registration with `server.registerTool`, complete working examples, quality checklist.
51
+
52
+ **Evaluation guide (load during Phase 4):** question creation guidelines, answer verification strategies, XML format, example questions/answers, and running an evaluation with the provided scripts.
53
+
54
+ The remaining phases: Phase 2 (Implementation) and Phase 3 (Review and Test) — see `02-implementation-process.md`. Phase 4 (Create Evaluations) — see the evaluation minis.
@@ -0,0 +1,78 @@
1
+ # Implementation & Review Process (Phases 2–3)
2
+
3
+ Language-agnostic steps for building and then reviewing/testing the server. Use alongside the language-specific minis (Python or Node) for the actual code.
4
+
5
+ ## Phase 2: Implementation
6
+
7
+ ### 2.1 Set up project structure
8
+
9
+ See the language-specific minis for project setup:
10
+ - TypeScript: project structure, `package.json`, `tsconfig.json`.
11
+ - Python: module organization, dependencies.
12
+
13
+ ### 2.2 Implement core infrastructure
14
+
15
+ Create shared utilities:
16
+ - API client with authentication
17
+ - Error handling helpers
18
+ - Response formatting (JSON/Markdown)
19
+ - Pagination support
20
+
21
+ ### 2.3 Implement tools
22
+
23
+ For each tool:
24
+
25
+ **Input schema:**
26
+ - Use Zod (TypeScript) or Pydantic (Python)
27
+ - Include constraints and clear descriptions
28
+ - Add examples in field descriptions
29
+
30
+ **Output schema:**
31
+ - Define `outputSchema` where possible for structured data
32
+ - Use `structuredContent` in tool responses (TypeScript SDK feature)
33
+ - Helps clients understand and process tool outputs
34
+
35
+ **Tool description:**
36
+ - Concise summary of functionality
37
+ - Parameter descriptions
38
+ - Return type schema
39
+
40
+ **Implementation:**
41
+ - Async/await for I/O operations
42
+ - Proper error handling with actionable messages
43
+ - Support pagination where applicable
44
+ - Return both text content and structured data when using modern SDKs
45
+
46
+ **Annotations:**
47
+ - `readOnlyHint`: true/false
48
+ - `destructiveHint`: true/false
49
+ - `idempotentHint`: true/false
50
+ - `openWorldHint`: true/false
51
+
52
+ (Full annotation semantics: see the annotations mini.)
53
+
54
+ ## Phase 3: Review and Test
55
+
56
+ ### 3.1 Code quality
57
+
58
+ Review for:
59
+ - No duplicated code (DRY principle)
60
+ - Consistent error handling
61
+ - Full type coverage
62
+ - Clear tool descriptions
63
+
64
+ ### 3.2 Build and test
65
+
66
+ **TypeScript:**
67
+ - Run `npm run build` to verify compilation
68
+ - Test with MCP Inspector: `npx @modelcontextprotocol/inspector`
69
+
70
+ **Python:**
71
+ - Verify syntax: `python -m py_compile your_server.py`
72
+ - Test with MCP Inspector
73
+
74
+ See the language-specific minis for detailed testing approaches and quality checklists.
75
+
76
+ ## Phase 4: Create Evaluations
77
+
78
+ After implementing your MCP server, create comprehensive evaluations to test its effectiveness. Use evaluations to test whether LLMs can effectively use your MCP server to answer realistic, complex questions. The process (10 questions: tool inspection → content exploration → question generation → answer verification) and the harness for running them are covered in the evaluation minis.
@@ -0,0 +1,33 @@
1
+ # Naming Conventions (Server & Tools)
2
+
3
+ ## Server naming
4
+
5
+ Follow these standardized naming patterns:
6
+
7
+ - **Python:** `{service}_mcp` (lowercase with underscores) — e.g., `slack_mcp`, `github_mcp`, `jira_mcp`, `stripe_mcp`.
8
+ - **Node/TypeScript:** `{service}-mcp-server` (lowercase with hyphens) — e.g., `slack-mcp-server`, `github-mcp-server`, `jira-mcp-server`, `stripe-mcp-server`.
9
+
10
+ The name should be:
11
+ - **General** — descriptive of the service being integrated, not tied to specific features.
12
+ - **Descriptive** of the service/API being integrated.
13
+ - **Easy to infer** from the task description.
14
+ - **Without version numbers** or dates.
15
+
16
+ ## Tool naming
17
+
18
+ 1. **Use snake_case:** `search_users`, `create_project`, `get_channel_info`.
19
+ 2. **Include service prefix** — anticipate that your MCP server may be used alongside other MCP servers, so include the service context to prevent overlaps:
20
+ - Use `slack_send_message` instead of just `send_message`
21
+ - Use `github_create_issue` instead of just `create_issue`
22
+ - Use `asana_list_tasks` instead of just `list_tasks`
23
+ 3. **Be action-oriented:** start with verbs (get, list, search, create, etc.).
24
+ 4. **Be specific:** avoid generic names that could conflict with other servers.
25
+
26
+ Format: `{service}_{action}_{resource}` — e.g., `slack_send_message`, `github_create_issue`.
27
+
28
+ ## Tool design
29
+
30
+ - Tool descriptions must **narrowly and unambiguously** describe functionality.
31
+ - Descriptions must **precisely match actual functionality**.
32
+ - Provide tool annotations (`readOnlyHint`, `destructiveHint`, `idempotentHint`, `openWorldHint`) — see the annotations mini.
33
+ - Keep tool operations **focused and atomic**.
@@ -0,0 +1,21 @@
1
+ # Response Formats (JSON vs Markdown)
2
+
3
+ All tools that return data should support **multiple formats**, typically via a `response_format` parameter that defaults to markdown. JSON is for programmatic processing; Markdown is for human readability.
4
+
5
+ ## JSON format (`response_format="json"`)
6
+
7
+ - Machine-readable structured data
8
+ - Return complete, structured data suitable for programmatic processing
9
+ - Include all available fields and metadata
10
+ - Use consistent field names and types
11
+
12
+ ## Markdown format (`response_format="markdown"`, typically the default)
13
+
14
+ - Human-readable formatted text
15
+ - Use headers, lists, and formatting for clarity
16
+ - Convert timestamps to human-readable format (e.g., "2024-01-15 10:30:00 UTC" instead of epoch)
17
+ - Show display names with IDs in parentheses (e.g., "@john.doe (U123456)")
18
+ - Omit verbose metadata (e.g., show only one profile image URL, not all sizes)
19
+ - Group related information logically
20
+
21
+ (Language-specific code for implementing the `ResponseFormat` enum and formatting both branches lives in the Python and Node minis.)
@@ -0,0 +1,24 @@
1
+ # Pagination
2
+
3
+ For tools that list resources:
4
+
5
+ - **Always respect the `limit` parameter.**
6
+ - **Implement pagination:** use `offset` or cursor-based pagination.
7
+ - **Return pagination metadata:** include `has_more`, `next_offset`/`next_cursor`, and `total_count`.
8
+ - **Never load all results into memory** — especially important for large datasets.
9
+ - **Default to reasonable limits:** 20–50 items is typical.
10
+
11
+ Example pagination response:
12
+
13
+ ```json
14
+ {
15
+ "total": 150,
16
+ "count": 20,
17
+ "offset": 0,
18
+ "items": [...],
19
+ "has_more": true,
20
+ "next_offset": 20
21
+ }
22
+ ```
23
+
24
+ (Language-specific pagination code — computing `has_more` and `next_offset` from `total`, `offset`, and returned items — lives in the Python and Node minis.)
@@ -0,0 +1,47 @@
1
+ # Transport Options
2
+
3
+ Two main transports: **Streamable HTTP** (remote) and **stdio** (local). **Avoid SSE — deprecated in favor of streamable HTTP.**
4
+
5
+ ## Streamable HTTP
6
+
7
+ **Best for:** remote servers, web services, multi-client scenarios.
8
+
9
+ **Characteristics:**
10
+ - Bidirectional communication over HTTP
11
+ - Supports multiple simultaneous clients
12
+ - Can be deployed as a web service
13
+ - Enables server-to-client notifications
14
+
15
+ **Use when:**
16
+ - Serving multiple clients simultaneously
17
+ - Deploying as a cloud service
18
+ - Integrating with web applications
19
+
20
+ For remote servers, prefer **stateless JSON** (simpler to scale and maintain than stateful sessions and streaming responses).
21
+
22
+ ## stdio
23
+
24
+ **Best for:** local integrations, command-line tools.
25
+
26
+ **Characteristics:**
27
+ - Standard input/output stream communication
28
+ - Simple setup, no network configuration needed
29
+ - Runs as a subprocess of the client
30
+
31
+ **Use when:**
32
+ - Building tools for local development environments
33
+ - Integrating with desktop applications
34
+ - Single-user, single-session scenarios
35
+
36
+ **Note:** stdio servers must NOT log to stdout — use stderr for logging.
37
+
38
+ ## Transport selection
39
+
40
+ | Criterion | stdio | Streamable HTTP |
41
+ |-----------|-------|-----------------|
42
+ | **Deployment** | Local | Remote |
43
+ | **Clients** | Single | Multiple |
44
+ | **Complexity** | Low | Medium |
45
+ | **Real-time** | No | Yes |
46
+
47
+ (Language-specific code for wiring up each transport lives in the Python and Node minis.)
@@ -0,0 +1,20 @@
1
+ # Tool Annotations
2
+
3
+ Provide annotations to help clients understand tool behavior. Set them on every tool.
4
+
5
+ | Annotation | Type | Default | Description |
6
+ |-----------|------|---------|-------------|
7
+ | `readOnlyHint` | boolean | false | Tool does not modify its environment |
8
+ | `destructiveHint` | boolean | true | Tool may perform destructive updates |
9
+ | `idempotentHint` | boolean | false | Repeated calls with same args have no additional effect |
10
+ | `openWorldHint` | boolean | true | Tool interacts with external entities |
11
+
12
+ **Important:** Annotations are **hints, not security guarantees**. Clients should not make security-critical decisions based solely on annotations.
13
+
14
+ Set each hint to accurately reflect the tool:
15
+ - `readOnlyHint`: true if the tool does not modify environment
16
+ - `destructiveHint`: false if the tool does not perform destructive operations
17
+ - `idempotentHint`: true if repeated calls have no additional effect
18
+ - `openWorldHint`: false if the tool does not interact with external entities
19
+
20
+ (Language-specific syntax — the `annotations={...}` dict in the `@mcp.tool` decorator for Python, and the `annotations` object in `registerTool` for Node — lives in the language minis.)
@@ -0,0 +1,35 @@
1
+ # Security Best Practices
2
+
3
+ ## Authentication and Authorization
4
+
5
+ **OAuth 2.1:**
6
+ - Use secure OAuth 2.1 with certificates from recognized authorities
7
+ - Validate access tokens before processing requests
8
+ - Only accept tokens specifically intended for your server
9
+
10
+ **API Keys:**
11
+ - Store API keys in environment variables, never in code
12
+ - Validate keys on server startup
13
+ - Provide clear error messages when authentication fails
14
+
15
+ ## Input Validation
16
+
17
+ - Sanitize file paths to prevent directory traversal
18
+ - Validate URLs and external identifiers
19
+ - Check parameter sizes and ranges
20
+ - Prevent command injection in system calls
21
+ - Use schema validation (Pydantic/Zod) for all inputs
22
+
23
+ ## Error Handling (security angle)
24
+
25
+ - Don't expose internal errors to clients
26
+ - Log security-relevant errors server-side
27
+ - Provide helpful but not revealing error messages
28
+ - Clean up resources after errors
29
+
30
+ ## DNS Rebinding Protection
31
+
32
+ For streamable HTTP servers running locally:
33
+ - Enable DNS rebinding protection
34
+ - Validate the `Origin` header on all incoming connections
35
+ - Bind to `127.0.0.1` rather than `0.0.0.0`
@@ -0,0 +1,32 @@
1
+ # Error Handling Standards
2
+
3
+ General, cross-language error-handling standards. Language-specific error formatting (`_handle_api_error` in Python, `handleApiError` in Node, mapping 404/403/429/timeout to messages) lives in the language minis.
4
+
5
+ ## Principles
6
+
7
+ - Use standard **JSON-RPC error codes**.
8
+ - **Report tool errors within result objects** (not protocol-level errors).
9
+ - Provide **helpful, specific error messages with suggested next steps**.
10
+ - **Don't expose internal implementation details.**
11
+ - **Clean up resources properly on errors.**
12
+
13
+ Error messages should be clear, actionable, and educational — guiding the agent toward a solution with specific suggestions and next steps.
14
+
15
+ ## Example (TypeScript pattern)
16
+
17
+ ```typescript
18
+ try {
19
+ const result = performOperation();
20
+ return { content: [{ type: "text", text: result }] };
21
+ } catch (error) {
22
+ return {
23
+ isError: true,
24
+ content: [{
25
+ type: "text",
26
+ text: `Error: ${error.message}. Try using filter='active_only' to reduce results.`
27
+ }]
28
+ };
29
+ }
30
+ ```
31
+
32
+ Note how the message not only reports the failure but suggests a concrete next step (`filter='active_only'`) that helps the agent recover.
@@ -0,0 +1,21 @@
1
+ # Testing & Documentation Requirements
2
+
3
+ General (language-agnostic) requirements. Language-specific build/test commands and quality checklists live in the Python and Node minis; the evaluation harness is covered in the evaluation minis.
4
+
5
+ ## Testing Requirements
6
+
7
+ Comprehensive testing should cover:
8
+
9
+ - **Functional testing:** verify correct execution with valid/invalid inputs.
10
+ - **Integration testing:** test interaction with external systems.
11
+ - **Security testing:** validate auth, input sanitization, rate limiting.
12
+ - **Performance testing:** check behavior under load, timeouts.
13
+ - **Error handling:** ensure proper error reporting and cleanup.
14
+
15
+ ## Documentation Requirements
16
+
17
+ - Provide clear documentation of all tools and capabilities.
18
+ - Include working examples (**at least 3 per major feature**).
19
+ - Document security considerations.
20
+ - Specify required permissions and access levels.
21
+ - Document rate limits and performance characteristics.