threadroot 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 (39) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/LICENSE +21 -0
  3. package/README.md +261 -0
  4. package/SECURITY.md +22 -0
  5. package/dist/index.d.ts +1 -0
  6. package/dist/index.js +4341 -0
  7. package/package.json +81 -0
  8. package/packs/code-review/pack.yaml +7 -0
  9. package/packs/python/pack.yaml +10 -0
  10. package/packs/react-app/pack.yaml +10 -0
  11. package/packs/security-review/pack.yaml +7 -0
  12. package/packs/system-design/pack.yaml +5 -0
  13. package/packs/testing/pack.yaml +7 -0
  14. package/packs/typescript-node/pack.yaml +9 -0
  15. package/skills/README.md +39 -0
  16. package/skills/add-test/SKILL.md +20 -0
  17. package/skills/add-test/evals/triggers.json +12 -0
  18. package/skills/build-skill/SKILL.md +36 -0
  19. package/skills/build-skill/evals/triggers.json +16 -0
  20. package/skills/build-skill/references/eval-prompts.md +20 -0
  21. package/skills/build-skill/references/skill-quality.md +18 -0
  22. package/skills/build-tool/SKILL.md +35 -0
  23. package/skills/build-tool/evals/triggers.json +13 -0
  24. package/skills/catalog.json +50 -0
  25. package/skills/code-review/SKILL.md +24 -0
  26. package/skills/code-review/evals/triggers.json +12 -0
  27. package/skills/conventional-commits/SKILL.md +29 -0
  28. package/skills/conventional-commits/evals/triggers.json +12 -0
  29. package/skills/debug-failure/SKILL.md +21 -0
  30. package/skills/debug-failure/evals/triggers.json +12 -0
  31. package/skills/security-review/SKILL.md +24 -0
  32. package/skills/security-review/evals/triggers.json +12 -0
  33. package/skills/system-design/SKILL.md +33 -0
  34. package/skills/system-design/evals/triggers.json +17 -0
  35. package/skills/system-design/references/api-data-design.md +15 -0
  36. package/skills/system-design/references/architecture-checklist.md +26 -0
  37. package/skills/system-design/references/reliability-observability.md +17 -0
  38. package/skills/write-docs/SKILL.md +20 -0
  39. package/skills/write-docs/evals/triggers.json +12 -0
@@ -0,0 +1,26 @@
1
+ # Architecture Checklist
2
+
3
+ Use this checklist to keep architecture useful and grounded.
4
+
5
+ ## Product Fit
6
+
7
+ - Name the primary user and the job the system performs.
8
+ - State what must work on day one versus what can wait.
9
+ - Prefer a boring design when requirements are uncertain.
10
+
11
+ ## Boundaries
12
+
13
+ - Define module/service ownership and data ownership.
14
+ - List synchronous calls, async jobs, external services, and human/manual steps.
15
+ - Avoid splitting services until ownership, scale, or deployment needs justify the split.
16
+
17
+ ## Tradeoffs
18
+
19
+ - Explain why the chosen design is simpler or safer than alternatives.
20
+ - Call out which assumptions would force a redesign.
21
+ - Include migration and rollback paths for risky changes.
22
+
23
+ ## Production Readiness
24
+
25
+ - Include authn/authz, secrets, rate limits, validation, logging, metrics, alerts, backups, and disaster recovery when relevant.
26
+ - Include a small validation plan: tests, load checks, security checks, smoke checks, and manual acceptance.
@@ -0,0 +1,17 @@
1
+ # Reliability And Observability
2
+
3
+ Use this reference when the system has queues, distributed calls, uptime expectations, or production operations.
4
+
5
+ ## Reliability Questions
6
+
7
+ - What happens when each dependency is slow, unavailable, or returns bad data?
8
+ - What must be retried, deduplicated, idempotent, or dead-lettered?
9
+ - What data must never be lost, and what can be recomputed?
10
+ - What is the rollback path for schema, deploy, and config changes?
11
+
12
+ ## Observability
13
+
14
+ - Track user-impacting symptoms first: latency, traffic, errors, and saturation.
15
+ - Add logs around decisions and failure boundaries, not every line of code.
16
+ - Emit metrics for queue depth, retry count, job age, dependency errors, and business-critical outcomes.
17
+ - Define an alert only when a human can take useful action.
@@ -0,0 +1,20 @@
1
+ ---
2
+ name: write-docs
3
+ description: Use when writing or updating READMEs, command docs, setup guides, architecture docs, agent instructions, generated context, or user-facing technical explanations.
4
+ scope: project
5
+ tags:
6
+ - docs
7
+ ---
8
+
9
+ # Write Docs
10
+
11
+ Document the job, the path, and the gotchas.
12
+
13
+ ## Workflow
14
+
15
+ 1. Start with what the user can do after reading.
16
+ 2. Include runnable commands and expected outputs when helpful.
17
+ 3. Keep concepts close to the commands that use them.
18
+ 4. Call out local-only, cloud, auth, security, and destructive behavior clearly.
19
+ 5. Remove stale commands and unsupported promises.
20
+ 6. Keep docs aligned with tests or smoke paths.
@@ -0,0 +1,12 @@
1
+ {
2
+ "shouldTrigger": [
3
+ "Update the README with the new install command and smoke test.",
4
+ "Document how this MCP setup flow works for users.",
5
+ "Write concise command docs for the skills CLI."
6
+ ],
7
+ "shouldNotTrigger": [
8
+ "Debug this TypeScript type error.",
9
+ "Review this auth change for vulnerabilities.",
10
+ "Design the event ingestion architecture."
11
+ ]
12
+ }