@craft-ts/mcp 0.7.0-beta.13

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 (33) hide show
  1. package/README.md +71 -0
  2. package/content/agents.md +35 -0
  3. package/content/best-practices.md +79 -0
  4. package/content/docs-index.json +658 -0
  5. package/dist/catalog.d.ts +27 -0
  6. package/dist/catalog.js +67 -0
  7. package/dist/catalog.js.map +1 -0
  8. package/dist/main.d.ts +2 -0
  9. package/dist/main.js +13 -0
  10. package/dist/main.js.map +1 -0
  11. package/dist/mcp-server.d.ts +3 -0
  12. package/dist/mcp-server.js +144 -0
  13. package/dist/mcp-server.js.map +1 -0
  14. package/dist/resources.d.ts +10 -0
  15. package/dist/resources.js +63 -0
  16. package/dist/resources.js.map +1 -0
  17. package/mcp.json +10 -0
  18. package/package.json +62 -0
  19. package/plugin.json +19 -0
  20. package/skills/craft-ts/SKILL.md +43 -0
  21. package/skills/craft-ts-architecture-tests/SKILL.md +110 -0
  22. package/skills/craft-ts-effect-v4/SKILL.md +31 -0
  23. package/skills/craft-ts-routes/SKILL.md +135 -0
  24. package/skills/craft-ts-routes/references/di-checks.md +101 -0
  25. package/skills/craft-ts-routes/references/eslint-workflow.md +52 -0
  26. package/skills/craft-ts-routes/references/pending-and-exceptions.md +93 -0
  27. package/skills/craft-ts-routes/references/scaling-and-pitfalls.md +111 -0
  28. package/skills/craft-ts-service-migration/SKILL.md +86 -0
  29. package/skills/migrate-to-craft-ts/SKILL.md +135 -0
  30. package/skills/translate-spec-to-craft-ts/SKILL.md +86 -0
  31. package/skills/translate-spec-to-craft-ts/references/lexical-map.md +322 -0
  32. package/skills/translate-spec-to-craft-ts/references/pattern-recipes.md +123 -0
  33. package/skills/translate-spec-to-craft-ts/references/project-index.md +52 -0
@@ -0,0 +1,52 @@
1
+ # Project Index
2
+
3
+ Use installed packages and published docs. Do not assume you have the CraftTS
4
+ monorepo checked out.
5
+
6
+ ## Public API
7
+
8
+ - `node_modules/@craft-ts/core`
9
+ - `node_modules/@craft-ts/component`
10
+
11
+ Confirm exported symbol names there before recommending an API.
12
+
13
+ ## High-value documentation
14
+
15
+ Prefer MCP `search_documentation` / `get_documentation_page`, or the markdown
16
+ siblings of:
17
+
18
+ - https://ng-angular-stack.github.io/craft/guide/concepts/mental-model
19
+ - https://ng-angular-stack.github.io/craft/guide/state/local-state
20
+ - https://ng-angular-stack.github.io/craft/guide/state/server-state
21
+ - https://ng-angular-stack.github.io/craft/guide/state/mutations
22
+ - https://ng-angular-stack.github.io/craft/guide/state/async-process
23
+ - https://ng-angular-stack.github.io/craft/guide/state/url-state
24
+ - https://ng-angular-stack.github.io/craft/guide/concepts/insertions
25
+ - https://ng-angular-stack.github.io/craft/guide/state/react-on-mutation
26
+ - https://ng-angular-stack.github.io/craft/guide/state/pagination-placeholder
27
+ - https://ng-angular-stack.github.io/craft/guide/state/collections
28
+ - https://ng-angular-stack.github.io/craft/guide/state/persistence
29
+ - https://ng-angular-stack.github.io/craft/guide/state/select
30
+ - https://ng-angular-stack.github.io/craft/guide/app/craft-service
31
+ - https://ng-angular-stack.github.io/craft/guide/app/integrate-existing
32
+ - https://ng-angular-stack.github.io/craft/guide/testing/services
33
+ - https://ng-angular-stack.github.io/craft/guide/reactivity/on
34
+ - https://ng-angular-stack.github.io/craft/guide/reactivity/source
35
+ - https://ng-angular-stack.github.io/craft/guide/forms/
36
+ - https://ng-angular-stack.github.io/craft/resources/examples
37
+
38
+ ## Best examples
39
+
40
+ The [examples](https://ng-angular-stack.github.io/craft/resources/examples) page
41
+ lists the demo routes (pagination, full user management, forms). Open those
42
+ StackBlitz links when you need a complete composition.
43
+
44
+ MCP `find_examples` searches the same Learn + examples corpus.
45
+
46
+ ## Notes
47
+
48
+ - Favor symbol names from the installed package over older or shorter doc titles.
49
+ - The public insertion name is `insertLocalStoragePersister`.
50
+ - Reach for advanced exports such as `toSource`, `computedSource`, `signalSource`,
51
+ `linkedSource`, `resourceById`, and `toInject` only when the request is
52
+ explicitly about infrastructure or source plumbing.