@ngockhoale/ukit 1.1.6
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/CHANGELOG.md +179 -0
- package/LICENSE +21 -0
- package/README.md +189 -0
- package/bin/ukit +30 -0
- package/manifests/platform.full.yaml +1194 -0
- package/package.json +71 -0
- package/scripts/bug/triage.mjs +37 -0
- package/scripts/index/build-index.mjs +35 -0
- package/scripts/index/query-index.mjs +92 -0
- package/scripts/index/refresh-index.mjs +85 -0
- package/scripts/release/verify-release.mjs +56 -0
- package/src/bug/triageBug.js +123 -0
- package/src/cli/adapters.js +148 -0
- package/src/cli/commands/diff.js +51 -0
- package/src/cli/commands/doctor.js +125 -0
- package/src/cli/commands/indexArgs.js +73 -0
- package/src/cli/commands/indexTools.js +509 -0
- package/src/cli/commands/install.js +293 -0
- package/src/cli/commands/memory.js +126 -0
- package/src/cli/commands/status.js +8 -0
- package/src/cli/commands/uninstall.js +51 -0
- package/src/cli/index.js +109 -0
- package/src/context/detectProjectContext.js +49 -0
- package/src/context/detectProviders.js +12 -0
- package/src/core/applyPlan.js +89 -0
- package/src/core/buildPlan.js +228 -0
- package/src/core/compact/index.js +294 -0
- package/src/core/compact/threshold.js +936 -0
- package/src/core/diffPlan.js +73 -0
- package/src/core/ensureGitignore.js +117 -0
- package/src/core/fileOps.js +188 -0
- package/src/core/memory/hygiene.js +160 -0
- package/src/core/memory/index.js +2 -0
- package/src/core/memory/retrieval.js +476 -0
- package/src/core/memory/store.js +202 -0
- package/src/core/metadata.js +132 -0
- package/src/core/migrateLegacy.js +139 -0
- package/src/core/output/index.js +1309 -0
- package/src/core/paths.js +13 -0
- package/src/core/report.js +17 -0
- package/src/core/router/advisor.js +42 -0
- package/src/core/router/index.js +2 -0
- package/src/core/router/router.js +164 -0
- package/src/core/runInstallPipeline.js +365 -0
- package/src/core/runtimeConfig.js +190 -0
- package/src/core/runtimePaths.js +24 -0
- package/src/core/status.js +186 -0
- package/src/core/token/index.js +328 -0
- package/src/core/uninstall.js +246 -0
- package/src/core/validation/confidence.js +89 -0
- package/src/core/validation/index.js +2 -0
- package/src/core/validation/validator.js +165 -0
- package/src/index/buildIndex.js +1392 -0
- package/src/index/gitHooks.js +109 -0
- package/src/index/importResolution.js +377 -0
- package/src/index/languageTools.js +127 -0
- package/src/index/paths.js +27 -0
- package/src/index/queryIndex.js +637 -0
- package/src/index/relatedTests.js +237 -0
- package/src/index/resolveContext.js +345 -0
- package/src/index/routeCatalog.js +258 -0
- package/src/index/taskRouting.js +677 -0
- package/src/index/verificationPlan.js +437 -0
- package/src/manifest/loadManifest.js +22 -0
- package/src/manifest/selectItems.js +78 -0
- package/src/manifest/validateManifest.js +115 -0
- package/src/render/buildVariables.js +39 -0
- package/src/render/renderTemplate.js +44 -0
- package/src/stack/detectStack.js +213 -0
- package/templates/.claude/agents/bug-debugger.md +57 -0
- package/templates/.claude/agents/feature-implementer.md +55 -0
- package/templates/.claude/config/providers.md +25 -0
- package/templates/.claude/hooks/auto-allow-bash.sh +155 -0
- package/templates/.claude/hooks/auto-prune-bash.sh +75 -0
- package/templates/.claude/hooks/block-dangerous.sh +54 -0
- package/templates/.claude/hooks/compress-output.sh +17 -0
- package/templates/.claude/hooks/protect-files.sh +37 -0
- package/templates/.claude/hooks/reinject-context.sh +28 -0
- package/templates/.claude/hooks/session-start.md +13 -0
- package/templates/.claude/hooks/skill-router.sh +1681 -0
- package/templates/.claude/hooks/verification-guard.sh +271 -0
- package/templates/.claude/settings.json +144 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/mce/mc.xsd +75 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/microsoft/wml-2010.xsd +560 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/microsoft/wml-2012.xsd +67 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/microsoft/wml-2018.xsd +14 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/microsoft/wml-cex-2018.xsd +20 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/microsoft/wml-cid-2016.xsd +13 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/microsoft/wml-symex-2015.xsd +8 -0
- package/templates/.claude/skills/_shared/ooxml/scripts/pack.py +159 -0
- package/templates/.claude/skills/_shared/ooxml/scripts/unpack.py +29 -0
- package/templates/.claude/skills/_shared/ooxml/scripts/validate.py +69 -0
- package/templates/.claude/skills/_shared/ooxml/scripts/validation/__init__.py +15 -0
- package/templates/.claude/skills/_shared/ooxml/scripts/validation/base.py +951 -0
- package/templates/.claude/skills/_shared/ooxml/scripts/validation/docx.py +274 -0
- package/templates/.claude/skills/_shared/ooxml/scripts/validation/pptx.py +315 -0
- package/templates/.claude/skills/_shared/ooxml/scripts/validation/redlining.py +279 -0
- package/templates/.claude/skills/backend-api/SKILL.md +26 -0
- package/templates/.claude/skills/canvas-design/LICENSE.txt +202 -0
- package/templates/.claude/skills/canvas-design/SKILL.md +130 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/BricolageGrotesque-Bold.ttf +0 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/BricolageGrotesque-OFL.txt +93 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/BricolageGrotesque-Regular.ttf +0 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/InstrumentSans-Bold.ttf +0 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/InstrumentSans-BoldItalic.ttf +0 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/InstrumentSans-Italic.ttf +0 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/InstrumentSans-OFL.txt +93 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/InstrumentSans-Regular.ttf +0 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/InstrumentSerif-Italic.ttf +0 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/InstrumentSerif-Regular.ttf +0 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/JetBrainsMono-Bold.ttf +0 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/JetBrainsMono-OFL.txt +93 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/JetBrainsMono-Regular.ttf +0 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/Lora-Bold.ttf +0 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/Lora-BoldItalic.ttf +0 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/Lora-Italic.ttf +0 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/Lora-OFL.txt +93 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/Lora-Regular.ttf +0 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/NothingYouCouldDo-OFL.txt +93 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/NothingYouCouldDo-Regular.ttf +0 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/Outfit-Bold.ttf +0 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/Outfit-OFL.txt +93 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/Outfit-Regular.ttf +0 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/Tektur-Medium.ttf +0 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/Tektur-OFL.txt +93 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/Tektur-Regular.ttf +0 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/YoungSerif-OFL.txt +93 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/YoungSerif-Regular.ttf +0 -0
- package/templates/.claude/skills/code-review/SKILL.md +97 -0
- package/templates/.claude/skills/debugging-toolkit/SKILL.md +156 -0
- package/templates/.claude/skills/delivery/SKILL.md +92 -0
- package/templates/.claude/skills/discover-security/SKILL.md +86 -0
- package/templates/.claude/skills/docker-packaging/SKILL.md +60 -0
- package/templates/.claude/skills/docs-manager/SKILL.md +465 -0
- package/templates/.claude/skills/docs-manager/init-project-docs.sh +70 -0
- package/templates/.claude/skills/docs-manager/templates/README.md.template +50 -0
- package/templates/.claude/skills/docs-manager/templates/agent-roles.md.template +24 -0
- package/templates/.claude/skills/docs-manager/templates/coding-conventions.md.template +28 -0
- package/templates/.claude/skills/docs-manager/templates/memory.md.template +30 -0
- package/templates/.claude/skills/docs-manager/templates/onboarding.md.template +20 -0
- package/templates/.claude/skills/docs-manager/templates/project.md.template +26 -0
- package/templates/.claude/skills/docs-quality/SKILL.md +148 -0
- package/templates/.claude/skills/docx/LICENSE.txt +30 -0
- package/templates/.claude/skills/docx/SKILL.md +197 -0
- package/templates/.claude/skills/docx/docx-js.md +350 -0
- package/templates/.claude/skills/docx/ooxml.md +610 -0
- package/templates/.claude/skills/docx/scripts/__init__.py +1 -0
- package/templates/.claude/skills/docx/scripts/document.py +1276 -0
- package/templates/.claude/skills/docx/scripts/templates/comments.xml +3 -0
- package/templates/.claude/skills/docx/scripts/templates/commentsExtended.xml +3 -0
- package/templates/.claude/skills/docx/scripts/templates/commentsExtensible.xml +3 -0
- package/templates/.claude/skills/docx/scripts/templates/commentsIds.xml +3 -0
- package/templates/.claude/skills/docx/scripts/templates/people.xml +3 -0
- package/templates/.claude/skills/docx/scripts/utilities.py +374 -0
- package/templates/.claude/skills/duraone/SKILL.md +204 -0
- package/templates/.claude/skills/duraone/references/backend.md +636 -0
- package/templates/.claude/skills/duraone/references/frontend.md +1506 -0
- package/templates/.claude/skills/duraone/references/sql.md +631 -0
- package/templates/.claude/skills/duraone/references/workflow.md +520 -0
- package/templates/.claude/skills/executing-plans/SKILL.md +76 -0
- package/templates/.claude/skills/file-organizer/SKILL.md +433 -0
- package/templates/.claude/skills/frontend/SKILL.md +26 -0
- package/templates/.claude/skills/frontend-design/LICENSE.txt +177 -0
- package/templates/.claude/skills/frontend-design/SKILL.md +42 -0
- package/templates/.claude/skills/frontend-vue/SKILL.md +127 -0
- package/templates/.claude/skills/frontend-vue/components/Control/Box.vue +137 -0
- package/templates/.claude/skills/frontend-vue/components/Control/Button.vue +93 -0
- package/templates/.claude/skills/frontend-vue/components/Control/ButtonBar.vue +29 -0
- package/templates/.claude/skills/frontend-vue/components/Control/ButtonFloat.vue +62 -0
- package/templates/.claude/skills/frontend-vue/components/Control/CheckButton.vue +75 -0
- package/templates/.claude/skills/frontend-vue/components/Control/Checkbox.vue +58 -0
- package/templates/.claude/skills/frontend-vue/components/Control/Datetime.vue +148 -0
- package/templates/.claude/skills/frontend-vue/components/Control/Dropdownlist.vue +156 -0
- package/templates/.claude/skills/frontend-vue/components/Control/Input.vue +106 -0
- package/templates/.claude/skills/frontend-vue/components/Control/Label.vue +38 -0
- package/templates/.claude/skills/frontend-vue/components/Control/Master/BoxColumn.vue +24 -0
- package/templates/.claude/skills/frontend-vue/components/Control/Popup/Confirm.vue +33 -0
- package/templates/.claude/skills/frontend-vue/components/Control/Popup/Info.vue +32 -0
- package/templates/.claude/skills/frontend-vue/components/Control/Popup/ModalInfo.vue +39 -0
- package/templates/.claude/skills/frontend-vue/components/Control/Popup/Reject.vue +64 -0
- package/templates/.claude/skills/frontend-vue/components/Control/Tag.vue +82 -0
- package/templates/.claude/skills/frontend-vue/components/Control/Upload.vue +61 -0
- package/templates/.claude/skills/frontend-vue/components/ControlMobile/Dropdownlist.vue +103 -0
- package/templates/.claude/skills/frontend-vue/components/ControlMobile/PagingBar.vue +108 -0
- package/templates/.claude/skills/frontend-vue/components/ControlMobile/UploadImage.vue +137 -0
- package/templates/.claude/skills/frontend-vue/components/Grid/AG.vue +806 -0
- package/templates/.claude/skills/frontend-vue/components/Grid/AntTable.vue +253 -0
- package/templates/.claude/skills/frontend-vue/components/Grid/CustomDropdownEditor.vue +43 -0
- package/templates/.claude/skills/frontend-vue/components/Grid/CustomDropdownEditorEnable.vue +55 -0
- package/templates/.claude/skills/frontend-vue/components/Grid/HtmlTable.vue +40 -0
- package/templates/.claude/skills/frontend-vue/components/PDFViewer.vue +25 -0
- package/templates/.claude/skills/frontend-vue/components/Panel/FormView.vue +309 -0
- package/templates/.claude/skills/frontend-vue/components/Partial/Footer.vue +23 -0
- package/templates/.claude/skills/frontend-vue/components/Partial/Header.vue +265 -0
- package/templates/.claude/skills/frontend-vue/components/Partial/Sidebar.vue +122 -0
- package/templates/.claude/skills/frontend-vue/components/Template.vue +16 -0
- package/templates/.claude/skills/frontend-vue/components/View/Form.vue +89 -0
- package/templates/.claude/skills/frontend-vue/composables/indexDBStore.js +140 -0
- package/templates/.claude/skills/frontend-vue/composables/masterApi.js +362 -0
- package/templates/.claude/skills/frontend-vue/composables/state.js +578 -0
- package/templates/.claude/skills/frontend-vue/composables/useRequest.js +221 -0
- package/templates/.claude/skills/frontend-vue/composables/useSession.js +179 -0
- package/templates/.claude/skills/frontend-vue/composables/useTranslation.js +54 -0
- package/templates/.claude/skills/frontend-vue/composables/useWebSocket.js +257 -0
- package/templates/.claude/skills/frontend-vue/composables/userObj.js +111 -0
- package/templates/.claude/skills/frontend-vue/composables/utils.js +322 -0
- package/templates/.claude/skills/frontend-vue/reference/composables-example.vue +320 -0
- package/templates/.claude/skills/frontend-vue/reference/form-example.vue +183 -0
- package/templates/.claude/skills/frontend-vue/reference/grid-example.vue +147 -0
- package/templates/.claude/skills/frontend-vue/reference/masterdata-example/[id].vue +106 -0
- package/templates/.claude/skills/frontend-vue/reference/masterdata-example/index.vue +58 -0
- package/templates/.claude/skills/frontend-vue/reference/popup-example.vue +159 -0
- package/templates/.claude/skills/pdf/LICENSE.txt +30 -0
- package/templates/.claude/skills/pdf/SKILL.md +294 -0
- package/templates/.claude/skills/pdf/forms.md +205 -0
- package/templates/.claude/skills/pdf/reference.md +612 -0
- package/templates/.claude/skills/pdf/scripts/check_bounding_boxes.py +70 -0
- package/templates/.claude/skills/pdf/scripts/check_bounding_boxes_test.py +226 -0
- package/templates/.claude/skills/pdf/scripts/check_fillable_fields.py +12 -0
- package/templates/.claude/skills/pdf/scripts/convert_pdf_to_images.py +35 -0
- package/templates/.claude/skills/pdf/scripts/create_validation_image.py +41 -0
- package/templates/.claude/skills/pdf/scripts/extract_form_field_info.py +152 -0
- package/templates/.claude/skills/pdf/scripts/fill_fillable_fields.py +114 -0
- package/templates/.claude/skills/pdf/scripts/fill_pdf_form_with_annotations.py +108 -0
- package/templates/.claude/skills/pdf-processing/SKILL.md +107 -0
- package/templates/.claude/skills/pdf-processing-pro/FORMS.md +610 -0
- package/templates/.claude/skills/pdf-processing-pro/OCR.md +137 -0
- package/templates/.claude/skills/pdf-processing-pro/SKILL.md +296 -0
- package/templates/.claude/skills/pdf-processing-pro/TABLES.md +626 -0
- package/templates/.claude/skills/pdf-processing-pro/scripts/analyze_form.py +307 -0
- package/templates/.claude/skills/postgres/SKILL.md +69 -0
- package/templates/.claude/skills/postgres/reference/fn_get_examples.sql +208 -0
- package/templates/.claude/skills/postgres/reference/fn_rpt_examples.sql +239 -0
- package/templates/.claude/skills/postgres/reference/utility_functions.sql +94 -0
- package/templates/.claude/skills/pptx/LICENSE.txt +30 -0
- package/templates/.claude/skills/pptx/SKILL.md +484 -0
- package/templates/.claude/skills/pptx/html2pptx.md +625 -0
- package/templates/.claude/skills/pptx/ooxml.md +427 -0
- package/templates/.claude/skills/pptx/scripts/html2pptx.js +979 -0
- package/templates/.claude/skills/pptx/scripts/inventory.py +1020 -0
- package/templates/.claude/skills/pptx/scripts/rearrange.py +231 -0
- package/templates/.claude/skills/pptx/scripts/replace.py +385 -0
- package/templates/.claude/skills/pptx/scripts/thumbnail.py +450 -0
- package/templates/.claude/skills/repo-maintenance/SKILL.md +97 -0
- package/templates/.claude/skills/research/EXAMPLES.md +434 -0
- package/templates/.claude/skills/research/REFERENCE.md +399 -0
- package/templates/.claude/skills/research/SKILL.md +136 -0
- package/templates/.claude/skills/root-cause-tracing/SKILL.md +174 -0
- package/templates/.claude/skills/root-cause-tracing/find-polluter.sh +63 -0
- package/templates/.claude/skills/sharing-skills/SKILL.md +194 -0
- package/templates/.claude/skills/sql-optimization-patterns/SKILL.md +493 -0
- package/templates/.claude/skills/subagent-driven-development/SKILL.md +189 -0
- package/templates/.claude/skills/systematic-debugging/CREATION-LOG.md +119 -0
- package/templates/.claude/skills/systematic-debugging/SKILL.md +295 -0
- package/templates/.claude/skills/systematic-debugging/test-academic.md +14 -0
- package/templates/.claude/skills/systematic-debugging/test-pressure-1.md +58 -0
- package/templates/.claude/skills/systematic-debugging/test-pressure-2.md +68 -0
- package/templates/.claude/skills/systematic-debugging/test-pressure-3.md +69 -0
- package/templates/.claude/skills/test-driven-development/SKILL.md +364 -0
- package/templates/.claude/skills/testing-anti-patterns/SKILL.md +302 -0
- package/templates/.claude/skills/testing-quality/SKILL.md +97 -0
- package/templates/.claude/skills/verification-before-completion/SKILL.md +139 -0
- package/templates/.claude/skills/webapp-testing/LICENSE.txt +202 -0
- package/templates/.claude/skills/webapp-testing/SKILL.md +96 -0
- package/templates/.claude/skills/webapp-testing/examples/console_logging.py +35 -0
- package/templates/.claude/skills/webapp-testing/examples/element_discovery.py +40 -0
- package/templates/.claude/skills/webapp-testing/examples/static_html_automation.py +33 -0
- package/templates/.claude/skills/webapp-testing/scripts/with_server.py +106 -0
- package/templates/.claude/ukit/index/build-index.mjs +28 -0
- package/templates/.claude/ukit/index/cache-utils.mjs +140 -0
- package/templates/.claude/ukit/index/lib/index-core.mjs +2800 -0
- package/templates/.claude/ukit/index/query-index.mjs +150 -0
- package/templates/.claude/ukit/index/refresh-index.mjs +57 -0
- package/templates/.claude/ukit/index/reset-auto-permissions.mjs +76 -0
- package/templates/.claude/ukit/index/resolve-context.mjs +279 -0
- package/templates/.claude/ukit/index/route-catalog.mjs +258 -0
- package/templates/.claude/ukit/index/route-task.mjs +1994 -0
- package/templates/.claude/ukit/index/triage.mjs +133 -0
- package/templates/.claude/ukit/index/verify-context.mjs +689 -0
- package/templates/.claude/ukit/runtime/compact-threshold.mjs +1013 -0
- package/templates/.claude/ukit/runtime/output-compression.mjs +1340 -0
- package/templates/.claude/ukit/runtime/reinject-context.mjs +874 -0
- package/templates/.claude/ukit/runtime/token-utils.mjs +500 -0
- package/templates/.codex/README.md +83 -0
- package/templates/.codex/settings.json +187 -0
- package/templates/.gitignore +75 -0
- package/templates/AGENTS.md +116 -0
- package/templates/CLAUDE.md +93 -0
- package/templates/adapter-presets/antigravity/README.md +22 -0
- package/templates/adapter-presets/antigravity/rules.md +49 -0
- package/templates/adapter-presets/claude/settings.local.json +42 -0
- package/templates/adapter-presets/codex/settings.local.json +6 -0
- package/templates/adapter-presets/opencode/opencode.template.json +1 -0
- package/templates/docs/BUGFIX.md +20 -0
- package/templates/docs/BUG_INDEX.md +12 -0
- package/templates/docs/BUG_METRICS.md +7 -0
- package/templates/docs/BUG_TEMPLATE.md +13 -0
- package/templates/docs/CODE_MAP.md +35 -0
- package/templates/docs/INSTALL.md +113 -0
- package/templates/docs/MEMORY.md +49 -0
- package/templates/docs/PROJECT.md +50 -0
- package/templates/docs/UKIT_USAGE_GUIDE.md +147 -0
- package/templates/docs/WORKLOG.md +10 -0
- package/templates/ukit/README.md +14 -0
- package/templates/ukit/storage/cache/compact-history.json +3 -0
- package/templates/ukit/storage/cache/compact-pressure.json +1 -0
- package/templates/ukit/storage/cache/output-history.json +3 -0
- package/templates/ukit/storage/cache/prompt-cache.json +3 -0
- package/templates/ukit/storage/config.json +37 -0
- package/templates/ukit/storage/memory/projects/.gitkeep +2 -0
- package/templates/ukit/storage/memory/sessions/.gitkeep +0 -0
- package/templates/ukit/storage/memory/user.json +5 -0
|
@@ -0,0 +1,433 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: file-organizer
|
|
3
|
+
description: Intelligently organizes your files and folders across your computer by understanding context, finding duplicates, suggesting better structures, and automating cleanup tasks. Reduces cognitive load and keeps your digital workspace tidy without manual effort.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# File Organizer
|
|
7
|
+
|
|
8
|
+
This skill acts as your personal organization assistant, helping you maintain a clean, logical file structure across your computer without the mental overhead of constant manual organization.
|
|
9
|
+
|
|
10
|
+
## When to Use This Skill
|
|
11
|
+
|
|
12
|
+
- Your Downloads folder is a chaotic mess
|
|
13
|
+
- You can't find files because they're scattered everywhere
|
|
14
|
+
- You have duplicate files taking up space
|
|
15
|
+
- Your folder structure doesn't make sense anymore
|
|
16
|
+
- You want to establish better organization habits
|
|
17
|
+
- You're starting a new project and need a good structure
|
|
18
|
+
- You're cleaning up before archiving old projects
|
|
19
|
+
|
|
20
|
+
## What This Skill Does
|
|
21
|
+
|
|
22
|
+
1. **Analyzes Current Structure**: Reviews your folders and files to understand what you have
|
|
23
|
+
2. **Finds Duplicates**: Identifies duplicate files across your system
|
|
24
|
+
3. **Suggests Organization**: Proposes logical folder structures based on your content
|
|
25
|
+
4. **Automates Cleanup**: Moves, renames, and organizes files with your approval
|
|
26
|
+
5. **Maintains Context**: Makes smart decisions based on file types, dates, and content
|
|
27
|
+
6. **Reduces Clutter**: Identifies old files you probably don't need anymore
|
|
28
|
+
|
|
29
|
+
## How to Use
|
|
30
|
+
|
|
31
|
+
### From Your Home Directory
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
cd ~
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Then run Claude Code and ask for help:
|
|
38
|
+
|
|
39
|
+
```
|
|
40
|
+
Help me organize my Downloads folder
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
Find duplicate files in my Documents folder
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
```
|
|
48
|
+
Review my project directories and suggest improvements
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### Specific Organization Tasks
|
|
52
|
+
|
|
53
|
+
```
|
|
54
|
+
Organize these downloads into proper folders based on what they are
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
```
|
|
58
|
+
Find duplicate files and help me decide which to keep
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
```
|
|
62
|
+
Clean up old files I haven't touched in 6+ months
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
```
|
|
66
|
+
Create a better folder structure for my [work/projects/photos/etc]
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## Instructions
|
|
70
|
+
|
|
71
|
+
When a user requests file organization help:
|
|
72
|
+
|
|
73
|
+
1. **Understand the Scope**
|
|
74
|
+
|
|
75
|
+
Ask clarifying questions:
|
|
76
|
+
- Which directory needs organization? (Downloads, Documents, entire home folder?)
|
|
77
|
+
- What's the main problem? (Can't find things, duplicates, too messy, no structure?)
|
|
78
|
+
- Any files or folders to avoid? (Current projects, sensitive data?)
|
|
79
|
+
- How aggressively to organize? (Conservative vs. comprehensive cleanup)
|
|
80
|
+
|
|
81
|
+
2. **Analyze Current State**
|
|
82
|
+
|
|
83
|
+
Review the target directory:
|
|
84
|
+
```bash
|
|
85
|
+
# Get overview of current structure
|
|
86
|
+
ls -la [target_directory]
|
|
87
|
+
|
|
88
|
+
# Check file types and sizes
|
|
89
|
+
find [target_directory] -type f -exec file {} \; | head -20
|
|
90
|
+
|
|
91
|
+
# Identify largest files
|
|
92
|
+
du -sh [target_directory]/* | sort -rh | head -20
|
|
93
|
+
|
|
94
|
+
# Count file types
|
|
95
|
+
find [target_directory] -type f | sed 's/.*\.//' | sort | uniq -c | sort -rn
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
Summarize findings:
|
|
99
|
+
- Total files and folders
|
|
100
|
+
- File type breakdown
|
|
101
|
+
- Size distribution
|
|
102
|
+
- Date ranges
|
|
103
|
+
- Obvious organization issues
|
|
104
|
+
|
|
105
|
+
3. **Identify Organization Patterns**
|
|
106
|
+
|
|
107
|
+
Based on the files, determine logical groupings:
|
|
108
|
+
|
|
109
|
+
**By Type**:
|
|
110
|
+
- Documents (PDFs, DOCX, TXT)
|
|
111
|
+
- Images (JPG, PNG, SVG)
|
|
112
|
+
- Videos (MP4, MOV)
|
|
113
|
+
- Archives (ZIP, TAR, DMG)
|
|
114
|
+
- Code/Projects (directories with code)
|
|
115
|
+
- Spreadsheets (XLSX, CSV)
|
|
116
|
+
- Presentations (PPTX, KEY)
|
|
117
|
+
|
|
118
|
+
**By Purpose**:
|
|
119
|
+
- Work vs. Personal
|
|
120
|
+
- Active vs. Archive
|
|
121
|
+
- Project-specific
|
|
122
|
+
- Reference materials
|
|
123
|
+
- Temporary/scratch files
|
|
124
|
+
|
|
125
|
+
**By Date**:
|
|
126
|
+
- Current year/month
|
|
127
|
+
- Previous years
|
|
128
|
+
- Very old (archive candidates)
|
|
129
|
+
|
|
130
|
+
4. **Find Duplicates**
|
|
131
|
+
|
|
132
|
+
When requested, search for duplicates:
|
|
133
|
+
```bash
|
|
134
|
+
# Find exact duplicates by hash
|
|
135
|
+
find [directory] -type f -exec md5 {} \; | sort | uniq -d
|
|
136
|
+
|
|
137
|
+
# Find files with same name
|
|
138
|
+
find [directory] -type f -printf '%f\n' | sort | uniq -d
|
|
139
|
+
|
|
140
|
+
# Find similar-sized files
|
|
141
|
+
find [directory] -type f -printf '%s %p\n' | sort -n
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
For each set of duplicates:
|
|
145
|
+
- Show all file paths
|
|
146
|
+
- Display sizes and modification dates
|
|
147
|
+
- Recommend which to keep (usually newest or best-named)
|
|
148
|
+
- **Important**: Always ask for confirmation before deleting
|
|
149
|
+
|
|
150
|
+
5. **Propose Organization Plan**
|
|
151
|
+
|
|
152
|
+
Present a clear plan before making changes:
|
|
153
|
+
|
|
154
|
+
```markdown
|
|
155
|
+
# Organization Plan for [Directory]
|
|
156
|
+
|
|
157
|
+
## Current State
|
|
158
|
+
- X files across Y folders
|
|
159
|
+
- [Size] total
|
|
160
|
+
- File types: [breakdown]
|
|
161
|
+
- Issues: [list problems]
|
|
162
|
+
|
|
163
|
+
## Proposed Structure
|
|
164
|
+
|
|
165
|
+
```
|
|
166
|
+
[Directory]/
|
|
167
|
+
├── Work/
|
|
168
|
+
│ ├── Projects/
|
|
169
|
+
│ ├── Documents/
|
|
170
|
+
│ └── Archive/
|
|
171
|
+
├── Personal/
|
|
172
|
+
│ ├── Photos/
|
|
173
|
+
│ ├── Documents/
|
|
174
|
+
│ └── Media/
|
|
175
|
+
└── Downloads/
|
|
176
|
+
├── To-Sort/
|
|
177
|
+
└── Archive/
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
## Changes I'll Make
|
|
181
|
+
|
|
182
|
+
1. **Create new folders**: [list]
|
|
183
|
+
2. **Move files**:
|
|
184
|
+
- X PDFs → Work/Documents/
|
|
185
|
+
- Y images → Personal/Photos/
|
|
186
|
+
- Z old files → Archive/
|
|
187
|
+
3. **Rename files**: [any renaming patterns]
|
|
188
|
+
4. **Delete**: [duplicates or trash files]
|
|
189
|
+
|
|
190
|
+
## Files Needing Your Decision
|
|
191
|
+
|
|
192
|
+
- [List any files you're unsure about]
|
|
193
|
+
|
|
194
|
+
Ready to proceed? (yes/no/modify)
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
6. **Execute Organization**
|
|
198
|
+
|
|
199
|
+
After approval, organize systematically:
|
|
200
|
+
|
|
201
|
+
```bash
|
|
202
|
+
# Create folder structure
|
|
203
|
+
mkdir -p "path/to/new/folders"
|
|
204
|
+
|
|
205
|
+
# Move files with clear logging
|
|
206
|
+
mv "old/path/file.pdf" "new/path/file.pdf"
|
|
207
|
+
|
|
208
|
+
# Rename files with consistent patterns
|
|
209
|
+
# Example: "YYYY-MM-DD - Description.ext"
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
**Important Rules**:
|
|
213
|
+
- Always confirm before deleting anything
|
|
214
|
+
- Log all moves for potential undo
|
|
215
|
+
- Preserve original modification dates
|
|
216
|
+
- Handle filename conflicts gracefully
|
|
217
|
+
- Stop and ask if you encounter unexpected situations
|
|
218
|
+
|
|
219
|
+
7. **Provide Summary and Maintenance Tips**
|
|
220
|
+
|
|
221
|
+
After organizing:
|
|
222
|
+
|
|
223
|
+
```markdown
|
|
224
|
+
# Organization Complete! ✨
|
|
225
|
+
|
|
226
|
+
## What Changed
|
|
227
|
+
|
|
228
|
+
- Created [X] new folders
|
|
229
|
+
- Organized [Y] files
|
|
230
|
+
- Freed [Z] GB by removing duplicates
|
|
231
|
+
- Archived [W] old files
|
|
232
|
+
|
|
233
|
+
## New Structure
|
|
234
|
+
|
|
235
|
+
[Show the new folder tree]
|
|
236
|
+
|
|
237
|
+
## Maintenance Tips
|
|
238
|
+
|
|
239
|
+
To keep this organized:
|
|
240
|
+
|
|
241
|
+
1. **Weekly**: Sort new downloads
|
|
242
|
+
2. **Monthly**: Review and archive completed projects
|
|
243
|
+
3. **Quarterly**: Check for new duplicates
|
|
244
|
+
4. **Yearly**: Archive old files
|
|
245
|
+
|
|
246
|
+
## Quick Commands for You
|
|
247
|
+
|
|
248
|
+
```bash
|
|
249
|
+
# Find files modified this week
|
|
250
|
+
find . -type f -mtime -7
|
|
251
|
+
|
|
252
|
+
# Sort downloads by type
|
|
253
|
+
[custom command for their setup]
|
|
254
|
+
|
|
255
|
+
# Find duplicates
|
|
256
|
+
[custom command]
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
Want to organize another folder?
|
|
260
|
+
```
|
|
261
|
+
|
|
262
|
+
## Examples
|
|
263
|
+
|
|
264
|
+
### Example 1: Organizing Downloads (From Justin Dielmann)
|
|
265
|
+
|
|
266
|
+
**User**: "My Downloads folder is a mess with 500+ files. Help me organize it."
|
|
267
|
+
|
|
268
|
+
**Process**:
|
|
269
|
+
1. Analyzes Downloads folder
|
|
270
|
+
2. Finds patterns: work docs, personal photos, installers, random PDFs
|
|
271
|
+
3. Proposes structure:
|
|
272
|
+
- Downloads/
|
|
273
|
+
- Work/
|
|
274
|
+
- Personal/
|
|
275
|
+
- Installers/ (DMG, PKG files)
|
|
276
|
+
- Archive/
|
|
277
|
+
- ToSort/ (things needing decisions)
|
|
278
|
+
4. Asks for confirmation
|
|
279
|
+
5. Moves files intelligently based on content and names
|
|
280
|
+
6. Results: 500 files → 5 organized folders
|
|
281
|
+
|
|
282
|
+
### Example 2: Finding and Removing Duplicates
|
|
283
|
+
|
|
284
|
+
**User**: "Find duplicate files in my Documents and help me decide which to keep."
|
|
285
|
+
|
|
286
|
+
**Output**:
|
|
287
|
+
```markdown
|
|
288
|
+
# Found 23 Sets of Duplicates (156 MB total)
|
|
289
|
+
|
|
290
|
+
## Duplicate Set 1: "proposal.pdf"
|
|
291
|
+
- `/Documents/proposal.pdf` (2.3 MB, modified: 2024-03-15)
|
|
292
|
+
- `/Documents/old/proposal.pdf` (2.3 MB, modified: 2024-03-15)
|
|
293
|
+
- `/Desktop/proposal.pdf` (2.3 MB, modified: 2024-03-10)
|
|
294
|
+
|
|
295
|
+
**Recommendation**: Keep `/Documents/proposal.pdf` (most recent in correct location)
|
|
296
|
+
Delete the other 2 copies?
|
|
297
|
+
|
|
298
|
+
[Continue for all duplicates...]
|
|
299
|
+
```
|
|
300
|
+
|
|
301
|
+
### Example 3: Restructuring Projects Folder
|
|
302
|
+
|
|
303
|
+
**User**: "Review my ~/Projects directory and suggest improvements."
|
|
304
|
+
|
|
305
|
+
**Output**:
|
|
306
|
+
```markdown
|
|
307
|
+
# Analysis of ~/Projects
|
|
308
|
+
|
|
309
|
+
## Current Structure Issues
|
|
310
|
+
- Mix of active and archived projects (3+ years old)
|
|
311
|
+
- No consistent naming convention
|
|
312
|
+
- Some projects at root, others in random subfolders
|
|
313
|
+
- Duplicate folders (project-name, project-name-old, project-name-v2)
|
|
314
|
+
|
|
315
|
+
## Proposed Structure
|
|
316
|
+
|
|
317
|
+
```
|
|
318
|
+
Projects/
|
|
319
|
+
├── Active/
|
|
320
|
+
│ ├── client-work/
|
|
321
|
+
│ ├── side-projects/
|
|
322
|
+
│ └── learning/
|
|
323
|
+
├── Archive/
|
|
324
|
+
│ ├── 2022/
|
|
325
|
+
│ ├── 2023/
|
|
326
|
+
│ └── 2024/
|
|
327
|
+
└── Templates/
|
|
328
|
+
```
|
|
329
|
+
|
|
330
|
+
## Specific Changes
|
|
331
|
+
1. Move 12 projects not touched since 2022 → Archive/
|
|
332
|
+
2. Consolidate 4 duplicate project folders
|
|
333
|
+
3. Rename projects to consistent format: "client-name-project-name"
|
|
334
|
+
4. Create Archive for old work
|
|
335
|
+
|
|
336
|
+
Want me to implement this?
|
|
337
|
+
```
|
|
338
|
+
|
|
339
|
+
### Example 4: Organizing Photos by Date
|
|
340
|
+
|
|
341
|
+
**User**: "Organize my photo folders by year and month."
|
|
342
|
+
|
|
343
|
+
**Output**: Creates structure like:
|
|
344
|
+
```
|
|
345
|
+
Photos/
|
|
346
|
+
├── 2023/
|
|
347
|
+
│ ├── 01-January/
|
|
348
|
+
│ ├── 02-February/
|
|
349
|
+
│ └── ...
|
|
350
|
+
├── 2024/
|
|
351
|
+
│ ├── 01-January/
|
|
352
|
+
│ └── ...
|
|
353
|
+
└── Unsorted/
|
|
354
|
+
```
|
|
355
|
+
|
|
356
|
+
Then moves photos based on EXIF data or file modification dates.
|
|
357
|
+
|
|
358
|
+
## Common Organization Tasks
|
|
359
|
+
|
|
360
|
+
### Downloads Cleanup
|
|
361
|
+
```
|
|
362
|
+
Organize my Downloads folder - move documents to Documents,
|
|
363
|
+
images to Pictures, keep installers separate, and archive files
|
|
364
|
+
older than 3 months.
|
|
365
|
+
```
|
|
366
|
+
|
|
367
|
+
### Project Organization
|
|
368
|
+
```
|
|
369
|
+
Review my Projects folder structure and help me separate active
|
|
370
|
+
projects from old ones I should archive.
|
|
371
|
+
```
|
|
372
|
+
|
|
373
|
+
### Duplicate Removal
|
|
374
|
+
```
|
|
375
|
+
Find all duplicate files in my Documents folder and help me
|
|
376
|
+
decide which ones to keep.
|
|
377
|
+
```
|
|
378
|
+
|
|
379
|
+
### Desktop Cleanup
|
|
380
|
+
```
|
|
381
|
+
My Desktop is covered in files. Help me organize everything into
|
|
382
|
+
my Documents folder properly.
|
|
383
|
+
```
|
|
384
|
+
|
|
385
|
+
### Photo Organization
|
|
386
|
+
```
|
|
387
|
+
Organize all photos in this folder by date (year/month) based
|
|
388
|
+
on when they were taken.
|
|
389
|
+
```
|
|
390
|
+
|
|
391
|
+
### Work/Personal Separation
|
|
392
|
+
```
|
|
393
|
+
Help me separate my work files from personal files across my
|
|
394
|
+
Documents folder.
|
|
395
|
+
```
|
|
396
|
+
|
|
397
|
+
## Pro Tips
|
|
398
|
+
|
|
399
|
+
1. **Start Small**: Begin with one messy folder (like Downloads) to build trust
|
|
400
|
+
2. **Regular Maintenance**: Run weekly cleanup on Downloads
|
|
401
|
+
3. **Consistent Naming**: Use "YYYY-MM-DD - Description" format for important files
|
|
402
|
+
4. **Archive Aggressively**: Move old projects to Archive instead of deleting
|
|
403
|
+
5. **Keep Active Separate**: Maintain clear boundaries between active and archived work
|
|
404
|
+
6. **Trust the Process**: Let Claude handle the cognitive load of where things go
|
|
405
|
+
|
|
406
|
+
## Best Practices
|
|
407
|
+
|
|
408
|
+
### Folder Naming
|
|
409
|
+
- Use clear, descriptive names
|
|
410
|
+
- Avoid spaces (use hyphens or underscores)
|
|
411
|
+
- Be specific: "client-proposals" not "docs"
|
|
412
|
+
- Use prefixes for ordering: "01-current", "02-archive"
|
|
413
|
+
|
|
414
|
+
### File Naming
|
|
415
|
+
- Include dates: "2024-10-17-meeting-notes.md"
|
|
416
|
+
- Be descriptive: "q3-financial-report.xlsx"
|
|
417
|
+
- Avoid version numbers in names (use version control instead)
|
|
418
|
+
- Remove download artifacts: "document-final-v2 (1).pdf" → "document.pdf"
|
|
419
|
+
|
|
420
|
+
### When to Archive
|
|
421
|
+
- Projects not touched in 6+ months
|
|
422
|
+
- Completed work that might be referenced later
|
|
423
|
+
- Old versions after migration to new systems
|
|
424
|
+
- Files you're hesitant to delete (archive first)
|
|
425
|
+
|
|
426
|
+
## Related Use Cases
|
|
427
|
+
|
|
428
|
+
- Setting up organization for a new computer
|
|
429
|
+
- Preparing files for backup/archiving
|
|
430
|
+
- Cleaning up before storage cleanup
|
|
431
|
+
- Organizing shared team folders
|
|
432
|
+
- Structuring new project directories
|
|
433
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: frontend
|
|
3
|
+
description: Generic frontend implementation standards for UI and UX work.
|
|
4
|
+
enabledByDefault: false
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Frontend Skill Pack
|
|
8
|
+
|
|
9
|
+
Enabled: false
|
|
10
|
+
|
|
11
|
+
Use for UI components, state management, rendering, accessibility, and frontend performance.
|
|
12
|
+
|
|
13
|
+
## Component Standards
|
|
14
|
+
- One component per file. Keep under 200 lines.
|
|
15
|
+
- PascalCase names. `handle{Event}` for handlers. `is`/`has` for booleans.
|
|
16
|
+
- Explicit prop types with defaults. State close to usage. Never mutate directly.
|
|
17
|
+
|
|
18
|
+
## Key Rules
|
|
19
|
+
- `key` props on lists (stable IDs, not index). Guard null renders.
|
|
20
|
+
- Validate forms on submit + blur. Disable submit during async. Preserve data on failure.
|
|
21
|
+
- Keyboard-accessible interactives. `alt` on images. `<label>` on inputs. Semantic HTML.
|
|
22
|
+
- Debounce search inputs. Virtualize long lists. Loading/skeleton states.
|
|
23
|
+
|
|
24
|
+
## Anti-Patterns
|
|
25
|
+
- Direct DOM manipulation alongside framework. Storing derived state.
|
|
26
|
+
- Fetching in deeply nested components. Swallowing errors. CSS `!important`.
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: frontend-design
|
|
3
|
+
description: Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
|
|
4
|
+
license: Complete terms in LICENSE.txt
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
This skill guides creation of distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics. Implement real working code with exceptional attention to aesthetic details and creative choices.
|
|
8
|
+
|
|
9
|
+
The user provides frontend requirements: a component, page, application, or interface to build. They may include context about the purpose, audience, or technical constraints.
|
|
10
|
+
|
|
11
|
+
## Design Thinking
|
|
12
|
+
|
|
13
|
+
Before coding, understand the context and commit to a BOLD aesthetic direction:
|
|
14
|
+
- **Purpose**: What problem does this interface solve? Who uses it?
|
|
15
|
+
- **Tone**: Pick an extreme: brutally minimal, maximalist chaos, retro-futuristic, organic/natural, luxury/refined, playful/toy-like, editorial/magazine, brutalist/raw, art deco/geometric, soft/pastel, industrial/utilitarian, etc. There are so many flavors to choose from. Use these for inspiration but design one that is true to the aesthetic direction.
|
|
16
|
+
- **Constraints**: Technical requirements (framework, performance, accessibility).
|
|
17
|
+
- **Differentiation**: What makes this UNFORGETTABLE? What's the one thing someone will remember?
|
|
18
|
+
|
|
19
|
+
**CRITICAL**: Choose a clear conceptual direction and execute it with precision. Bold maximalism and refined minimalism both work - the key is intentionality, not intensity.
|
|
20
|
+
|
|
21
|
+
Then implement working code (HTML/CSS/JS, React, Vue, etc.) that is:
|
|
22
|
+
- Production-grade and functional
|
|
23
|
+
- Visually striking and memorable
|
|
24
|
+
- Cohesive with a clear aesthetic point-of-view
|
|
25
|
+
- Meticulously refined in every detail
|
|
26
|
+
|
|
27
|
+
## Frontend Aesthetics Guidelines
|
|
28
|
+
|
|
29
|
+
Focus on:
|
|
30
|
+
- **Typography**: Choose fonts that are beautiful, unique, and interesting. Avoid generic fonts like Arial and Inter; opt instead for distinctive choices that elevate the frontend's aesthetics; unexpected, characterful font choices. Pair a distinctive display font with a refined body font.
|
|
31
|
+
- **Color & Theme**: Commit to a cohesive aesthetic. Use CSS variables for consistency. Dominant colors with sharp accents outperform timid, evenly-distributed palettes.
|
|
32
|
+
- **Motion**: Use animations for effects and micro-interactions. Prioritize CSS-only solutions for HTML. Use Motion library for React when available. Focus on high-impact moments: one well-orchestrated page load with staggered reveals (animation-delay) creates more delight than scattered micro-interactions. Use scroll-triggering and hover states that surprise.
|
|
33
|
+
- **Spatial Composition**: Unexpected layouts. Asymmetry. Overlap. Diagonal flow. Grid-breaking elements. Generous negative space OR controlled density.
|
|
34
|
+
- **Backgrounds & Visual Details**: Create atmosphere and depth rather than defaulting to solid colors. Add contextual effects and textures that match the overall aesthetic. Apply creative forms like gradient meshes, noise textures, geometric patterns, layered transparencies, dramatic shadows, decorative borders, custom cursors, and grain overlays.
|
|
35
|
+
|
|
36
|
+
NEVER use generic AI-generated aesthetics like overused font families (Inter, Roboto, Arial, system fonts), cliched color schemes (particularly purple gradients on white backgrounds), predictable layouts and component patterns, and cookie-cutter design that lacks context-specific character.
|
|
37
|
+
|
|
38
|
+
Interpret creatively and make unexpected choices that feel genuinely designed for the context. No design should be the same. Vary between light and dark themes, different fonts, different aesthetics. NEVER converge on common choices (Space Grotesk, for example) across generations.
|
|
39
|
+
|
|
40
|
+
**IMPORTANT**: Match implementation complexity to the aesthetic vision. Maximalist designs need elaborate code with extensive animations and effects. Minimalist or refined designs need restraint, precision, and careful attention to spacing, typography, and subtle details. Elegance comes from executing the vision well.
|
|
41
|
+
|
|
42
|
+
Remember: Claude is capable of extraordinary creative work. Don't hold back, show what can truly be created when thinking outside the box and committing fully to a distinctive vision.
|