@oriro/orirocli 0.1.8 → 0.1.9
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.
- package/ATTRIBUTION.md +8 -0
- package/LICENSE +21 -0
- package/package.json +1 -1
- package/skills/21stdev/SKILL.md +64 -0
- package/skills/graphify/SKILL.md +619 -0
- package/skills/graphify/__init__.py +28 -0
- package/skills/graphify/__main__.py +4582 -0
- package/skills/graphify/affected.py +154 -0
- package/skills/graphify/always_on/agents-md.md +12 -0
- package/skills/graphify/always_on/antigravity-rules.md +14 -0
- package/skills/graphify/always_on/claude-md.md +9 -0
- package/skills/graphify/always_on/gemini-md.md +9 -0
- package/skills/graphify/always_on/kiro-steering.md +5 -0
- package/skills/graphify/always_on/vscode-instructions.md +17 -0
- package/skills/graphify/analyze.py +724 -0
- package/skills/graphify/benchmark.py +155 -0
- package/skills/graphify/build.py +487 -0
- package/skills/graphify/cache.py +417 -0
- package/skills/graphify/callflow_html.py +2020 -0
- package/skills/graphify/cluster.py +272 -0
- package/skills/graphify/command-kilo.md +15 -0
- package/skills/graphify/dedup.py +429 -0
- package/skills/graphify/detect.py +1379 -0
- package/skills/graphify/diagnostics.py +390 -0
- package/skills/graphify/export.py +1408 -0
- package/skills/graphify/extract.py +11570 -0
- package/skills/graphify/global_graph.py +159 -0
- package/skills/graphify/google_workspace.py +223 -0
- package/skills/graphify/hooks.py +457 -0
- package/skills/graphify/ingest.py +331 -0
- package/skills/graphify/llm.py +1896 -0
- package/skills/graphify/manifest.py +4 -0
- package/skills/graphify/mcp_ingest.py +392 -0
- package/skills/graphify/multigraph_compat.py +212 -0
- package/skills/graphify/pg_introspect.py +142 -0
- package/skills/graphify/prs.py +748 -0
- package/skills/graphify/querylog.py +70 -0
- package/skills/graphify/report.py +218 -0
- package/skills/graphify/scip_ingest.py +363 -0
- package/skills/graphify/security.py +336 -0
- package/skills/graphify/semantic_cleanup.py +319 -0
- package/skills/graphify/serve.py +1309 -0
- package/skills/graphify/skill-aider.md +1246 -0
- package/skills/graphify/skill-amp.md +613 -0
- package/skills/graphify/skill-claw.md +616 -0
- package/skills/graphify/skill-codex.md +613 -0
- package/skills/graphify/skill-copilot.md +616 -0
- package/skills/graphify/skill-devin.md +1372 -0
- package/skills/graphify/skill-droid.md +613 -0
- package/skills/graphify/skill-kilo.md +625 -0
- package/skills/graphify/skill-kiro.md +615 -0
- package/skills/graphify/skill-opencode.md +608 -0
- package/skills/graphify/skill-pi.md +615 -0
- package/skills/graphify/skill-trae.md +614 -0
- package/skills/graphify/skill-vscode.md +612 -0
- package/skills/graphify/skill-windows.md +651 -0
- package/skills/graphify/skills/amp/references/add-watch.md +56 -0
- package/skills/graphify/skills/amp/references/exports.md +71 -0
- package/skills/graphify/skills/amp/references/extraction-spec.md +68 -0
- package/skills/graphify/skills/amp/references/github-and-merge.md +46 -0
- package/skills/graphify/skills/amp/references/hooks.md +33 -0
- package/skills/graphify/skills/amp/references/query.md +249 -0
- package/skills/graphify/skills/amp/references/transcribe.md +48 -0
- package/skills/graphify/skills/amp/references/update.md +179 -0
- package/skills/graphify/skills/claude/references/add-watch.md +56 -0
- package/skills/graphify/skills/claude/references/exports.md +71 -0
- package/skills/graphify/skills/claude/references/extraction-spec.md +68 -0
- package/skills/graphify/skills/claude/references/github-and-merge.md +46 -0
- package/skills/graphify/skills/claude/references/hooks.md +33 -0
- package/skills/graphify/skills/claude/references/query.md +103 -0
- package/skills/graphify/skills/claude/references/transcribe.md +48 -0
- package/skills/graphify/skills/claude/references/update.md +179 -0
- package/skills/graphify/skills/claw/references/add-watch.md +56 -0
- package/skills/graphify/skills/claw/references/exports.md +71 -0
- package/skills/graphify/skills/claw/references/extraction-spec.md +29 -0
- package/skills/graphify/skills/claw/references/github-and-merge.md +46 -0
- package/skills/graphify/skills/claw/references/hooks.md +33 -0
- package/skills/graphify/skills/claw/references/query.md +249 -0
- package/skills/graphify/skills/claw/references/transcribe.md +48 -0
- package/skills/graphify/skills/claw/references/update.md +179 -0
- package/skills/graphify/skills/codex/references/add-watch.md +56 -0
- package/skills/graphify/skills/codex/references/exports.md +71 -0
- package/skills/graphify/skills/codex/references/extraction-spec.md +29 -0
- package/skills/graphify/skills/codex/references/github-and-merge.md +46 -0
- package/skills/graphify/skills/codex/references/hooks.md +33 -0
- package/skills/graphify/skills/codex/references/query.md +249 -0
- package/skills/graphify/skills/codex/references/transcribe.md +48 -0
- package/skills/graphify/skills/codex/references/update.md +179 -0
- package/skills/graphify/skills/copilot/references/add-watch.md +56 -0
- package/skills/graphify/skills/copilot/references/exports.md +71 -0
- package/skills/graphify/skills/copilot/references/extraction-spec.md +68 -0
- package/skills/graphify/skills/copilot/references/github-and-merge.md +46 -0
- package/skills/graphify/skills/copilot/references/hooks.md +33 -0
- package/skills/graphify/skills/copilot/references/query.md +249 -0
- package/skills/graphify/skills/copilot/references/transcribe.md +48 -0
- package/skills/graphify/skills/copilot/references/update.md +179 -0
- package/skills/graphify/skills/droid/references/add-watch.md +56 -0
- package/skills/graphify/skills/droid/references/exports.md +71 -0
- package/skills/graphify/skills/droid/references/extraction-spec.md +68 -0
- package/skills/graphify/skills/droid/references/github-and-merge.md +46 -0
- package/skills/graphify/skills/droid/references/hooks.md +33 -0
- package/skills/graphify/skills/droid/references/query.md +249 -0
- package/skills/graphify/skills/droid/references/transcribe.md +48 -0
- package/skills/graphify/skills/droid/references/update.md +179 -0
- package/skills/graphify/skills/kilo/references/add-watch.md +56 -0
- package/skills/graphify/skills/kilo/references/exports.md +71 -0
- package/skills/graphify/skills/kilo/references/extraction-spec.md +68 -0
- package/skills/graphify/skills/kilo/references/github-and-merge.md +46 -0
- package/skills/graphify/skills/kilo/references/hooks.md +33 -0
- package/skills/graphify/skills/kilo/references/query.md +249 -0
- package/skills/graphify/skills/kilo/references/transcribe.md +48 -0
- package/skills/graphify/skills/kilo/references/update.md +179 -0
- package/skills/graphify/skills/kiro/references/add-watch.md +56 -0
- package/skills/graphify/skills/kiro/references/exports.md +71 -0
- package/skills/graphify/skills/kiro/references/extraction-spec.md +29 -0
- package/skills/graphify/skills/kiro/references/github-and-merge.md +46 -0
- package/skills/graphify/skills/kiro/references/hooks.md +33 -0
- package/skills/graphify/skills/kiro/references/query.md +249 -0
- package/skills/graphify/skills/kiro/references/transcribe.md +48 -0
- package/skills/graphify/skills/kiro/references/update.md +179 -0
- package/skills/graphify/skills/opencode/references/add-watch.md +56 -0
- package/skills/graphify/skills/opencode/references/exports.md +71 -0
- package/skills/graphify/skills/opencode/references/extraction-spec.md +68 -0
- package/skills/graphify/skills/opencode/references/github-and-merge.md +46 -0
- package/skills/graphify/skills/opencode/references/hooks.md +33 -0
- package/skills/graphify/skills/opencode/references/query.md +249 -0
- package/skills/graphify/skills/opencode/references/transcribe.md +48 -0
- package/skills/graphify/skills/opencode/references/update.md +179 -0
- package/skills/graphify/skills/pi/references/add-watch.md +56 -0
- package/skills/graphify/skills/pi/references/exports.md +71 -0
- package/skills/graphify/skills/pi/references/extraction-spec.md +29 -0
- package/skills/graphify/skills/pi/references/github-and-merge.md +46 -0
- package/skills/graphify/skills/pi/references/hooks.md +33 -0
- package/skills/graphify/skills/pi/references/query.md +249 -0
- package/skills/graphify/skills/pi/references/transcribe.md +48 -0
- package/skills/graphify/skills/pi/references/update.md +179 -0
- package/skills/graphify/skills/trae/references/add-watch.md +56 -0
- package/skills/graphify/skills/trae/references/exports.md +71 -0
- package/skills/graphify/skills/trae/references/extraction-spec.md +68 -0
- package/skills/graphify/skills/trae/references/github-and-merge.md +46 -0
- package/skills/graphify/skills/trae/references/hooks.md +35 -0
- package/skills/graphify/skills/trae/references/query.md +249 -0
- package/skills/graphify/skills/trae/references/transcribe.md +48 -0
- package/skills/graphify/skills/trae/references/update.md +179 -0
- package/skills/graphify/skills/vscode/references/add-watch.md +56 -0
- package/skills/graphify/skills/vscode/references/exports.md +71 -0
- package/skills/graphify/skills/vscode/references/extraction-spec.md +68 -0
- package/skills/graphify/skills/vscode/references/github-and-merge.md +46 -0
- package/skills/graphify/skills/vscode/references/hooks.md +33 -0
- package/skills/graphify/skills/vscode/references/query.md +249 -0
- package/skills/graphify/skills/vscode/references/transcribe.md +48 -0
- package/skills/graphify/skills/vscode/references/update.md +179 -0
- package/skills/graphify/skills/windows/references/add-watch.md +56 -0
- package/skills/graphify/skills/windows/references/exports.md +71 -0
- package/skills/graphify/skills/windows/references/extraction-spec.md +68 -0
- package/skills/graphify/skills/windows/references/github-and-merge.md +46 -0
- package/skills/graphify/skills/windows/references/hooks.md +33 -0
- package/skills/graphify/skills/windows/references/query.md +249 -0
- package/skills/graphify/skills/windows/references/transcribe.md +48 -0
- package/skills/graphify/skills/windows/references/update.md +179 -0
- package/skills/graphify/symbol_resolution.py +538 -0
- package/skills/graphify/transcribe.py +184 -0
- package/skills/graphify/tree_html.py +582 -0
- package/skills/graphify/validate.py +72 -0
- package/skills/graphify/watch.py +898 -0
- package/skills/graphify/wiki.py +282 -0
- package/skills/impeccable/SKILL.md +186 -0
- package/skills/impeccable/agents/impeccable_asset_producer.toml +92 -0
- package/skills/impeccable/agents/impeccable_manual_edit_applier.toml +95 -0
- package/skills/impeccable/agents/openai.yaml +4 -0
- package/skills/impeccable/reference/adapt.md +311 -0
- package/skills/impeccable/reference/animate.md +201 -0
- package/skills/impeccable/reference/audit.md +133 -0
- package/skills/impeccable/reference/bolder.md +113 -0
- package/skills/impeccable/reference/brand.md +108 -0
- package/skills/impeccable/reference/clarify.md +288 -0
- package/skills/impeccable/reference/codex.md +105 -0
- package/skills/impeccable/reference/colorize.md +257 -0
- package/skills/impeccable/reference/craft.md +123 -0
- package/skills/impeccable/reference/critique.md +790 -0
- package/skills/impeccable/reference/delight.md +302 -0
- package/skills/impeccable/reference/distill.md +111 -0
- package/skills/impeccable/reference/document.md +429 -0
- package/skills/impeccable/reference/extract.md +69 -0
- package/skills/impeccable/reference/harden.md +347 -0
- package/skills/impeccable/reference/init.md +172 -0
- package/skills/impeccable/reference/interaction-design.md +189 -0
- package/skills/impeccable/reference/layout.md +161 -0
- package/skills/impeccable/reference/live.md +720 -0
- package/skills/impeccable/reference/onboard.md +234 -0
- package/skills/impeccable/reference/optimize.md +258 -0
- package/skills/impeccable/reference/overdrive.md +130 -0
- package/skills/impeccable/reference/polish.md +241 -0
- package/skills/impeccable/reference/product.md +60 -0
- package/skills/impeccable/reference/quieter.md +99 -0
- package/skills/impeccable/reference/shape.md +165 -0
- package/skills/impeccable/reference/typeset.md +279 -0
- package/skills/impeccable/scripts/cleanup-deprecated.mjs +284 -0
- package/skills/impeccable/scripts/command-metadata.json +94 -0
- package/skills/impeccable/scripts/context-signals.mjs +225 -0
- package/skills/impeccable/scripts/context.mjs +266 -0
- package/skills/impeccable/scripts/critique-storage.mjs +242 -0
- package/skills/impeccable/scripts/design-parser.mjs +835 -0
- package/skills/impeccable/scripts/detect-csp.mjs +198 -0
- package/skills/impeccable/scripts/detect.mjs +21 -0
- package/skills/impeccable/scripts/detector/browser/injected/index.mjs +1733 -0
- package/skills/impeccable/scripts/detector/cli/main.mjs +244 -0
- package/skills/impeccable/scripts/detector/detect-antipatterns-browser.js +4618 -0
- package/skills/impeccable/scripts/detector/detect-antipatterns.mjs +43 -0
- package/skills/impeccable/scripts/detector/engines/browser/detect-url.mjs +252 -0
- package/skills/impeccable/scripts/detector/engines/regex/detect-text.mjs +535 -0
- package/skills/impeccable/scripts/detector/engines/static-html/css-cascade.mjs +986 -0
- package/skills/impeccable/scripts/detector/engines/static-html/detect-html.mjs +208 -0
- package/skills/impeccable/scripts/detector/engines/visual/screenshot-contrast.mjs +189 -0
- package/skills/impeccable/scripts/detector/findings.mjs +12 -0
- package/skills/impeccable/scripts/detector/node/file-system.mjs +198 -0
- package/skills/impeccable/scripts/detector/profile/profiler.mjs +166 -0
- package/skills/impeccable/scripts/detector/registry/antipatterns.mjs +419 -0
- package/skills/impeccable/scripts/detector/rules/checks.mjs +2384 -0
- package/skills/impeccable/scripts/detector/shared/color.mjs +124 -0
- package/skills/impeccable/scripts/detector/shared/constants.mjs +101 -0
- package/skills/impeccable/scripts/detector/shared/page.mjs +7 -0
- package/skills/impeccable/scripts/impeccable-paths.mjs +126 -0
- package/skills/impeccable/scripts/is-generated.mjs +69 -0
- package/skills/impeccable/scripts/live-accept.mjs +812 -0
- package/skills/impeccable/scripts/live-browser-session.js +123 -0
- package/skills/impeccable/scripts/live-browser.js +10295 -0
- package/skills/impeccable/scripts/live-commit-manual-edits.mjs +1241 -0
- package/skills/impeccable/scripts/live-complete.mjs +75 -0
- package/skills/impeccable/scripts/live-completion.mjs +19 -0
- package/skills/impeccable/scripts/live-copy-edit-agent.mjs +683 -0
- package/skills/impeccable/scripts/live-discard-manual-edits.mjs +51 -0
- package/skills/impeccable/scripts/live-event-validation.mjs +137 -0
- package/skills/impeccable/scripts/live-inject.mjs +557 -0
- package/skills/impeccable/scripts/live-insert-ui.mjs +458 -0
- package/skills/impeccable/scripts/live-insert.mjs +272 -0
- package/skills/impeccable/scripts/live-manual-edit-evidence.mjs +363 -0
- package/skills/impeccable/scripts/live-manual-edits-buffer.mjs +152 -0
- package/skills/impeccable/scripts/live-poll.mjs +379 -0
- package/skills/impeccable/scripts/live-resume.mjs +94 -0
- package/skills/impeccable/scripts/live-server.mjs +2326 -0
- package/skills/impeccable/scripts/live-session-store.mjs +289 -0
- package/skills/impeccable/scripts/live-status.mjs +61 -0
- package/skills/impeccable/scripts/live-svelte-component.mjs +826 -0
- package/skills/impeccable/scripts/live-sveltekit-adapter.mjs +274 -0
- package/skills/impeccable/scripts/live-ui-core.mjs +179 -0
- package/skills/impeccable/scripts/live-vocabulary.mjs +36 -0
- package/skills/impeccable/scripts/live-wrap.mjs +894 -0
- package/skills/impeccable/scripts/live.mjs +246 -0
- package/skills/impeccable/scripts/modern-screenshot.umd.js +14 -0
- package/skills/impeccable/scripts/palette.mjs +633 -0
- package/skills/impeccable/scripts/pin.mjs +214 -0
- package/skills/uipm-ui-styling/LICENSE.txt +202 -0
- package/skills/uipm-ui-styling/SKILL.md +328 -0
- package/skills/uipm-ui-styling/canvas-fonts/ArsenalSC-OFL.txt +93 -0
- package/skills/uipm-ui-styling/canvas-fonts/ArsenalSC-Regular.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/BigShoulders-Bold.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/BigShoulders-OFL.txt +93 -0
- package/skills/uipm-ui-styling/canvas-fonts/BigShoulders-Regular.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/Boldonse-OFL.txt +93 -0
- package/skills/uipm-ui-styling/canvas-fonts/Boldonse-Regular.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/BricolageGrotesque-Bold.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/BricolageGrotesque-OFL.txt +93 -0
- package/skills/uipm-ui-styling/canvas-fonts/BricolageGrotesque-Regular.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/CrimsonPro-Bold.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/CrimsonPro-Italic.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/CrimsonPro-OFL.txt +93 -0
- package/skills/uipm-ui-styling/canvas-fonts/CrimsonPro-Regular.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/DMMono-OFL.txt +93 -0
- package/skills/uipm-ui-styling/canvas-fonts/DMMono-Regular.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/EricaOne-OFL.txt +94 -0
- package/skills/uipm-ui-styling/canvas-fonts/EricaOne-Regular.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/GeistMono-Bold.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/GeistMono-OFL.txt +93 -0
- package/skills/uipm-ui-styling/canvas-fonts/GeistMono-Regular.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/Gloock-OFL.txt +93 -0
- package/skills/uipm-ui-styling/canvas-fonts/Gloock-Regular.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/IBMPlexMono-Bold.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/IBMPlexMono-OFL.txt +93 -0
- package/skills/uipm-ui-styling/canvas-fonts/IBMPlexMono-Regular.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/IBMPlexSerif-Bold.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/IBMPlexSerif-BoldItalic.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/IBMPlexSerif-Italic.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/IBMPlexSerif-Regular.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/InstrumentSans-Bold.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/InstrumentSans-BoldItalic.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/InstrumentSans-Italic.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/InstrumentSans-OFL.txt +93 -0
- package/skills/uipm-ui-styling/canvas-fonts/InstrumentSans-Regular.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/InstrumentSerif-Italic.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/InstrumentSerif-Regular.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/Italiana-OFL.txt +93 -0
- package/skills/uipm-ui-styling/canvas-fonts/Italiana-Regular.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/JetBrainsMono-Bold.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/JetBrainsMono-OFL.txt +93 -0
- package/skills/uipm-ui-styling/canvas-fonts/JetBrainsMono-Regular.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/Jura-Light.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/Jura-Medium.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/Jura-OFL.txt +93 -0
- package/skills/uipm-ui-styling/canvas-fonts/LibreBaskerville-OFL.txt +93 -0
- package/skills/uipm-ui-styling/canvas-fonts/LibreBaskerville-Regular.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/Lora-Bold.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/Lora-BoldItalic.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/Lora-Italic.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/Lora-OFL.txt +93 -0
- package/skills/uipm-ui-styling/canvas-fonts/Lora-Regular.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/NationalPark-Bold.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/NationalPark-OFL.txt +93 -0
- package/skills/uipm-ui-styling/canvas-fonts/NationalPark-Regular.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/NothingYouCouldDo-OFL.txt +93 -0
- package/skills/uipm-ui-styling/canvas-fonts/NothingYouCouldDo-Regular.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/Outfit-Bold.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/Outfit-OFL.txt +93 -0
- package/skills/uipm-ui-styling/canvas-fonts/Outfit-Regular.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/PixelifySans-Medium.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/PixelifySans-OFL.txt +93 -0
- package/skills/uipm-ui-styling/canvas-fonts/PoiretOne-OFL.txt +93 -0
- package/skills/uipm-ui-styling/canvas-fonts/PoiretOne-Regular.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/RedHatMono-Bold.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/RedHatMono-OFL.txt +93 -0
- package/skills/uipm-ui-styling/canvas-fonts/RedHatMono-Regular.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/Silkscreen-OFL.txt +93 -0
- package/skills/uipm-ui-styling/canvas-fonts/Silkscreen-Regular.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/SmoochSans-Medium.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/SmoochSans-OFL.txt +93 -0
- package/skills/uipm-ui-styling/canvas-fonts/Tektur-Medium.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/Tektur-OFL.txt +93 -0
- package/skills/uipm-ui-styling/canvas-fonts/Tektur-Regular.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/WorkSans-Bold.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/WorkSans-BoldItalic.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/WorkSans-Italic.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/WorkSans-OFL.txt +93 -0
- package/skills/uipm-ui-styling/canvas-fonts/WorkSans-Regular.ttf +0 -0
- package/skills/uipm-ui-styling/canvas-fonts/YoungSerif-OFL.txt +93 -0
- package/skills/uipm-ui-styling/canvas-fonts/YoungSerif-Regular.ttf +0 -0
- package/skills/uipm-ui-styling/references/canvas-design-system.md +320 -0
- package/skills/uipm-ui-styling/references/shadcn-accessibility.md +471 -0
- package/skills/uipm-ui-styling/references/shadcn-components.md +424 -0
- package/skills/uipm-ui-styling/references/shadcn-theming.md +373 -0
- package/skills/uipm-ui-styling/references/tailwind-customization.md +483 -0
- package/skills/uipm-ui-styling/references/tailwind-responsive.md +382 -0
- package/skills/uipm-ui-styling/references/tailwind-utilities.md +455 -0
- package/skills/uipm-ui-styling/scripts/.coverage +0 -0
- package/skills/uipm-ui-styling/scripts/requirements.txt +17 -0
- package/skills/uipm-ui-styling/scripts/shadcn_add.py +292 -0
- package/skills/uipm-ui-styling/scripts/tailwind_config_gen.py +456 -0
- package/skills/uipm-ui-styling/scripts/tests/coverage-ui.json +1 -0
- package/skills/uipm-ui-styling/scripts/tests/requirements.txt +3 -0
- package/skills/uipm-ui-styling/scripts/tests/test_shadcn_add.py +266 -0
- package/skills/uipm-ui-styling/scripts/tests/test_tailwind_config_gen.py +336 -0
|
@@ -0,0 +1,424 @@
|
|
|
1
|
+
# shadcn/ui Component Reference
|
|
2
|
+
|
|
3
|
+
Complete catalog of shadcn/ui components with usage patterns and installation.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
**Add specific components:**
|
|
8
|
+
```bash
|
|
9
|
+
npx shadcn@latest add button
|
|
10
|
+
npx shadcn@latest add button card dialog # Multiple
|
|
11
|
+
npx shadcn@latest add --all # All components
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Components install to `components/ui/` with automatic dependency management.
|
|
15
|
+
|
|
16
|
+
## Form & Input Components
|
|
17
|
+
|
|
18
|
+
### Button
|
|
19
|
+
```tsx
|
|
20
|
+
import { Button } from "@/components/ui/button"
|
|
21
|
+
|
|
22
|
+
<Button variant="default">Default</Button>
|
|
23
|
+
<Button variant="destructive">Delete</Button>
|
|
24
|
+
<Button variant="outline" size="sm">Small Outline</Button>
|
|
25
|
+
<Button variant="ghost" size="icon"><Icon /></Button>
|
|
26
|
+
<Button variant="link">Link Style</Button>
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Variants: `default | destructive | outline | secondary | ghost | link`
|
|
30
|
+
Sizes: `default | sm | lg | icon`
|
|
31
|
+
|
|
32
|
+
### Input
|
|
33
|
+
```tsx
|
|
34
|
+
import { Input } from "@/components/ui/input"
|
|
35
|
+
import { Label } from "@/components/ui/label"
|
|
36
|
+
|
|
37
|
+
<div className="space-y-2">
|
|
38
|
+
<Label htmlFor="email">Email</Label>
|
|
39
|
+
<Input id="email" type="email" placeholder="you@example.com" />
|
|
40
|
+
</div>
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### Form (with React Hook Form + Zod)
|
|
44
|
+
```tsx
|
|
45
|
+
import { useForm } from "react-hook-form"
|
|
46
|
+
import { zodResolver } from "@hookform/resolvers/zod"
|
|
47
|
+
import * as z from "zod"
|
|
48
|
+
import { Form, FormControl, FormField, FormItem, FormLabel, FormMessage } from "@/components/ui/form"
|
|
49
|
+
import { Input } from "@/components/ui/input"
|
|
50
|
+
import { Button } from "@/components/ui/button"
|
|
51
|
+
|
|
52
|
+
const schema = z.object({
|
|
53
|
+
username: z.string().min(2).max(50),
|
|
54
|
+
email: z.string().email()
|
|
55
|
+
})
|
|
56
|
+
|
|
57
|
+
function ProfileForm() {
|
|
58
|
+
const form = useForm({
|
|
59
|
+
resolver: zodResolver(schema),
|
|
60
|
+
defaultValues: { username: "", email: "" }
|
|
61
|
+
})
|
|
62
|
+
|
|
63
|
+
return (
|
|
64
|
+
<Form {...form}>
|
|
65
|
+
<form onSubmit={form.handleSubmit(console.log)} className="space-y-8">
|
|
66
|
+
<FormField control={form.control} name="username" render={({ field }) => (
|
|
67
|
+
<FormItem>
|
|
68
|
+
<FormLabel>Username</FormLabel>
|
|
69
|
+
<FormControl>
|
|
70
|
+
<Input placeholder="shadcn" {...field} />
|
|
71
|
+
</FormControl>
|
|
72
|
+
<FormMessage />
|
|
73
|
+
</FormItem>
|
|
74
|
+
)} />
|
|
75
|
+
<Button type="submit">Submit</Button>
|
|
76
|
+
</form>
|
|
77
|
+
</Form>
|
|
78
|
+
)
|
|
79
|
+
}
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
### Select
|
|
83
|
+
```tsx
|
|
84
|
+
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select"
|
|
85
|
+
|
|
86
|
+
<Select>
|
|
87
|
+
<SelectTrigger className="w-[180px]">
|
|
88
|
+
<SelectValue placeholder="Theme" />
|
|
89
|
+
</SelectTrigger>
|
|
90
|
+
<SelectContent>
|
|
91
|
+
<SelectItem value="light">Light</SelectItem>
|
|
92
|
+
<SelectItem value="dark">Dark</SelectItem>
|
|
93
|
+
<SelectItem value="system">System</SelectItem>
|
|
94
|
+
</SelectContent>
|
|
95
|
+
</Select>
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
### Checkbox
|
|
99
|
+
```tsx
|
|
100
|
+
import { Checkbox } from "@/components/ui/checkbox"
|
|
101
|
+
import { Label } from "@/components/ui/label"
|
|
102
|
+
|
|
103
|
+
<div className="flex items-center space-x-2">
|
|
104
|
+
<Checkbox id="terms" />
|
|
105
|
+
<Label htmlFor="terms">Accept terms</Label>
|
|
106
|
+
</div>
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
### Radio Group
|
|
110
|
+
```tsx
|
|
111
|
+
import { RadioGroup, RadioGroupItem } from "@/components/ui/radio-group"
|
|
112
|
+
import { Label } from "@/components/ui/label"
|
|
113
|
+
|
|
114
|
+
<RadioGroup defaultValue="option-one">
|
|
115
|
+
<div className="flex items-center space-x-2">
|
|
116
|
+
<RadioGroupItem value="option-one" id="option-one" />
|
|
117
|
+
<Label htmlFor="option-one">Option One</Label>
|
|
118
|
+
</div>
|
|
119
|
+
<div className="flex items-center space-x-2">
|
|
120
|
+
<RadioGroupItem value="option-two" id="option-two" />
|
|
121
|
+
<Label htmlFor="option-two">Option Two</Label>
|
|
122
|
+
</div>
|
|
123
|
+
</RadioGroup>
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
### Textarea
|
|
127
|
+
```tsx
|
|
128
|
+
import { Textarea } from "@/components/ui/textarea"
|
|
129
|
+
|
|
130
|
+
<Textarea placeholder="Type your message here." />
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
### Switch
|
|
134
|
+
```tsx
|
|
135
|
+
import { Switch } from "@/components/ui/switch"
|
|
136
|
+
import { Label } from "@/components/ui/label"
|
|
137
|
+
|
|
138
|
+
<div className="flex items-center space-x-2">
|
|
139
|
+
<Switch id="airplane-mode" />
|
|
140
|
+
<Label htmlFor="airplane-mode">Airplane Mode</Label>
|
|
141
|
+
</div>
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
### Date Picker
|
|
145
|
+
```tsx
|
|
146
|
+
import { Calendar } from "@/components/ui/calendar"
|
|
147
|
+
import { Popover, PopoverContent, PopoverTrigger } from "@/components/ui/popover"
|
|
148
|
+
import { Button } from "@/components/ui/button"
|
|
149
|
+
import { CalendarIcon } from "lucide-react"
|
|
150
|
+
import { format } from "date-fns"
|
|
151
|
+
import { useState } from "react"
|
|
152
|
+
|
|
153
|
+
const [date, setDate] = useState<Date>()
|
|
154
|
+
|
|
155
|
+
<Popover>
|
|
156
|
+
<PopoverTrigger asChild>
|
|
157
|
+
<Button variant="outline">
|
|
158
|
+
<CalendarIcon className="mr-2 h-4 w-4" />
|
|
159
|
+
{date ? format(date, "PPP") : "Pick a date"}
|
|
160
|
+
</Button>
|
|
161
|
+
</PopoverTrigger>
|
|
162
|
+
<PopoverContent className="w-auto p-0">
|
|
163
|
+
<Calendar mode="single" selected={date} onSelect={setDate} />
|
|
164
|
+
</PopoverContent>
|
|
165
|
+
</Popover>
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
## Layout & Navigation
|
|
169
|
+
|
|
170
|
+
### Card
|
|
171
|
+
```tsx
|
|
172
|
+
import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "@/components/ui/card"
|
|
173
|
+
|
|
174
|
+
<Card>
|
|
175
|
+
<CardHeader>
|
|
176
|
+
<CardTitle>Card Title</CardTitle>
|
|
177
|
+
<CardDescription>Card Description</CardDescription>
|
|
178
|
+
</CardHeader>
|
|
179
|
+
<CardContent>
|
|
180
|
+
<p>Card Content</p>
|
|
181
|
+
</CardContent>
|
|
182
|
+
<CardFooter>
|
|
183
|
+
<Button>Action</Button>
|
|
184
|
+
</CardFooter>
|
|
185
|
+
</Card>
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
### Tabs
|
|
189
|
+
```tsx
|
|
190
|
+
import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs"
|
|
191
|
+
|
|
192
|
+
<Tabs defaultValue="account">
|
|
193
|
+
<TabsList>
|
|
194
|
+
<TabsTrigger value="account">Account</TabsTrigger>
|
|
195
|
+
<TabsTrigger value="password">Password</TabsTrigger>
|
|
196
|
+
</TabsList>
|
|
197
|
+
<TabsContent value="account">Account settings</TabsContent>
|
|
198
|
+
<TabsContent value="password">Password settings</TabsContent>
|
|
199
|
+
</Tabs>
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
### Accordion
|
|
203
|
+
```tsx
|
|
204
|
+
import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "@/components/ui/accordion"
|
|
205
|
+
|
|
206
|
+
<Accordion type="single" collapsible>
|
|
207
|
+
<AccordionItem value="item-1">
|
|
208
|
+
<AccordionTrigger>Is it accessible?</AccordionTrigger>
|
|
209
|
+
<AccordionContent>
|
|
210
|
+
Yes. It adheres to WAI-ARIA design pattern.
|
|
211
|
+
</AccordionContent>
|
|
212
|
+
</AccordionItem>
|
|
213
|
+
<AccordionItem value="item-2">
|
|
214
|
+
<AccordionTrigger>Is it styled?</AccordionTrigger>
|
|
215
|
+
<AccordionContent>
|
|
216
|
+
Yes. Comes with default styles customizable with Tailwind.
|
|
217
|
+
</AccordionContent>
|
|
218
|
+
</AccordionItem>
|
|
219
|
+
</Accordion>
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
### Navigation Menu
|
|
223
|
+
```tsx
|
|
224
|
+
import { NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger } from "@/components/ui/navigation-menu"
|
|
225
|
+
|
|
226
|
+
<NavigationMenu>
|
|
227
|
+
<NavigationMenuList>
|
|
228
|
+
<NavigationMenuItem>
|
|
229
|
+
<NavigationMenuTrigger>Getting Started</NavigationMenuTrigger>
|
|
230
|
+
<NavigationMenuContent>
|
|
231
|
+
<NavigationMenuLink>Introduction</NavigationMenuLink>
|
|
232
|
+
<NavigationMenuLink>Installation</NavigationMenuLink>
|
|
233
|
+
</NavigationMenuContent>
|
|
234
|
+
</NavigationMenuItem>
|
|
235
|
+
</NavigationMenuList>
|
|
236
|
+
</NavigationMenu>
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
## Overlays & Dialogs
|
|
240
|
+
|
|
241
|
+
### Dialog
|
|
242
|
+
```tsx
|
|
243
|
+
import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, DialogTrigger } from "@/components/ui/dialog"
|
|
244
|
+
|
|
245
|
+
<Dialog>
|
|
246
|
+
<DialogTrigger asChild>
|
|
247
|
+
<Button>Open</Button>
|
|
248
|
+
</DialogTrigger>
|
|
249
|
+
<DialogContent>
|
|
250
|
+
<DialogHeader>
|
|
251
|
+
<DialogTitle>Are you sure?</DialogTitle>
|
|
252
|
+
<DialogDescription>This action cannot be undone.</DialogDescription>
|
|
253
|
+
</DialogHeader>
|
|
254
|
+
</DialogContent>
|
|
255
|
+
</Dialog>
|
|
256
|
+
```
|
|
257
|
+
|
|
258
|
+
### Drawer
|
|
259
|
+
```tsx
|
|
260
|
+
import { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger } from "@/components/ui/drawer"
|
|
261
|
+
|
|
262
|
+
<Drawer>
|
|
263
|
+
<DrawerTrigger>Open</DrawerTrigger>
|
|
264
|
+
<DrawerContent>
|
|
265
|
+
<DrawerHeader>
|
|
266
|
+
<DrawerTitle>Title</DrawerTitle>
|
|
267
|
+
<DrawerDescription>Description</DrawerDescription>
|
|
268
|
+
</DrawerHeader>
|
|
269
|
+
<DrawerFooter>
|
|
270
|
+
<Button>Submit</Button>
|
|
271
|
+
<DrawerClose>Cancel</DrawerClose>
|
|
272
|
+
</DrawerFooter>
|
|
273
|
+
</DrawerContent>
|
|
274
|
+
</Drawer>
|
|
275
|
+
```
|
|
276
|
+
|
|
277
|
+
### Popover
|
|
278
|
+
```tsx
|
|
279
|
+
import { Popover, PopoverContent, PopoverTrigger } from "@/components/ui/popover"
|
|
280
|
+
|
|
281
|
+
<Popover>
|
|
282
|
+
<PopoverTrigger>Open</PopoverTrigger>
|
|
283
|
+
<PopoverContent>Content here</PopoverContent>
|
|
284
|
+
</Popover>
|
|
285
|
+
```
|
|
286
|
+
|
|
287
|
+
### Toast
|
|
288
|
+
```tsx
|
|
289
|
+
import { useToast } from "@/hooks/use-toast"
|
|
290
|
+
import { Button } from "@/components/ui/button"
|
|
291
|
+
|
|
292
|
+
const { toast } = useToast()
|
|
293
|
+
|
|
294
|
+
<Button onClick={() => {
|
|
295
|
+
toast({
|
|
296
|
+
title: "Scheduled: Catch up",
|
|
297
|
+
description: "Friday, February 10, 2023 at 5:57 PM"
|
|
298
|
+
})
|
|
299
|
+
}}>
|
|
300
|
+
Show Toast
|
|
301
|
+
</Button>
|
|
302
|
+
```
|
|
303
|
+
|
|
304
|
+
### Command
|
|
305
|
+
```tsx
|
|
306
|
+
import { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList } from "@/components/ui/command"
|
|
307
|
+
|
|
308
|
+
<Command>
|
|
309
|
+
<CommandInput placeholder="Type a command or search..." />
|
|
310
|
+
<CommandList>
|
|
311
|
+
<CommandEmpty>No results found.</CommandEmpty>
|
|
312
|
+
<CommandGroup heading="Suggestions">
|
|
313
|
+
<CommandItem>Calendar</CommandItem>
|
|
314
|
+
<CommandItem>Search Emoji</CommandItem>
|
|
315
|
+
<CommandItem>Calculator</CommandItem>
|
|
316
|
+
</CommandGroup>
|
|
317
|
+
</CommandList>
|
|
318
|
+
</Command>
|
|
319
|
+
```
|
|
320
|
+
|
|
321
|
+
### Alert Dialog
|
|
322
|
+
```tsx
|
|
323
|
+
import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger } from "@/components/ui/alert-dialog"
|
|
324
|
+
|
|
325
|
+
<AlertDialog>
|
|
326
|
+
<AlertDialogTrigger asChild>
|
|
327
|
+
<Button variant="destructive">Delete</Button>
|
|
328
|
+
</AlertDialogTrigger>
|
|
329
|
+
<AlertDialogContent>
|
|
330
|
+
<AlertDialogHeader>
|
|
331
|
+
<AlertDialogTitle>Absolutely sure?</AlertDialogTitle>
|
|
332
|
+
<AlertDialogDescription>
|
|
333
|
+
This permanently deletes your account and removes data from servers.
|
|
334
|
+
</AlertDialogDescription>
|
|
335
|
+
</AlertDialogHeader>
|
|
336
|
+
<AlertDialogFooter>
|
|
337
|
+
<AlertDialogCancel>Cancel</AlertDialogCancel>
|
|
338
|
+
<AlertDialogAction>Continue</AlertDialogAction>
|
|
339
|
+
</AlertDialogFooter>
|
|
340
|
+
</AlertDialogContent>
|
|
341
|
+
</AlertDialog>
|
|
342
|
+
```
|
|
343
|
+
|
|
344
|
+
## Feedback & Status
|
|
345
|
+
|
|
346
|
+
### Alert
|
|
347
|
+
```tsx
|
|
348
|
+
import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert"
|
|
349
|
+
|
|
350
|
+
<Alert>
|
|
351
|
+
<AlertTitle>Heads up!</AlertTitle>
|
|
352
|
+
<AlertDescription>You can add components using CLI.</AlertDescription>
|
|
353
|
+
</Alert>
|
|
354
|
+
|
|
355
|
+
<Alert variant="destructive">
|
|
356
|
+
<AlertTitle>Error</AlertTitle>
|
|
357
|
+
<AlertDescription>Session expired. Please log in.</AlertDescription>
|
|
358
|
+
</Alert>
|
|
359
|
+
```
|
|
360
|
+
|
|
361
|
+
### Progress
|
|
362
|
+
```tsx
|
|
363
|
+
import { Progress } from "@/components/ui/progress"
|
|
364
|
+
|
|
365
|
+
<Progress value={33} />
|
|
366
|
+
```
|
|
367
|
+
|
|
368
|
+
### Skeleton
|
|
369
|
+
```tsx
|
|
370
|
+
import { Skeleton } from "@/components/ui/skeleton"
|
|
371
|
+
|
|
372
|
+
<div className="flex items-center space-x-4">
|
|
373
|
+
<Skeleton className="h-12 w-12 rounded-full" />
|
|
374
|
+
<div className="space-y-2">
|
|
375
|
+
<Skeleton className="h-4 w-[250px]" />
|
|
376
|
+
<Skeleton className="h-4 w-[200px]" />
|
|
377
|
+
</div>
|
|
378
|
+
</div>
|
|
379
|
+
```
|
|
380
|
+
|
|
381
|
+
## Display Components
|
|
382
|
+
|
|
383
|
+
### Table
|
|
384
|
+
```tsx
|
|
385
|
+
import { Table, TableBody, TableCaption, TableCell, TableHead, TableHeader, TableRow } from "@/components/ui/table"
|
|
386
|
+
|
|
387
|
+
<Table>
|
|
388
|
+
<TableCaption>Recent invoices</TableCaption>
|
|
389
|
+
<TableHeader>
|
|
390
|
+
<TableRow>
|
|
391
|
+
<TableHead>Invoice</TableHead>
|
|
392
|
+
<TableHead>Status</TableHead>
|
|
393
|
+
<TableHead>Amount</TableHead>
|
|
394
|
+
</TableRow>
|
|
395
|
+
</TableHeader>
|
|
396
|
+
<TableBody>
|
|
397
|
+
<TableRow>
|
|
398
|
+
<TableCell>INV001</TableCell>
|
|
399
|
+
<TableCell>Paid</TableCell>
|
|
400
|
+
<TableCell>$250.00</TableCell>
|
|
401
|
+
</TableRow>
|
|
402
|
+
</TableBody>
|
|
403
|
+
</Table>
|
|
404
|
+
```
|
|
405
|
+
|
|
406
|
+
### Avatar
|
|
407
|
+
```tsx
|
|
408
|
+
import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar"
|
|
409
|
+
|
|
410
|
+
<Avatar>
|
|
411
|
+
<AvatarImage src="https://github.com/shadcn.png" />
|
|
412
|
+
<AvatarFallback>CN</AvatarFallback>
|
|
413
|
+
</Avatar>
|
|
414
|
+
```
|
|
415
|
+
|
|
416
|
+
### Badge
|
|
417
|
+
```tsx
|
|
418
|
+
import { Badge } from "@/components/ui/badge"
|
|
419
|
+
|
|
420
|
+
<Badge>Default</Badge>
|
|
421
|
+
<Badge variant="secondary">Secondary</Badge>
|
|
422
|
+
<Badge variant="destructive">Destructive</Badge>
|
|
423
|
+
<Badge variant="outline">Outline</Badge>
|
|
424
|
+
```
|