dinachi-assistant
4
总安装量
4
周安装量
#53984
全站排名
安装命令
npx skills add https://github.com/raymond-ui/dinachiui --skill dinachi-assistant
Agent 安装分布
gemini-cli
4
opencode
4
antigravity
4
github-copilot
4
windsurf
4
codex
4
Skill 文档
Dinachi Assistant
Use one skill with two explicit modes and one automatic router.
Mode: build-now
Use when user asks for concrete implementation quickly:
- explicit component asks (
add dialog + form) - install/integration asks
- direct code edits using known Dinachi components
Primary references:
references/components.mdreferences/intent-map.mdreferences/workflows.md(command generation and verification)references/troubleshooting.md(setup/import/theme diagnosis)references/maintainer-checklist.md(monorepo component/docs/template/test updates)
Primary scripts:
scripts/suggest-components.mjs --json "<prompt>"(when component names are ambiguous)scripts/audit-skill.mjs(maintainer consistency checks)scripts/validate-skill.mjs(skill folder sanity checks)
Maintainer scope:
- When changing Dinachi itself in this monorepo, use
references/maintainer-checklist.md. - Treat
packages/components/src/<slug>as source of truth and keep CLI templates/docs in sync.
Mode: plan-first
Use when user intent is broad/ambiguous or generative:
- “make a good settings flow”
- “design a configurable admin experience”
- “generate a workflow UI from intent”
Primary references:
references/components.registry.jsonreferences/policies.jsonreferences/intent.schema.jsonreferences/recipe.schema.jsonreferences/question-policy.json
Primary scripts:
scripts/resolve-intent.mjs --json "<prompt>"- If
status=clarify, runscripts/clarify-question.mjs --json '<GuidanceDecision JSON>' - If
status=resolved, runscripts/plan-recipe.mjs --json '<GuidanceDecision JSON>' - Validate with
scripts/validate-recipe.mjs --json '<UIRecipe JSON>'
Only proceed to implementation when ValidationReport.valid is true.
Mode: auto-router
Route automatically with:
scripts/route-mode.mjs --json "<prompt>"
Routing policy:
build-nowwhen prompt contains explicit Dinachi slugs or direct install/add verbs.plan-firstwhen prompt is broad, qualitative, or design-oriented without concrete component selection.- If uncertain, choose
plan-first.
Shared Contracts
The plan-first pipeline uses:
IntentEnvelope:{ request_id, intents, ambiguities, confidence }GuidanceDecision:{ status, reason, question?, options?, candidates? }UIRecipe:{ recipe_id, goal, layout, components, actions, bindings, states }ValidationReport:{ valid, errors, warnings, fixes }
Operating Rules
- Use
references/components.registry.jsonas the source of truth for allowed Dinachi slugs and capabilities. - Keep hard guards minimal and safety-focused.
- Keep warnings advisory; do not block on warnings alone.
- Prefer fast path (
build-now) for concrete requests. - Prefer reliable path (
plan-first) for ambiguous or system-level requests.