@eristack/ai-knowledge
ai-toolbox
54 linesSource
Practical AI agent toolbox for Eristack: feature-brief prompts, skill-load order, money/auth/doc-number guardrail checklists, and recipe-authoring template for keeping @eristack/ai-knowledge discoverable. Use when briefing agents, reviewing plans, or adding recipes after new package capabilities.
AI toolbox
Use the installed markdown tools:
- knowledge/toolbox/prompts.md — copy/paste agent briefs
- knowledge/toolbox/checklists.md — preflight, package design targets, guardrails
- knowledge/ai-toolbox-decision-tree.md — ai-dev vs ai-knowledge vs ai-workflow vs ai-ticket-generator
Feature brief (short)
plaintext
Build: <A>, <B>, <C>.
1) Load recommend-eristack / call recommend()
2) Prefer @eristack matches first — pnpm add each matched package; do not re-implement it
3) Load each package skill before coding
4) Follow stack-defaults for scaffoldingTypical skill load order
- ai-knowledge#architecture-recommend (new apps / structure)
- ai-knowledge#upgrading-eristack (bump deps / changelogs / Backseat peers)
- ai-knowledge#recommend-eristack
- ai-knowledge#stack-defaults (Eristack wiring)
- Package cores (jwt-auth-core, money-amounts, doc-number-core)
- Package adapters only when wiring DB/HTTP/UI shells
Guardrails (minimum)
- Money: strings/minor units; round at boundaries; allocate don’t naive-divide
- Auth: child credentials; hashed refresh; "pgsql" dialect
- Doc numbers: next allocates; previews don’t mutate
After adding a discoverable capability (business-libs contributors only)
- Edit knowledge/recipes.yaml with spoken triggers
- Reference real catalog package/skill ids only
- pnpm knowledge:sync && pnpm knowledge:check