simple-skills 1.0.0
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/LICENSE +21 -0
- package/README.md +16 -0
- package/package.json +31 -0
- package/scripts/install.mjs +54 -0
- package/scripts/link-skills.sh +56 -0
- package/scripts/list-skills.sh +7 -0
- package/scripts/sync-plugin-version.mjs +46 -0
- package/skills/engineering/README.md +49 -0
- package/skills/engineering/ask-route/PHASE-BOUNDARIES.md +55 -0
- package/skills/engineering/ask-route/SKILL.md +87 -0
- package/skills/engineering/ask-route/agents/openai.yaml +5 -0
- package/skills/engineering/brainstorming/SKILL.md +161 -0
- package/skills/engineering/brainstorming/scripts/frame-template.html +213 -0
- package/skills/engineering/brainstorming/scripts/helper.js +167 -0
- package/skills/engineering/brainstorming/scripts/server.cjs +723 -0
- package/skills/engineering/brainstorming/scripts/start-server.sh +209 -0
- package/skills/engineering/brainstorming/scripts/stop-server.sh +120 -0
- package/skills/engineering/brainstorming/spec-document-reviewer-prompt.md +48 -0
- package/skills/engineering/brainstorming/visual-companion.md +286 -0
- package/skills/engineering/canvas-design/SKILL.md +138 -0
- package/skills/engineering/canvas-design/canvas-fonts/ArsenalSC-OFL.txt +93 -0
- package/skills/engineering/canvas-design/canvas-fonts/ArsenalSC-Regular.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/BigShoulders-Bold.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/BigShoulders-OFL.txt +93 -0
- package/skills/engineering/canvas-design/canvas-fonts/BigShoulders-Regular.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/Boldonse-OFL.txt +93 -0
- package/skills/engineering/canvas-design/canvas-fonts/Boldonse-Regular.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/BricolageGrotesque-Bold.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/BricolageGrotesque-OFL.txt +93 -0
- package/skills/engineering/canvas-design/canvas-fonts/BricolageGrotesque-Regular.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/CrimsonPro-Bold.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/CrimsonPro-Italic.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/CrimsonPro-OFL.txt +93 -0
- package/skills/engineering/canvas-design/canvas-fonts/CrimsonPro-Regular.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/DMMono-OFL.txt +93 -0
- package/skills/engineering/canvas-design/canvas-fonts/DMMono-Regular.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/EricaOne-OFL.txt +94 -0
- package/skills/engineering/canvas-design/canvas-fonts/EricaOne-Regular.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/GeistMono-Bold.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/GeistMono-OFL.txt +93 -0
- package/skills/engineering/canvas-design/canvas-fonts/GeistMono-Regular.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/Gloock-OFL.txt +93 -0
- package/skills/engineering/canvas-design/canvas-fonts/Gloock-Regular.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/IBMPlexMono-Bold.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/IBMPlexMono-OFL.txt +93 -0
- package/skills/engineering/canvas-design/canvas-fonts/IBMPlexMono-Regular.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/IBMPlexSerif-Bold.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/IBMPlexSerif-BoldItalic.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/IBMPlexSerif-Italic.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/IBMPlexSerif-Regular.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/InstrumentSans-Bold.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/InstrumentSans-BoldItalic.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/InstrumentSans-Italic.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/InstrumentSans-OFL.txt +93 -0
- package/skills/engineering/canvas-design/canvas-fonts/InstrumentSans-Regular.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/InstrumentSerif-Italic.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/InstrumentSerif-Regular.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/Italiana-OFL.txt +93 -0
- package/skills/engineering/canvas-design/canvas-fonts/Italiana-Regular.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/JetBrainsMono-Bold.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/JetBrainsMono-OFL.txt +93 -0
- package/skills/engineering/canvas-design/canvas-fonts/JetBrainsMono-Regular.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/Jura-Light.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/Jura-Medium.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/Jura-OFL.txt +93 -0
- package/skills/engineering/canvas-design/canvas-fonts/LibreBaskerville-OFL.txt +93 -0
- package/skills/engineering/canvas-design/canvas-fonts/LibreBaskerville-Regular.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/Lora-Bold.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/Lora-BoldItalic.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/Lora-Italic.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/Lora-OFL.txt +93 -0
- package/skills/engineering/canvas-design/canvas-fonts/Lora-Regular.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/NationalPark-Bold.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/NationalPark-OFL.txt +93 -0
- package/skills/engineering/canvas-design/canvas-fonts/NationalPark-Regular.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/NothingYouCouldDo-OFL.txt +93 -0
- package/skills/engineering/canvas-design/canvas-fonts/NothingYouCouldDo-Regular.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/Outfit-Bold.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/Outfit-OFL.txt +93 -0
- package/skills/engineering/canvas-design/canvas-fonts/Outfit-Regular.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/PixelifySans-Medium.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/PixelifySans-OFL.txt +93 -0
- package/skills/engineering/canvas-design/canvas-fonts/PoiretOne-OFL.txt +93 -0
- package/skills/engineering/canvas-design/canvas-fonts/PoiretOne-Regular.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/RedHatMono-Bold.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/RedHatMono-OFL.txt +93 -0
- package/skills/engineering/canvas-design/canvas-fonts/RedHatMono-Regular.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/Silkscreen-OFL.txt +93 -0
- package/skills/engineering/canvas-design/canvas-fonts/Silkscreen-Regular.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/SmoochSans-Medium.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/SmoochSans-OFL.txt +93 -0
- package/skills/engineering/canvas-design/canvas-fonts/Tektur-Medium.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/Tektur-OFL.txt +93 -0
- package/skills/engineering/canvas-design/canvas-fonts/Tektur-Regular.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/WorkSans-Bold.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/WorkSans-BoldItalic.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/WorkSans-Italic.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/WorkSans-OFL.txt +93 -0
- package/skills/engineering/canvas-design/canvas-fonts/WorkSans-Regular.ttf +0 -0
- package/skills/engineering/canvas-design/canvas-fonts/YoungSerif-OFL.txt +93 -0
- package/skills/engineering/canvas-design/canvas-fonts/YoungSerif-Regular.ttf +0 -0
- package/skills/engineering/chart-generator/SKILL.md +66 -0
- package/skills/engineering/code-review/SKILL.md +87 -0
- package/skills/engineering/code-review/agents/openai.yaml +3 -0
- package/skills/engineering/codebase-design/DEEPENING.md +37 -0
- package/skills/engineering/codebase-design/DESIGN-IT-TWICE.md +44 -0
- package/skills/engineering/codebase-design/SKILL.md +114 -0
- package/skills/engineering/codebase-design/agents/openai.yaml +3 -0
- package/skills/engineering/diagnosing-bugs/SKILL.md +140 -0
- package/skills/engineering/diagnosing-bugs/agents/openai.yaml +3 -0
- package/skills/engineering/diagnosing-bugs/scripts/hitl-loop.template.sh +44 -0
- package/skills/engineering/dispatching-parallel-agents/SKILL.md +170 -0
- package/skills/engineering/doc-coauthoring/SKILL.md +393 -0
- package/skills/engineering/domain-modeling/ADR-FORMAT.md +47 -0
- package/skills/engineering/domain-modeling/CONTEXT-FORMAT.md +60 -0
- package/skills/engineering/domain-modeling/SKILL.md +74 -0
- package/skills/engineering/domain-modeling/agents/openai.yaml +3 -0
- package/skills/engineering/finishing-a-development-branch/SKILL.md +188 -0
- package/skills/engineering/frontend-design/SKILL.md +145 -0
- package/skills/engineering/grill-with-docs/SKILL.md +7 -0
- package/skills/engineering/grill-with-docs/agents/openai.yaml +5 -0
- package/skills/engineering/image-to-code/SKILL.md +121 -0
- package/skills/engineering/implement/SKILL.md +15 -0
- package/skills/engineering/implement/agents/openai.yaml +5 -0
- package/skills/engineering/improve-codebase-architecture/HTML-REPORT.md +123 -0
- package/skills/engineering/improve-codebase-architecture/SKILL.md +71 -0
- package/skills/engineering/improve-codebase-architecture/agents/openai.yaml +5 -0
- package/skills/engineering/pdf/SKILL.md +330 -0
- package/skills/engineering/pdf/forms.md +294 -0
- package/skills/engineering/pdf/reference.md +612 -0
- package/skills/engineering/pdf/scripts/check_bounding_boxes.py +65 -0
- package/skills/engineering/pdf/scripts/check_fillable_fields.py +11 -0
- package/skills/engineering/pdf/scripts/convert_pdf_to_images.py +33 -0
- package/skills/engineering/pdf/scripts/create_validation_image.py +37 -0
- package/skills/engineering/pdf/scripts/extract_form_field_info.py +122 -0
- package/skills/engineering/pdf/scripts/extract_form_structure.py +115 -0
- package/skills/engineering/pdf/scripts/fill_fillable_fields.py +98 -0
- package/skills/engineering/pdf/scripts/fill_pdf_form_with_annotations.py +107 -0
- package/skills/engineering/playwright-cli/SKILL.md +357 -0
- package/skills/engineering/playwright-cli/references/element-attributes.md +23 -0
- package/skills/engineering/playwright-cli/references/playwright-tests.md +39 -0
- package/skills/engineering/playwright-cli/references/request-mocking.md +87 -0
- package/skills/engineering/playwright-cli/references/running-code.md +231 -0
- package/skills/engineering/playwright-cli/references/session-management.md +209 -0
- package/skills/engineering/playwright-cli/references/storage-state.md +275 -0
- package/skills/engineering/playwright-cli/references/test-generation.md +88 -0
- package/skills/engineering/playwright-cli/references/tracing.md +139 -0
- package/skills/engineering/playwright-cli/references/video-recording.md +143 -0
- package/skills/engineering/pptx/SKILL.md +221 -0
- package/skills/engineering/pptx/editing.md +205 -0
- package/skills/engineering/pptx/pptxgenjs.md +420 -0
- package/skills/engineering/pptx/scripts/__init__.py +0 -0
- package/skills/engineering/pptx/scripts/add_slide.py +195 -0
- package/skills/engineering/pptx/scripts/clean.py +286 -0
- package/skills/engineering/pptx/scripts/office/helpers/__init__.py +0 -0
- package/skills/engineering/pptx/scripts/office/helpers/merge_runs.py +199 -0
- package/skills/engineering/pptx/scripts/office/helpers/simplify_redlines.py +197 -0
- package/skills/engineering/pptx/scripts/office/pack.py +159 -0
- package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
- package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
- package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
- package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
- package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
- package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
- package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
- package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
- package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
- package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
- package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
- package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
- package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
- package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
- package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
- package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
- package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
- package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
- package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
- package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
- package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
- package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
- package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
- package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
- package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
- package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
- package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
- package/skills/engineering/pptx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
- package/skills/engineering/pptx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
- package/skills/engineering/pptx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
- package/skills/engineering/pptx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
- package/skills/engineering/pptx/scripts/office/schemas/mce/mc.xsd +75 -0
- package/skills/engineering/pptx/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
- package/skills/engineering/pptx/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
- package/skills/engineering/pptx/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
- package/skills/engineering/pptx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
- package/skills/engineering/pptx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
- package/skills/engineering/pptx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
- package/skills/engineering/pptx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
- package/skills/engineering/pptx/scripts/office/soffice.py +183 -0
- package/skills/engineering/pptx/scripts/office/unpack.py +132 -0
- package/skills/engineering/pptx/scripts/office/validate.py +111 -0
- package/skills/engineering/pptx/scripts/office/validators/__init__.py +15 -0
- package/skills/engineering/pptx/scripts/office/validators/base.py +847 -0
- package/skills/engineering/pptx/scripts/office/validators/docx.py +446 -0
- package/skills/engineering/pptx/scripts/office/validators/pptx.py +275 -0
- package/skills/engineering/pptx/scripts/office/validators/redlining.py +247 -0
- package/skills/engineering/pptx/scripts/thumbnail.py +289 -0
- package/skills/engineering/prototype/LOGIC.md +67 -0
- package/skills/engineering/prototype/SKILL.md +26 -0
- package/skills/engineering/prototype/UI.md +112 -0
- package/skills/engineering/prototype/agents/openai.yaml +3 -0
- package/skills/engineering/research/SKILL.md +12 -0
- package/skills/engineering/research/agents/openai.yaml +3 -0
- package/skills/engineering/resolving-merge-conflicts/SKILL.md +14 -0
- package/skills/engineering/resolving-merge-conflicts/agents/openai.yaml +3 -0
- package/skills/engineering/setup-simple-skills/SKILL.md +100 -0
- package/skills/engineering/setup-simple-skills/agents/openai.yaml +5 -0
- package/skills/engineering/setup-simple-skills/domain.md +51 -0
- package/skills/engineering/setup-simple-skills/issue-tracker-github.md +22 -0
- package/skills/engineering/setup-simple-skills/issue-tracker-gitlab.md +24 -0
- package/skills/engineering/setup-simple-skills/issue-tracker-local.md +18 -0
- package/skills/engineering/skill-creator/SKILL.md +500 -0
- package/skills/engineering/skill-creator/agents/analyzer.md +274 -0
- package/skills/engineering/skill-creator/agents/comparator.md +202 -0
- package/skills/engineering/skill-creator/agents/grader.md +223 -0
- package/skills/engineering/skill-creator/assets/eval_review.html +146 -0
- package/skills/engineering/skill-creator/eval-viewer/generate_review.py +471 -0
- package/skills/engineering/skill-creator/eval-viewer/viewer.html +1325 -0
- package/skills/engineering/skill-creator/references/schemas.md +430 -0
- package/skills/engineering/skill-creator/scripts/__init__.py +0 -0
- package/skills/engineering/skill-creator/scripts/aggregate_benchmark.py +401 -0
- package/skills/engineering/skill-creator/scripts/generate_report.py +326 -0
- package/skills/engineering/skill-creator/scripts/improve_description.py +247 -0
- package/skills/engineering/skill-creator/scripts/package_skill.py +136 -0
- package/skills/engineering/skill-creator/scripts/quick_validate.py +103 -0
- package/skills/engineering/skill-creator/scripts/run_eval.py +310 -0
- package/skills/engineering/skill-creator/scripts/run_loop.py +328 -0
- package/skills/engineering/skill-creator/scripts/utils.py +47 -0
- package/skills/engineering/software-architecture/SKILL.md +76 -0
- package/skills/engineering/subagent-driven-development/SKILL.md +341 -0
- package/skills/engineering/subagent-driven-development/implementer-prompt.md +140 -0
- package/skills/engineering/subagent-driven-development/re-review-prompt.md +100 -0
- package/skills/engineering/subagent-driven-development/scripts/review-package +46 -0
- package/skills/engineering/subagent-driven-development/scripts/sdd-workspace +40 -0
- package/skills/engineering/subagent-driven-development/scripts/task-brief +45 -0
- package/skills/engineering/subagent-driven-development/task-reviewer-prompt.md +165 -0
- package/skills/engineering/systematic-debugging/CREATION-LOG.md +119 -0
- package/skills/engineering/systematic-debugging/SKILL.md +272 -0
- package/skills/engineering/systematic-debugging/condition-based-waiting-example.ts +158 -0
- package/skills/engineering/systematic-debugging/condition-based-waiting.md +115 -0
- package/skills/engineering/systematic-debugging/defense-in-depth.md +122 -0
- package/skills/engineering/systematic-debugging/find-polluter.sh +72 -0
- package/skills/engineering/systematic-debugging/root-cause-tracing.md +169 -0
- package/skills/engineering/systematic-debugging/test-academic.md +14 -0
- package/skills/engineering/systematic-debugging/test-pressure-1.md +58 -0
- package/skills/engineering/systematic-debugging/test-pressure-2.md +68 -0
- package/skills/engineering/systematic-debugging/test-pressure-3.md +69 -0
- package/skills/engineering/tdd/SKILL.md +54 -0
- package/skills/engineering/tdd/agents/openai.yaml +3 -0
- package/skills/engineering/tdd/mocking.md +59 -0
- package/skills/engineering/tdd/tests.md +77 -0
- package/skills/engineering/theme-factory/SKILL.md +63 -0
- package/skills/engineering/theme-factory/theme-showcase.pdf +0 -0
- package/skills/engineering/theme-factory/themes/arctic-frost.md +19 -0
- package/skills/engineering/theme-factory/themes/botanical-garden.md +19 -0
- package/skills/engineering/theme-factory/themes/desert-rose.md +19 -0
- package/skills/engineering/theme-factory/themes/forest-canopy.md +19 -0
- package/skills/engineering/theme-factory/themes/golden-hour.md +19 -0
- package/skills/engineering/theme-factory/themes/midnight-galaxy.md +19 -0
- package/skills/engineering/theme-factory/themes/modern-minimalist.md +19 -0
- package/skills/engineering/theme-factory/themes/ocean-depths.md +19 -0
- package/skills/engineering/theme-factory/themes/sunset-boulevard.md +19 -0
- package/skills/engineering/theme-factory/themes/tech-innovation.md +19 -0
- package/skills/engineering/to-spec/SKILL.md +74 -0
- package/skills/engineering/to-spec/agents/openai.yaml +5 -0
- package/skills/engineering/to-tickets/SKILL.md +104 -0
- package/skills/engineering/to-tickets/agents/openai.yaml +5 -0
- package/skills/engineering/using-git-worktrees/SKILL.md +175 -0
- package/skills/engineering/verification-before-completion/SKILL.md +126 -0
- package/skills/engineering/wayfinder/SKILL.md +128 -0
- package/skills/engineering/wayfinder/agents/openai.yaml +5 -0
- package/skills/engineering/xlsx/SKILL.md +321 -0
- package/skills/engineering/xlsx/scripts/office/helpers/__init__.py +0 -0
- package/skills/engineering/xlsx/scripts/office/helpers/merge_runs.py +199 -0
- package/skills/engineering/xlsx/scripts/office/helpers/simplify_redlines.py +197 -0
- package/skills/engineering/xlsx/scripts/office/pack.py +159 -0
- package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
- package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
- package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
- package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
- package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
- package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
- package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
- package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
- package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
- package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
- package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
- package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
- package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
- package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
- package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
- package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
- package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
- package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
- package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
- package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
- package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
- package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
- package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
- package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
- package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
- package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
- package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
- package/skills/engineering/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
- package/skills/engineering/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
- package/skills/engineering/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
- package/skills/engineering/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
- package/skills/engineering/xlsx/scripts/office/schemas/mce/mc.xsd +75 -0
- package/skills/engineering/xlsx/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
- package/skills/engineering/xlsx/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
- package/skills/engineering/xlsx/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
- package/skills/engineering/xlsx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
- package/skills/engineering/xlsx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
- package/skills/engineering/xlsx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
- package/skills/engineering/xlsx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
- package/skills/engineering/xlsx/scripts/office/soffice.py +183 -0
- package/skills/engineering/xlsx/scripts/office/unpack.py +132 -0
- package/skills/engineering/xlsx/scripts/office/validate.py +111 -0
- package/skills/engineering/xlsx/scripts/office/validators/__init__.py +15 -0
- package/skills/engineering/xlsx/scripts/office/validators/base.py +847 -0
- package/skills/engineering/xlsx/scripts/office/validators/docx.py +446 -0
- package/skills/engineering/xlsx/scripts/office/validators/pptx.py +275 -0
- package/skills/engineering/xlsx/scripts/office/validators/redlining.py +247 -0
- package/skills/engineering/xlsx/scripts/recalc.py +184 -0
- package/skills/productivity/README.md +20 -0
- package/skills/productivity/grill-me/SKILL.md +7 -0
- package/skills/productivity/grill-me/agents/openai.yaml +5 -0
- package/skills/productivity/grilling/SKILL.md +22 -0
- package/skills/productivity/grilling/agents/openai.yaml +3 -0
- package/skills/productivity/handoff/SKILL.md +16 -0
- package/skills/productivity/handoff/agents/openai.yaml +5 -0
- package/skills/productivity/teach/GLOSSARY-FORMAT.md +35 -0
- package/skills/productivity/teach/LEARNING-RECORD-FORMAT.md +46 -0
- package/skills/productivity/teach/MISSION-FORMAT.md +31 -0
- package/skills/productivity/teach/RESOURCES-FORMAT.md +32 -0
- package/skills/productivity/teach/SKILL.md +140 -0
- package/skills/productivity/teach/agents/openai.yaml +5 -0
- package/skills/productivity/to-questionnaire/SKILL.md +53 -0
- package/skills/productivity/to-questionnaire/agents/openai.yaml +5 -0
- package/skills/productivity/wait-what/SKILL.md +7 -0
- package/skills/productivity/wait-what/agents/openai.yaml +5 -0
- package/skills/productivity/writing-for-agents/SKILL-MECHANICS.md +22 -0
- package/skills/productivity/writing-for-agents/SKILL.md +81 -0
- package/skills/productivity/writing-for-agents/agents/openai.yaml +3 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2016 The Smooch Sans Project Authors (https://github.com/googlefonts/smooch-sans)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
https://openfontlicense.org
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2023 The Tektur Project Authors (https://www.github.com/hyvyys/Tektur)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
https://openfontlicense.org
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2019 The Work Sans Project Authors (https://github.com/weiweihuanghuang/Work-Sans)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
https://openfontlicense.org
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2023 The Young Serif Project Authors (https://github.com/noirblancrouge/YoungSerif)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
https://openfontlicense.org
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: chart-generator
|
|
3
|
+
description: 按照用户自定义的matplotlib规范和antv MCP工具生成各类可视化图表。使用当用户提到生成图表、柱状图、折线图、饼图、散点图、雷达图、可视化数据时触发。
|
|
4
|
+
scope: global
|
|
5
|
+
license: MIT
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
# 图表生成Skill
|
|
10
|
+
|
|
11
|
+
## 适用场景
|
|
12
|
+
|
|
13
|
+
用户需要生成数据可视化图表时自动触发,支持两种生成方式:
|
|
14
|
+
|
|
15
|
+
1. 轻量快速图表:调用antv MCP工具直接生成
|
|
16
|
+
2. 定制化PNG图表:严格按照用户指定的matplotlib规范生成,输出到Downloads目录
|
|
17
|
+
|
|
18
|
+
## 执行流程
|
|
19
|
+
|
|
20
|
+
### Step 1: 确认需求
|
|
21
|
+
|
|
22
|
+
自动收集必要参数,缺失时询问用户:
|
|
23
|
+
|
|
24
|
+
- 图表类型(柱状图/折线图/饼图/散点图/雷达图/面积图等)
|
|
25
|
+
- 具体数据(包含维度和数值)
|
|
26
|
+
- 可选参数:标题、x轴标签、y轴标签、是否堆叠、颜色主题等
|
|
27
|
+
|
|
28
|
+
### Step 2: 选择生成方式
|
|
29
|
+
|
|
30
|
+
- 优先用antv MCP工具:适合快速生成、不需要本地文件的场景
|
|
31
|
+
- 自动切换matplotlib:用户要求导出PNG、需要定制化样式、antv不支持的图表类型时使用
|
|
32
|
+
|
|
33
|
+
### Step 3: 按规范生成
|
|
34
|
+
|
|
35
|
+
#### Matplotlib生成规范(严格执行用户配置)
|
|
36
|
+
|
|
37
|
+
1. 必须使用Agg后端,无GUI模式
|
|
38
|
+
2. 全局字体设置:
|
|
39
|
+
|
|
40
|
+
```python
|
|
41
|
+
plt.rcParams['font.sans-serif'] = ['Noto Sans CJK JP']
|
|
42
|
+
plt.rcParams['axes.unicode_minus'] = False
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
3. 输出路径固定为`/home/LinXuan/Downloads/图表名.png`,dpi=150
|
|
46
|
+
4. 自动添加紧凑布局:`plt.tight_layout()`
|
|
47
|
+
|
|
48
|
+
#### Antv MCP生成规范
|
|
49
|
+
|
|
50
|
+
1. 优先选择对应类型的antv工具调用
|
|
51
|
+
2. 自动补全用户未指定的默认参数(宽高默认600x400,主题默认default)
|
|
52
|
+
3. 生成后直接返回结果给用户
|
|
53
|
+
|
|
54
|
+
### Step 4: 结果反馈
|
|
55
|
+
|
|
56
|
+
- Matplotlib生成:告知用户文件保存路径,确认生成成功
|
|
57
|
+
- Antv生成:直接展示生成的图表结果
|
|
58
|
+
|
|
59
|
+
## 触发关键词
|
|
60
|
+
|
|
61
|
+
生成图表、画个图、柱状图、折线图、饼图、散点图、雷达图、面积图、数据可视化、matplotlib画图、antv图表
|
|
62
|
+
|
|
63
|
+
## 禁止场景
|
|
64
|
+
|
|
65
|
+
- 非图表生成类请求
|
|
66
|
+
- 要求生成Excel/Word等非可视化格式的请求
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: code-review
|
|
3
|
+
description: 沿两个轴评审某个固定点(commit、branch、tag 或 merge-base)以来的变更——Standards(代码是否遵循本 repo 文档化的编码规范?)与 Spec(代码是否符合发起 issue/spec 的要求?)。两个评审以并行 sub-agent 运行,结果并排汇报。当用户想评审一个分支、一个 PR、进行中的变更,或要求「review since X」时使用。
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
对 `HEAD` 与用户提供的固定点之间的 diff 做双轴评审:
|
|
7
|
+
|
|
8
|
+
- **Standards** — 代码是否符合本 repo 文档化的编码规范?
|
|
9
|
+
- **Spec** — 代码是否忠实实现了发起 issue / spec 的要求?
|
|
10
|
+
|
|
11
|
+
两个轴都以**并行 sub-agent** 运行,以免互相污染上下文,然后由本 skill 汇总它们的发现。
|
|
12
|
+
|
|
13
|
+
issue tracker 应当已经提供给你了——如果 `docs/agents/issue-tracker.md` 缺失,运行 `/setup-simple-skills`。
|
|
14
|
+
|
|
15
|
+
## 流程
|
|
16
|
+
|
|
17
|
+
### 1. 钉住固定点
|
|
18
|
+
|
|
19
|
+
用户指定的就是固定点——commit SHA、分支名、tag、`main`、`HEAD~5` 等等。如果没指定,就问。
|
|
20
|
+
|
|
21
|
+
把 diff 命令一次性记录下来:`git diff <fixed-point>...HEAD`(三点语法,即与 merge-base 比较)。同时用 `git log <fixed-point>..HEAD --oneline` 记下提交列表。
|
|
22
|
+
|
|
23
|
+
在继续之前,确认固定点可解析(`git rev-parse <fixed-point>`)且 diff 非空。坏引用或空 diff 应当在这里就失败——而不是在两个并行 sub-agent 内部才失败。
|
|
24
|
+
|
|
25
|
+
### 2. 确定 spec 来源
|
|
26
|
+
|
|
27
|
+
按以下顺序寻找发起 spec:
|
|
28
|
+
|
|
29
|
+
1. 提交信息中的 issue 引用(`#123`、`Closes #45`、GitLab `!67` 等)——按 `docs/agents/issue-tracker.md` 中的工作流抓取。
|
|
30
|
+
2. 用户作为参数传入的路径。
|
|
31
|
+
3. `docs/`、`specs/` 或 `.scratch/` 下与分支名或功能匹配的 spec 文件。
|
|
32
|
+
4. 如果都找不到,问用户 spec 在哪。如果用户说没有 spec,**Spec** sub-agent 将跳过并报告 "no spec available"。
|
|
33
|
+
|
|
34
|
+
### 3. 确定规范来源
|
|
35
|
+
|
|
36
|
+
repo 中任何记录「代码应该怎么写」的文档,如 `CODING_STANDARDS.md` 或 `CONTRIBUTING.md`。
|
|
37
|
+
|
|
38
|
+
在 repo 文档之上,Standards 轴永远携带下面的**坏味道基线(smell baseline)**——一组固定的 Fowler 代码坏味道(《重构》第 3 章),即使 repo 什么都没写也适用。它受两条规则约束:
|
|
39
|
+
|
|
40
|
+
- **repo 规范优先。** 文档化的 repo 规范永远胜出;当它认可了基线会标记的东西时,压制该坏味道。
|
|
41
|
+
- **永远是判断题。** 每个坏味道都是带标签的启发式("possible Feature Envy"),绝不是硬性违规——并且和这里的任何规范一样,工具已经强制的事一律跳过。
|
|
42
|
+
|
|
43
|
+
每个坏味道按*是什么* → *怎么修*来读;用它对照 diff:
|
|
44
|
+
|
|
45
|
+
- **Mysterious Name** — 函数、变量或类型的名字没有揭示它做什么或装什么。→ 重命名;如果想不出诚实的名字,说明设计本身就是浑浊的。
|
|
46
|
+
- **Duplicated Code** — 同样的逻辑形状出现在变更的多个 hunk 或文件中。→ 提取共同形状,两处都调用它。
|
|
47
|
+
- **Feature Envy** — 一个方法伸进另一个对象的数据比用自己的还多。→ 把方法移到它羡慕的数据上。
|
|
48
|
+
- **Data Clumps** — 同样几个字段或参数总是结伴出行(一个想诞生的类型)。→ 打包成一个类型,传那个类型。
|
|
49
|
+
- **Primitive Obsession** — 用原始类型或字符串顶替一个本该有自己类型的领域概念。→ 给这个概念一个小类型。
|
|
50
|
+
- **Repeated Switches** — 针对同一类型的同一个 `switch`/`if` 级联在变更中反复出现。→ 换成多态,或换成两处共享的一张 map。
|
|
51
|
+
- **Shotgun Surgery** — 一个逻辑变更迫使 diff 中许多文件被零散修改。→ 把一起变的东西收进一个模块。
|
|
52
|
+
- **Divergent Change** — 一个文件或模块因为多个不相关的原因被修改。→ 拆开,让每个模块只为一个原因变化。
|
|
53
|
+
- **Speculative Generality** — 为 spec 并不存在的需求添加的抽象、参数或钩子。→ 删掉它;内联回去,等真实需求出现再说。
|
|
54
|
+
- **Message Chains** — 调用方不该依赖的长 `a.b().c().d()` 导航链。→ 把这段行走藏到第一个对象上的一个方法背后。
|
|
55
|
+
- **Middle Man** — 一个基本上只做转发的类或函数。→ 砍掉它,直接调用真正的目标。
|
|
56
|
+
- **Refused Bequest** — 忽略或重写掉大部分继承物的子类或实现者。→ 放弃继承,改用组合。
|
|
57
|
+
|
|
58
|
+
### 4. 并行启动两个 sub-agent
|
|
59
|
+
|
|
60
|
+
**Standards sub-agent 的 prompt** — 包含:
|
|
61
|
+
|
|
62
|
+
- 完整的 diff 命令和提交列表。
|
|
63
|
+
- 第 3 步找到的规范来源文件列表,**外加第 3 步的坏味道基线**全文粘贴——sub-agent 没有其他途径获取它。
|
|
64
|
+
- 简报:"汇报——在相关的文件/hunk 级别——(a) diff 违反文档化规范的每一处:引用该规范(文件 + 规则);(b) 你发现的所有基线坏味道:点名并引用该 hunk。区分硬性违规与判断题——文档化规范的违反可以是硬性违规,但基线坏味道永远是判断题,且文档化的 repo 规范优先于基线。工具已经强制的事一律跳过。400 词以内。"
|
|
65
|
+
|
|
66
|
+
**Spec sub-agent 的 prompt** — 包含:
|
|
67
|
+
|
|
68
|
+
- diff 命令和提交列表。
|
|
69
|
+
- spec 的路径或抓取到的内容。
|
|
70
|
+
- 简报:"汇报:(a) spec 要求但缺失或只完成了一部分的需求;(b) diff 中没人要求的行为(范围蔓延);(c) 看似已实现但实现看起来不对的需求。每条发现都要引用对应的 spec 原文行。400 词以内。"
|
|
71
|
+
|
|
72
|
+
如果 spec 缺失,跳过 Spec sub-agent,并在最终报告中注明。
|
|
73
|
+
|
|
74
|
+
### 5. 汇总
|
|
75
|
+
|
|
76
|
+
把两份报告放在 `## Standards` 和 `## Spec` 标题下呈现,原样或稍加清理。**不要**合并或重排发现——两个轴是刻意分开的(见「为什么是双轴」)。
|
|
77
|
+
|
|
78
|
+
最后用一行总结收尾:每个轴的发现总数,以及*每个轴内部*最严重的问题(如果有)。不要跨轴选出唯一的胜出者——那正是轴分离要防止的重排。
|
|
79
|
+
|
|
80
|
+
## 为什么是双轴
|
|
81
|
+
|
|
82
|
+
一个变更可能过一个轴、挂另一个轴:
|
|
83
|
+
|
|
84
|
+
- 符合每条规范但实现错了东西的代码 → **Standards 过,Spec 挂。**
|
|
85
|
+
- 完全做了 issue 要求的事但破坏项目惯例的代码 → **Spec 过,Standards 挂。**
|
|
86
|
+
|
|
87
|
+
分开汇报可以阻止一个轴掩盖另一个轴。
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# 深化(Deepening)
|
|
2
|
+
|
|
3
|
+
如何在依赖已定的前提下,安全地深化一个由浅模块组成的簇。默认你已掌握 [SKILL.md](SKILL.md) 中的词汇——**module**、**interface**、**seam**、**adapter**。
|
|
4
|
+
|
|
5
|
+
## 依赖分类
|
|
6
|
+
|
|
7
|
+
评估一个深化候选时,先对它的依赖分类。类别决定了深化后的模块如何跨 seam 测试。
|
|
8
|
+
|
|
9
|
+
### 1. 进程内(In-process)
|
|
10
|
+
|
|
11
|
+
纯计算、内存状态、无 I/O。永远可以深化——合并模块,直接通过新接口测试。不需要 adapter。
|
|
12
|
+
|
|
13
|
+
### 2. 本地可替代(Local-substitutable)
|
|
14
|
+
|
|
15
|
+
有本地测试替代品的依赖(Postgres 用 PGLite、内存文件系统)。只要替代品存在就可以深化。深化后的模块在测试套件中带着替代品一起测试。seam 在内部;模块的外部接口上不需要 port。
|
|
16
|
+
|
|
17
|
+
### 3. 远程但自有(Ports & Adapters)
|
|
18
|
+
|
|
19
|
+
跨网络边界的自有服务(微服务、内部 API)。在 seam 处定义一个 **port**(接口)。深模块拥有逻辑;传输层作为 **adapter** 注入。测试用内存 adapter,生产用 HTTP/gRPC/队列 adapter。
|
|
20
|
+
|
|
21
|
+
建议的表述形状:*「在 seam 处定义一个 port,为生产实现一个 HTTP adapter、为测试实现一个内存 adapter,这样即使部署跨越网络,逻辑也安放在一个深模块里。」*
|
|
22
|
+
|
|
23
|
+
### 4. 真正的外部依赖(Mock)
|
|
24
|
+
|
|
25
|
+
你无法控制的第三方服务(Stripe、Twilio 等)。深化后的模块把外部依赖作为注入的 port 接收;测试提供 mock adapter。
|
|
26
|
+
|
|
27
|
+
## seam 纪律
|
|
28
|
+
|
|
29
|
+
- **一个 adapter 意味着假想的 seam,两个 adapter 才意味着真实的 seam。** 除非至少有两个 adapter 是合理的(通常是生产 + 测试),否则不要引入 port。单 adapter 的 seam 只是间接层。
|
|
30
|
+
- **内部 seam vs 外部 seam。** 深模块除了在接口处的外部 seam 之外,还可以有内部 seam(私属于实现,供自己的测试使用)。不要因为测试用了内部 seam,就把它们通过接口暴露出去。
|
|
31
|
+
|
|
32
|
+
## 测试策略:替换,而非叠加
|
|
33
|
+
|
|
34
|
+
- 一旦深化后模块的接口上有了测试,旧的浅模块单元测试就变成了废物——删掉它们。
|
|
35
|
+
- 在深化后模块的接口上写新测试。**接口就是测试表面。**
|
|
36
|
+
- 测试通过接口断言可观察的结果,而不是内部状态。
|
|
37
|
+
- 测试应当能在内部重构中存活——它们描述的是行为,不是实现。如果实现一变测试就得改,那它测到了接口之后。
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Design It Twice(设计两遍)
|
|
2
|
+
|
|
3
|
+
当用户想为选定的深化候选探索备选接口时,使用这个并行 sub-agent 模式。基于 "Design It Twice"(Ousterhout)——你的第一个想法不太可能是最好的。
|
|
4
|
+
|
|
5
|
+
使用 [SKILL.md](SKILL.md) 中的词汇——**module**、**interface**、**seam**、**adapter**、**leverage**。
|
|
6
|
+
|
|
7
|
+
## 流程
|
|
8
|
+
|
|
9
|
+
### 1. 框定问题空间
|
|
10
|
+
|
|
11
|
+
在启动 sub-agent 之前,为选定的候选写一份面向用户的问题空间说明:
|
|
12
|
+
|
|
13
|
+
- 任何新接口都需要满足的约束
|
|
14
|
+
- 它会依赖的东西,以及这些依赖属于哪个类别(见 [DEEPENING.md](DEEPENING.md))
|
|
15
|
+
- 一份粗略的示例代码草图,用来把约束落到实处——不是提案,只是让约束变得具体的一种方式
|
|
16
|
+
|
|
17
|
+
把它展示给用户,然后立刻进入第 2 步。用户边读边想,sub-agent 同时在并行工作。
|
|
18
|
+
|
|
19
|
+
### 2. 启动 sub-agent
|
|
20
|
+
|
|
21
|
+
并行启动 3 个以上的 sub-agent。每个都必须为深化后的模块产出一个**截然不同**的接口。
|
|
22
|
+
|
|
23
|
+
给每个 sub-agent 一份独立的技术简报(文件路径、耦合细节、来自 [DEEPENING.md](DEEPENING.md) 的依赖类别、seam 背后是什么)。这份简报独立于第 1 步中面向用户的问题空间说明。给每个 agent 一个不同的设计约束:
|
|
24
|
+
|
|
25
|
+
- Agent 1:"最小化接口——目标是最多 1–3 个入口点。最大化每个入口点的 leverage。"
|
|
26
|
+
- Agent 2:"最大化灵活性——支持多种用例和扩展。"
|
|
27
|
+
- Agent 3:"为最常见的调用方优化——让默认情形平凡到不能再平凡。"
|
|
28
|
+
- Agent 4(如适用):"围绕 ports & adapters 设计跨 seam 依赖。"
|
|
29
|
+
|
|
30
|
+
简报中要同时包含 [SKILL.md](SKILL.md) 的词汇和 CONTEXT.md 的词汇,这样每个 sub-agent 的命名都与架构语言和项目的领域语言保持一致。
|
|
31
|
+
|
|
32
|
+
每个 sub-agent 输出:
|
|
33
|
+
|
|
34
|
+
1. 接口(类型、方法、参数——外加不变量、顺序、错误模式)
|
|
35
|
+
2. 展示调用方如何使用它的用法示例
|
|
36
|
+
3. 实现藏在 seam 背后的东西
|
|
37
|
+
4. 依赖策略与 adapter(见 [DEEPENING.md](DEEPENING.md))
|
|
38
|
+
5. 权衡——哪里 leverage 高,哪里单薄
|
|
39
|
+
|
|
40
|
+
### 3. 展示与比较
|
|
41
|
+
|
|
42
|
+
逐个展示设计,让用户能消化每一个,然后用散文形式做比较。从 **depth**(接口处的 leverage)、**locality**(变更集中在何处)和 **seam 位置**三个维度对比。
|
|
43
|
+
|
|
44
|
+
比较之后给出你自己的推荐:你认为哪个设计最强、为什么。如果不同设计的元素能很好地组合,就提出一个混合方案。要有主见——用户要的是一个有力的判断,不是一份菜单。
|