About
Agent harness (recommended for codegen)
npm imports (version-pinned):
Machine-readable discovery: onceUi field in @once-ui-system/core package.json.
Workflow:
- Load rules.compact.md
- Resolve intent → pick a file from tasks/index.json (e.g. tasks/pricing.json)
- Fetch component slices listed in the task bundle
- Read the gold example for structure; for production fidelity, read matching Pro blocks from examples/blocks/manifest.json
- Generate code
- Validate: pnpm validate-ai-code path/to/file.tsx
MCP Server (exploratory docs)
- Open mcp_config.json in File / Preferences / Settings / Plugins
- Add the following configuration:
- Restart your IDE
- Run: get-library-docs /once-ui-system/core