create-hq 5.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/dist/deps.d.ts +4 -0
- package/dist/deps.d.ts.map +1 -0
- package/dist/deps.js +65 -0
- package/dist/deps.js.map +1 -0
- package/dist/git.d.ts +3 -0
- package/dist/git.d.ts.map +1 -0
- package/dist/git.js +19 -0
- package/dist/git.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +23 -0
- package/dist/index.js.map +1 -0
- package/dist/scaffold.d.ts +8 -0
- package/dist/scaffold.d.ts.map +1 -0
- package/dist/scaffold.js +130 -0
- package/dist/scaffold.js.map +1 -0
- package/dist/ui.d.ts +7 -0
- package/dist/ui.d.ts.map +1 -0
- package/dist/ui.js +36 -0
- package/dist/ui.js.map +1 -0
- package/package.json +41 -0
- package/template/.claude/CLAUDE.md +202 -0
- package/template/.claude/commands/checkpoint.md +127 -0
- package/template/.claude/commands/cleanup.md +307 -0
- package/template/.claude/commands/execute-task.md +440 -0
- package/template/.claude/commands/exit-plan.md +41 -0
- package/template/.claude/commands/handoff.md +97 -0
- package/template/.claude/commands/learn.md +218 -0
- package/template/.claude/commands/metrics.md +118 -0
- package/template/.claude/commands/newworker.md +162 -0
- package/template/.claude/commands/nexttask.md +67 -0
- package/template/.claude/commands/prd.md +238 -0
- package/template/.claude/commands/reanchor.md +51 -0
- package/template/.claude/commands/remember.md +126 -0
- package/template/.claude/commands/run-project.md +348 -0
- package/template/.claude/commands/run.md +110 -0
- package/template/.claude/commands/search-reindex.md +62 -0
- package/template/.claude/commands/search.md +100 -0
- package/template/.claude/commands/setup.md +381 -0
- package/template/.claude/scripts/pure-ralph-loop.ps1 +312 -0
- package/template/.claude/scripts/pure-ralph-loop.sh +859 -0
- package/template/CHANGELOG.md +220 -0
- package/template/LICENSE +21 -0
- package/template/MIGRATION.md +259 -0
- package/template/README.md +368 -0
- package/template/data/journal/.gitkeep +0 -0
- package/template/docs/images/ascii-banner-options.md +122 -0
- package/template/docs/images/hq-banner.svg +105 -0
- package/template/knowledge/Ralph/01-overview.md +71 -0
- package/template/knowledge/Ralph/02-core-concepts.md +114 -0
- package/template/knowledge/Ralph/03-how-ralph-works.md +184 -0
- package/template/knowledge/Ralph/04-back-pressure.md +222 -0
- package/template/knowledge/Ralph/05-specifications.md +210 -0
- package/template/knowledge/Ralph/06-agents-md.md +222 -0
- package/template/knowledge/Ralph/07-implementation.md +316 -0
- package/template/knowledge/Ralph/08-economics.md +182 -0
- package/template/knowledge/Ralph/09-resources.md +145 -0
- package/template/knowledge/Ralph/10-claude-code-workflow.md +212 -0
- package/template/knowledge/Ralph/11-team-training-guide.md +383 -0
- package/template/knowledge/Ralph/README.md +40 -0
- package/template/knowledge/ai-security-framework/CONTRIBUTING.md +139 -0
- package/template/knowledge/ai-security-framework/GLOSSARY.md +176 -0
- package/template/knowledge/ai-security-framework/LICENSE +21 -0
- package/template/knowledge/ai-security-framework/QUICK-START.md +172 -0
- package/template/knowledge/ai-security-framework/README.md +232 -0
- package/template/knowledge/ai-security-framework/checklists/browser-security.md +301 -0
- package/template/knowledge/ai-security-framework/checklists/credential-isolation.md +322 -0
- package/template/knowledge/ai-security-framework/checklists/incident-response.md +288 -0
- package/template/knowledge/ai-security-framework/checklists/pre-flight.md +249 -0
- package/template/knowledge/ai-security-framework/checklists/weekly-audit.md +159 -0
- package/template/knowledge/ai-security-framework/configs/audit-logging.md +372 -0
- package/template/knowledge/ai-security-framework/configs/kill-switches.md +354 -0
- package/template/knowledge/ai-security-framework/docs/01-core-principles.md +256 -0
- package/template/knowledge/ai-security-framework/docs/02-threat-landscape.md +326 -0
- package/template/knowledge/ai-security-framework/docs/03-security-posture.md +250 -0
- package/template/knowledge/ai-security-framework/templates/agents-security.md +233 -0
- package/template/knowledge/design-styles/README.md +42 -0
- package/template/knowledge/design-styles/american-industrial.md +136 -0
- package/template/knowledge/design-styles/ethereal-abstract.md +133 -0
- package/template/knowledge/design-styles/liminal-portal.md +111 -0
- package/template/knowledge/design-styles/swipes/american-industrial/G-3m4YPW0AADdu2.jpeg +0 -0
- package/template/knowledge/design-styles/swipes/american-industrial/G-JJlt5WwAABK3K.png +0 -0
- package/template/knowledge/design-styles/swipes/american-industrial/G-JJmj5W0AEbJ-7.png +0 -0
- package/template/knowledge/design-styles/swipes/american-industrial/G59fgNuXkAAKLJQ (1).jpeg +0 -0
- package/template/knowledge/design-styles/swipes/american-industrial/G59fgNuXkAAKLJQ.jpeg +0 -0
- package/template/knowledge/design-styles/swipes/american-industrial/G7fVkn3WEAAM-ST.jpeg +0 -0
- package/template/knowledge/design-styles/swipes/american-industrial/G8ECO5JWEAIksyn.png +0 -0
- package/template/knowledge/design-styles/swipes/american-industrial/G9-3GQSWoAA8eqZ.png +0 -0
- package/template/knowledge/design-styles/swipes/american-industrial/G9xEOqrXkAEZRcs.png +0 -0
- package/template/knowledge/design-styles/swipes/american-industrial/G_MVeJrXQAA8sx4.jpeg +0 -0
- package/template/knowledge/design-styles/swipes/american-industrial/G_RSkmGXkAAgAVZ.png +0 -0
- package/template/knowledge/design-styles/swipes/american-industrial/README.md +31 -0
- package/template/knowledge/design-styles/swipes/american-industrial/qyqtg7Dq.png +0 -0
- package/template/knowledge/dev-team/README.md +35 -0
- package/template/knowledge/dev-team/patterns/README.md +34 -0
- package/template/knowledge/dev-team/patterns/frontend/react-best-practices.md +178 -0
- package/template/knowledge/dev-team/troubleshooting/README.md +31 -0
- package/template/knowledge/dev-team/workflows/README.md +49 -0
- package/template/knowledge/hq/checkpoint-schema.json +51 -0
- package/template/knowledge/hq/index-md-spec.md +74 -0
- package/template/knowledge/hq/thread-schema.md +153 -0
- package/template/knowledge/hq-core/checkpoint-schema.json +51 -0
- package/template/knowledge/hq-core/index-md-spec.md +74 -0
- package/template/knowledge/hq-core/thread-schema.md +153 -0
- package/template/knowledge/loom/README.md +51 -0
- package/template/knowledge/loom/architecture.md +125 -0
- package/template/knowledge/loom/code-style.md +169 -0
- package/template/knowledge/loom/llm-proxy.md +132 -0
- package/template/knowledge/loom/state-machine.md +131 -0
- package/template/knowledge/loom/thread-system.md +117 -0
- package/template/knowledge/loom/tools.md +94 -0
- package/template/knowledge/loom/weaver.md +96 -0
- package/template/knowledge/loom/web-frontend.md +131 -0
- package/template/knowledge/projects/README.md +72 -0
- package/template/knowledge/projects/templates/README.template.md +28 -0
- package/template/knowledge/workers/README.md +195 -0
- package/template/knowledge/workers/ralph-loop-pattern.md +157 -0
- package/template/knowledge/workers/skill-schema.md +182 -0
- package/template/knowledge/workers/state-machine.md +102 -0
- package/template/knowledge/workers/templates/base-worker.yaml +73 -0
- package/template/knowledge/workers/templates/code-worker.yaml +85 -0
- package/template/knowledge/workers/templates/skill.yaml +49 -0
- package/template/knowledge/workers/templates/social-worker.yaml +70 -0
- package/template/modules/examples/full-manifest.yaml +92 -0
- package/template/modules/examples/minimal.yaml +14 -0
- package/template/modules/modules.yaml +59 -0
- package/template/projects/.gitkeep +0 -0
- package/template/projects/incorporate-workers-into-pure-ralph/prd.json +88 -0
- package/template/projects/pure-ralph-branch-isolation/README.md +114 -0
- package/template/projects/pure-ralph-branch-isolation/prd.json +123 -0
- package/template/projects/purist-ralph-loop/README.md +148 -0
- package/template/projects/purist-ralph-loop/prd.json +135 -0
- package/template/projects/ralph-test/prd.json +50 -0
- package/template/prompts/pure-ralph-base.md +551 -0
- package/template/settings/.gitkeep +0 -0
- package/template/settings/pure-ralph.json +42 -0
- package/template/social-content/drafts/INDEX.md +21 -0
- package/template/social-content/drafts/linkedin/.gitkeep +1 -0
- package/template/social-content/drafts/x/.gitkeep +1 -0
- package/template/social-content/images/.gitkeep +1 -0
- package/template/starter-projects/code-worker/README.md +97 -0
- package/template/starter-projects/code-worker/prd.json +45 -0
- package/template/starter-projects/personal-assistant/README.md +42 -0
- package/template/starter-projects/personal-assistant/prd.json +43 -0
- package/template/starter-projects/social-media/README.md +60 -0
- package/template/starter-projects/social-media/prd.json +43 -0
- package/template/workers/content-brand/README.md +59 -0
- package/template/workers/content-brand/skills/messaging-alignment.md +91 -0
- package/template/workers/content-brand/skills/tone-check.md +76 -0
- package/template/workers/content-brand/skills/voice-analysis.md +68 -0
- package/template/workers/content-brand/worker.yaml +81 -0
- package/template/workers/content-legal/README.md +80 -0
- package/template/workers/content-legal/skills/claim-substantiation.md +150 -0
- package/template/workers/content-legal/skills/compliance-scan.md +123 -0
- package/template/workers/content-legal/skills/disclaimer-check.md +146 -0
- package/template/workers/content-legal/worker.yaml +118 -0
- package/template/workers/content-product/README.md +77 -0
- package/template/workers/content-product/skills/claim-verification.md +96 -0
- package/template/workers/content-product/skills/feature-accuracy.md +117 -0
- package/template/workers/content-product/skills/stats-check.md +128 -0
- package/template/workers/content-product/worker.yaml +97 -0
- package/template/workers/content-sales/README.md +70 -0
- package/template/workers/content-sales/skills/conversion-analysis.md +96 -0
- package/template/workers/content-sales/skills/cta-audit.md +107 -0
- package/template/workers/content-sales/skills/value-prop-check.md +114 -0
- package/template/workers/content-sales/worker.yaml +93 -0
- package/template/workers/content-shared/cli.ts +242 -0
- package/template/workers/content-shared/index.ts +234 -0
- package/template/workers/content-shared/lib/accuracy-analyzer.ts +661 -0
- package/template/workers/content-shared/lib/analyze.ts +370 -0
- package/template/workers/content-shared/lib/brand-analyzer.ts +526 -0
- package/template/workers/content-shared/lib/cms-integration.ts +446 -0
- package/template/workers/content-shared/lib/compliance-analyzer.ts +655 -0
- package/template/workers/content-shared/lib/conversion-analyzer.ts +555 -0
- package/template/workers/content-shared/lib/github-integration.ts +582 -0
- package/template/workers/content-shared/lib/output.ts +373 -0
- package/template/workers/content-shared/lib/parser.ts +771 -0
- package/template/workers/content-shared/lib/priority.ts +439 -0
- package/template/workers/content-shared/lib/recommendations.ts +512 -0
- package/template/workers/content-shared/lib/reporter.ts +749 -0
- package/template/workers/content-shared/lib/restructure.ts +664 -0
- package/template/workers/content-shared/lib/scorer.ts +140 -0
- package/template/workers/content-shared/lib/types.ts +227 -0
- package/template/workers/content-shared/lib/variants.ts +595 -0
- package/template/workers/content-shared/package.json +51 -0
- package/template/workers/content-shared/pnpm-lock.yaml +39 -0
- package/template/workers/content-shared/test/sample-page.json +115 -0
- package/template/workers/content-shared/tsconfig.json +20 -0
- package/template/workers/dev-team/README.md +166 -0
- package/template/workers/dev-team/_template.yaml +70 -0
- package/template/workers/dev-team/architect/package.json +27 -0
- package/template/workers/dev-team/architect/skills/api-design.md +89 -0
- package/template/workers/dev-team/architect/skills/refactor-plan.md +96 -0
- package/template/workers/dev-team/architect/skills/system-design.md +100 -0
- package/template/workers/dev-team/architect/src/index.ts +49 -0
- package/template/workers/dev-team/architect/src/mcp-server.ts +122 -0
- package/template/workers/dev-team/architect/src/skills/api-design.ts +316 -0
- package/template/workers/dev-team/architect/src/skills/refactor-plan.ts +264 -0
- package/template/workers/dev-team/architect/src/skills/system-design.ts +212 -0
- package/template/workers/dev-team/architect/tsconfig.json +19 -0
- package/template/workers/dev-team/architect/worker.yaml +128 -0
- package/template/workers/dev-team/backend-dev/package-lock.json +1252 -0
- package/template/workers/dev-team/backend-dev/package.json +27 -0
- package/template/workers/dev-team/backend-dev/skills/implement-endpoint.md +70 -0
- package/template/workers/dev-team/backend-dev/skills/implement-service.md +62 -0
- package/template/workers/dev-team/backend-dev/src/index.ts +51 -0
- package/template/workers/dev-team/backend-dev/src/mcp-server.ts +109 -0
- package/template/workers/dev-team/backend-dev/src/skills/implement-endpoint.ts +122 -0
- package/template/workers/dev-team/backend-dev/src/skills/implement-service.ts +126 -0
- package/template/workers/dev-team/backend-dev/tsconfig.json +19 -0
- package/template/workers/dev-team/backend-dev/worker.yaml +128 -0
- package/template/workers/dev-team/code-reviewer/package-lock.json +1080 -0
- package/template/workers/dev-team/code-reviewer/package.json +24 -0
- package/template/workers/dev-team/code-reviewer/skills/merge-to-production.md +61 -0
- package/template/workers/dev-team/code-reviewer/skills/merge-to-staging.md +54 -0
- package/template/workers/dev-team/code-reviewer/skills/request-changes.md +63 -0
- package/template/workers/dev-team/code-reviewer/skills/review-pr.md +77 -0
- package/template/workers/dev-team/code-reviewer/src/index.ts +56 -0
- package/template/workers/dev-team/code-reviewer/src/mcp-server.ts +101 -0
- package/template/workers/dev-team/code-reviewer/tsconfig.json +19 -0
- package/template/workers/dev-team/code-reviewer/worker.yaml +90 -0
- package/template/workers/dev-team/database-dev/package.json +22 -0
- package/template/workers/dev-team/database-dev/skills/create-schema.md +48 -0
- package/template/workers/dev-team/database-dev/src/index.ts +50 -0
- package/template/workers/dev-team/database-dev/src/mcp-server.ts +76 -0
- package/template/workers/dev-team/database-dev/tsconfig.json +18 -0
- package/template/workers/dev-team/database-dev/worker.yaml +90 -0
- package/template/workers/dev-team/frontend-dev/package.json +22 -0
- package/template/workers/dev-team/frontend-dev/skills/create-component.md +26 -0
- package/template/workers/dev-team/frontend-dev/src/index.ts +50 -0
- package/template/workers/dev-team/frontend-dev/src/mcp-server.ts +77 -0
- package/template/workers/dev-team/frontend-dev/tsconfig.json +18 -0
- package/template/workers/dev-team/frontend-dev/worker.yaml +132 -0
- package/template/workers/dev-team/infra-dev/package.json +24 -0
- package/template/workers/dev-team/infra-dev/skills/add-monitoring.md +73 -0
- package/template/workers/dev-team/infra-dev/skills/configure-deployment.md +80 -0
- package/template/workers/dev-team/infra-dev/skills/create-dockerfile.md +62 -0
- package/template/workers/dev-team/infra-dev/skills/setup-cicd.md +63 -0
- package/template/workers/dev-team/infra-dev/src/index.ts +55 -0
- package/template/workers/dev-team/infra-dev/src/mcp-server.ts +82 -0
- package/template/workers/dev-team/infra-dev/tsconfig.json +19 -0
- package/template/workers/dev-team/infra-dev/worker.yaml +92 -0
- package/template/workers/dev-team/knowledge-curator/package.json +24 -0
- package/template/workers/dev-team/knowledge-curator/skills/curate-troubleshooting.md +63 -0
- package/template/workers/dev-team/knowledge-curator/skills/process-learnings.md +61 -0
- package/template/workers/dev-team/knowledge-curator/skills/sync-documentation.md +76 -0
- package/template/workers/dev-team/knowledge-curator/skills/update-patterns.md +63 -0
- package/template/workers/dev-team/knowledge-curator/src/index.ts +53 -0
- package/template/workers/dev-team/knowledge-curator/src/mcp-server.ts +92 -0
- package/template/workers/dev-team/knowledge-curator/tsconfig.json +19 -0
- package/template/workers/dev-team/knowledge-curator/worker.yaml +80 -0
- package/template/workers/dev-team/motion-designer/package.json +22 -0
- package/template/workers/dev-team/motion-designer/skills/add-animation.md +25 -0
- package/template/workers/dev-team/motion-designer/skills/generate-image.md +36 -0
- package/template/workers/dev-team/motion-designer/src/index.ts +63 -0
- package/template/workers/dev-team/motion-designer/src/mcp-server.ts +79 -0
- package/template/workers/dev-team/motion-designer/tsconfig.json +18 -0
- package/template/workers/dev-team/motion-designer/worker.yaml +84 -0
- package/template/workers/dev-team/product-planner/queue.json +4 -0
- package/template/workers/dev-team/product-planner/worker.yaml +220 -0
- package/template/workers/dev-team/project-manager/package-lock.json +1252 -0
- package/template/workers/dev-team/project-manager/package.json +27 -0
- package/template/workers/dev-team/project-manager/skills/create-prd.md +66 -0
- package/template/workers/dev-team/project-manager/skills/next-issue.md +51 -0
- package/template/workers/dev-team/project-manager/skills/project-status.md +59 -0
- package/template/workers/dev-team/project-manager/skills/update-learnings.md +65 -0
- package/template/workers/dev-team/project-manager/src/index.ts +54 -0
- package/template/workers/dev-team/project-manager/src/mcp-server.ts +207 -0
- package/template/workers/dev-team/project-manager/src/skills/create-prd.ts +86 -0
- package/template/workers/dev-team/project-manager/src/skills/next-issue.ts +137 -0
- package/template/workers/dev-team/project-manager/src/skills/project-status.ts +131 -0
- package/template/workers/dev-team/project-manager/src/skills/update-learnings.ts +94 -0
- package/template/workers/dev-team/project-manager/tsconfig.json +19 -0
- package/template/workers/dev-team/project-manager/worker.yaml +96 -0
- package/template/workers/dev-team/qa-tester/package.json +24 -0
- package/template/workers/dev-team/qa-tester/skills/create-demo-account.md +36 -0
- package/template/workers/dev-team/qa-tester/skills/run-tests.md +36 -0
- package/template/workers/dev-team/qa-tester/skills/write-test.md +27 -0
- package/template/workers/dev-team/qa-tester/src/index.ts +61 -0
- package/template/workers/dev-team/qa-tester/src/mcp-server.ts +88 -0
- package/template/workers/dev-team/qa-tester/tsconfig.json +18 -0
- package/template/workers/dev-team/qa-tester/worker.yaml +116 -0
- package/template/workers/dev-team/task-executor/package-lock.json +1252 -0
- package/template/workers/dev-team/task-executor/package.json +27 -0
- package/template/workers/dev-team/task-executor/skills/analyze-issue.md +101 -0
- package/template/workers/dev-team/task-executor/skills/execute.md +133 -0
- package/template/workers/dev-team/task-executor/skills/report-learnings.md +106 -0
- package/template/workers/dev-team/task-executor/skills/validate-completion.md +121 -0
- package/template/workers/dev-team/task-executor/src/index.ts +54 -0
- package/template/workers/dev-team/task-executor/src/mcp-server.ts +139 -0
- package/template/workers/dev-team/task-executor/src/skills/analyze-issue.ts +219 -0
- package/template/workers/dev-team/task-executor/src/skills/execute.ts +132 -0
- package/template/workers/dev-team/task-executor/src/skills/report-learnings.ts +119 -0
- package/template/workers/dev-team/task-executor/src/skills/validate-completion.ts +142 -0
- package/template/workers/dev-team/task-executor/tsconfig.json +19 -0
- package/template/workers/dev-team/task-executor/worker.yaml +110 -0
- package/template/workers/registry.yaml +171 -0
- package/template/workers/security-scanner/README.md +73 -0
- package/template/workers/security-scanner/skills/pre-deploy-check.md +205 -0
- package/template/workers/security-scanner/worker.yaml +26 -0
- package/template/workspace/checkpoints/.gitkeep +0 -0
- package/template/workspace/content-ideas/inbox.jsonl +0 -0
- package/template/workspace/drafts/.gitkeep +0 -0
- package/template/workspace/learnings/.gitkeep +3 -0
- package/template/workspace/orchestrator/.gitkeep +0 -0
- package/template/workspace/ralph-test/COMPLETE.md +18 -0
- package/template/workspace/ralph-test/hello.txt +2 -0
- package/template/workspace/reports/.gitkeep +0 -0
- package/template/workspace/scratch/.gitkeep +0 -0
- package/template/workspace/threads/.gitkeep +3 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { Command } from 'commander';
|
|
3
|
+
|
|
4
|
+
const program = new Command();
|
|
5
|
+
|
|
6
|
+
program
|
|
7
|
+
.name('knowledge-curator')
|
|
8
|
+
.description('Process learnings, update knowledge bases, maintain documentation')
|
|
9
|
+
.version('1.0.0');
|
|
10
|
+
|
|
11
|
+
program
|
|
12
|
+
.command('process-learnings')
|
|
13
|
+
.description('Process learnings from completed tasks')
|
|
14
|
+
.requiredOption('--learnings <json>', 'Learnings JSON')
|
|
15
|
+
.option('--project <name>', 'Source project')
|
|
16
|
+
.option('--worker <id>', 'Source worker')
|
|
17
|
+
.option('--task <id>', 'Source task ID')
|
|
18
|
+
.action(async (options) => {
|
|
19
|
+
console.log('process-learnings:', options);
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
program
|
|
23
|
+
.command('update-patterns')
|
|
24
|
+
.description('Update or create reusable patterns')
|
|
25
|
+
.requiredOption('--category <category>', 'Category: backend|frontend|database|infra|testing|security')
|
|
26
|
+
.option('--pattern <name>', 'Specific pattern to update')
|
|
27
|
+
.option('--content <markdown>', 'Pattern content')
|
|
28
|
+
.action(async (options) => {
|
|
29
|
+
console.log('update-patterns:', options);
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
program
|
|
33
|
+
.command('curate-troubleshooting')
|
|
34
|
+
.description('Add or update troubleshooting entries')
|
|
35
|
+
.requiredOption('--issue <description>', 'Issue description')
|
|
36
|
+
.option('--solution <description>', 'Solution that worked')
|
|
37
|
+
.option('--category <category>', 'Issue category')
|
|
38
|
+
.option('--tags <tags>', 'Comma-separated tags')
|
|
39
|
+
.action(async (options) => {
|
|
40
|
+
console.log('curate-troubleshooting:', options);
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
program
|
|
44
|
+
.command('sync-documentation')
|
|
45
|
+
.description('Sync and update documentation')
|
|
46
|
+
.requiredOption('--scope <scope>', 'Scope: worker|project|knowledge|all')
|
|
47
|
+
.option('--target <path>', 'Specific file to update')
|
|
48
|
+
.option('--dry-run', 'Preview changes without writing')
|
|
49
|
+
.action(async (options) => {
|
|
50
|
+
console.log('sync-documentation:', options);
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
program.parse();
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { Server } from '@modelcontextprotocol/sdk/server/index.js';
|
|
3
|
+
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
|
|
4
|
+
import { CallToolRequestSchema, ListToolsRequestSchema } from '@modelcontextprotocol/sdk/types.js';
|
|
5
|
+
|
|
6
|
+
const server = new Server(
|
|
7
|
+
{ name: 'knowledge-curator', version: '1.0.0' },
|
|
8
|
+
{ capabilities: { tools: {} } }
|
|
9
|
+
);
|
|
10
|
+
|
|
11
|
+
server.setRequestHandler(ListToolsRequestSchema, async () => ({
|
|
12
|
+
tools: [
|
|
13
|
+
{
|
|
14
|
+
name: 'process_learnings',
|
|
15
|
+
description: 'Process learnings from completed tasks and route to appropriate locations',
|
|
16
|
+
inputSchema: {
|
|
17
|
+
type: 'object',
|
|
18
|
+
properties: {
|
|
19
|
+
learnings: { type: 'object', description: 'Learnings JSON object' },
|
|
20
|
+
project: { type: 'string', description: 'Source project name' },
|
|
21
|
+
worker: { type: 'string', description: 'Source worker ID' },
|
|
22
|
+
task: { type: 'string', description: 'Source task ID' },
|
|
23
|
+
},
|
|
24
|
+
required: ['learnings'],
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
name: 'update_patterns',
|
|
29
|
+
description: 'Update or create reusable patterns in the knowledge base',
|
|
30
|
+
inputSchema: {
|
|
31
|
+
type: 'object',
|
|
32
|
+
properties: {
|
|
33
|
+
category: { type: 'string', enum: ['backend', 'frontend', 'database', 'infra', 'testing', 'security'], description: 'Pattern category' },
|
|
34
|
+
pattern: { type: 'string', description: 'Specific pattern name' },
|
|
35
|
+
content: { type: 'string', description: 'Pattern content in markdown' },
|
|
36
|
+
},
|
|
37
|
+
required: ['category'],
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
name: 'curate_troubleshooting',
|
|
42
|
+
description: 'Add or update troubleshooting entries for common issues',
|
|
43
|
+
inputSchema: {
|
|
44
|
+
type: 'object',
|
|
45
|
+
properties: {
|
|
46
|
+
issue: { type: 'string', description: 'Issue description' },
|
|
47
|
+
solution: { type: 'string', description: 'Solution that worked' },
|
|
48
|
+
category: { type: 'string', enum: ['build', 'runtime', 'database', 'network', 'auth', 'deploy', 'performance'], description: 'Issue category' },
|
|
49
|
+
tags: { type: 'array', items: { type: 'string' }, description: 'Tags for searchability' },
|
|
50
|
+
},
|
|
51
|
+
required: ['issue'],
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
name: 'sync_documentation',
|
|
56
|
+
description: 'Sync and update documentation across the HQ system',
|
|
57
|
+
inputSchema: {
|
|
58
|
+
type: 'object',
|
|
59
|
+
properties: {
|
|
60
|
+
scope: { type: 'string', enum: ['worker', 'project', 'knowledge', 'all'], description: 'Documentation scope' },
|
|
61
|
+
target: { type: 'string', description: 'Specific file to update' },
|
|
62
|
+
dry_run: { type: 'boolean', description: 'Preview changes without writing' },
|
|
63
|
+
},
|
|
64
|
+
required: ['scope'],
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
name: 'search_knowledge',
|
|
69
|
+
description: 'Search the knowledge base for relevant information',
|
|
70
|
+
inputSchema: {
|
|
71
|
+
type: 'object',
|
|
72
|
+
properties: {
|
|
73
|
+
query: { type: 'string', description: 'Search query' },
|
|
74
|
+
scope: { type: 'string', enum: ['patterns', 'troubleshooting', 'workflows', 'all'], description: 'Search scope' },
|
|
75
|
+
},
|
|
76
|
+
required: ['query'],
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
}));
|
|
81
|
+
|
|
82
|
+
server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
83
|
+
const { name, arguments: args } = request.params;
|
|
84
|
+
return { content: [{ type: 'text', text: `Tool ${name} called with: ${JSON.stringify(args)}` }] };
|
|
85
|
+
});
|
|
86
|
+
|
|
87
|
+
async function main() {
|
|
88
|
+
const transport = new StdioServerTransport();
|
|
89
|
+
await server.connect(transport);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
main().catch(console.error);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ES2022",
|
|
4
|
+
"module": "NodeNext",
|
|
5
|
+
"moduleResolution": "NodeNext",
|
|
6
|
+
"lib": ["ES2022"],
|
|
7
|
+
"outDir": "./dist",
|
|
8
|
+
"rootDir": "./src",
|
|
9
|
+
"strict": true,
|
|
10
|
+
"esModuleInterop": true,
|
|
11
|
+
"skipLibCheck": true,
|
|
12
|
+
"forceConsistentCasingInFileNames": true,
|
|
13
|
+
"resolveJsonModule": true,
|
|
14
|
+
"declaration": true,
|
|
15
|
+
"sourceMap": true
|
|
16
|
+
},
|
|
17
|
+
"include": ["src/**/*"],
|
|
18
|
+
"exclude": ["node_modules", "dist"]
|
|
19
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
worker:
|
|
2
|
+
id: knowledge-curator
|
|
3
|
+
name: "Knowledge Curator"
|
|
4
|
+
description: "Process learnings, update knowledge bases, maintain documentation"
|
|
5
|
+
type: CodeWorker
|
|
6
|
+
version: "1.0"
|
|
7
|
+
team: dev-team
|
|
8
|
+
|
|
9
|
+
execution:
|
|
10
|
+
mode: on_demand
|
|
11
|
+
max_runtime: 10m
|
|
12
|
+
retry_attempts: 1
|
|
13
|
+
spawn_method: task_tool
|
|
14
|
+
|
|
15
|
+
context:
|
|
16
|
+
base:
|
|
17
|
+
- workers/public/dev-team/knowledge-curator/skills/
|
|
18
|
+
- knowledge/public/dev-team/
|
|
19
|
+
- knowledge/public/workers/
|
|
20
|
+
dynamic:
|
|
21
|
+
- pattern: "projects/{project}/learnings/"
|
|
22
|
+
when: "task.has_project"
|
|
23
|
+
- pattern: "workers/{worker}/knowledge/"
|
|
24
|
+
when: "task.has_worker"
|
|
25
|
+
- pattern: "companies/{company}/knowledge/"
|
|
26
|
+
when: "task.has_company"
|
|
27
|
+
exclude:
|
|
28
|
+
- node_modules/
|
|
29
|
+
- dist/
|
|
30
|
+
- "*.log"
|
|
31
|
+
- repos/
|
|
32
|
+
|
|
33
|
+
skills:
|
|
34
|
+
- id: process-learnings
|
|
35
|
+
file: skills/process-learnings.md
|
|
36
|
+
- id: update-patterns
|
|
37
|
+
file: skills/update-patterns.md
|
|
38
|
+
- id: curate-troubleshooting
|
|
39
|
+
file: skills/curate-troubleshooting.md
|
|
40
|
+
- id: sync-documentation
|
|
41
|
+
file: skills/sync-documentation.md
|
|
42
|
+
|
|
43
|
+
verification:
|
|
44
|
+
post_execute:
|
|
45
|
+
- check: markdown_lint
|
|
46
|
+
command: npx markdownlint-cli2 "**/*.md"
|
|
47
|
+
approval_required: true
|
|
48
|
+
|
|
49
|
+
external_skills:
|
|
50
|
+
- vercel/writing-clearly-and-concisely
|
|
51
|
+
|
|
52
|
+
mcp:
|
|
53
|
+
server:
|
|
54
|
+
command: node
|
|
55
|
+
args: [dist/mcp-server.js]
|
|
56
|
+
tools:
|
|
57
|
+
- process_learnings
|
|
58
|
+
- update_patterns
|
|
59
|
+
- curate_troubleshooting
|
|
60
|
+
- sync_documentation
|
|
61
|
+
- search_knowledge
|
|
62
|
+
|
|
63
|
+
# State Machine (Loom pattern)
|
|
64
|
+
state_machine:
|
|
65
|
+
enabled: true
|
|
66
|
+
max_retries: 1
|
|
67
|
+
hooks:
|
|
68
|
+
post_execute:
|
|
69
|
+
- auto_checkpoint
|
|
70
|
+
- log_metrics
|
|
71
|
+
on_error:
|
|
72
|
+
- log_error
|
|
73
|
+
- checkpoint_error_state
|
|
74
|
+
|
|
75
|
+
reporting:
|
|
76
|
+
on_complete:
|
|
77
|
+
- log_updates
|
|
78
|
+
metrics:
|
|
79
|
+
- patterns_added
|
|
80
|
+
- docs_updated
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@hq/motion-designer",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Animations, transitions, and visual polish",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"bin": { "motion-designer": "dist/index.js" },
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "tsc",
|
|
9
|
+
"typecheck": "tsc --noEmit",
|
|
10
|
+
"dev": "ts-node src/index.ts",
|
|
11
|
+
"mcp": "node dist/mcp-server.js"
|
|
12
|
+
},
|
|
13
|
+
"dependencies": {
|
|
14
|
+
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
15
|
+
"commander": "^12.1.0"
|
|
16
|
+
},
|
|
17
|
+
"devDependencies": {
|
|
18
|
+
"@types/node": "^22.10.0",
|
|
19
|
+
"typescript": "^5.7.2",
|
|
20
|
+
"ts-node": "^10.9.2"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# add-animation
|
|
2
|
+
|
|
3
|
+
Add animation to a component.
|
|
4
|
+
|
|
5
|
+
## Arguments
|
|
6
|
+
|
|
7
|
+
`$ARGUMENTS` = `--component <name>` (required)
|
|
8
|
+
|
|
9
|
+
Optional:
|
|
10
|
+
- `--repo <path>` - Target repository
|
|
11
|
+
- `--type <entrance|exit|hover|loop>` - Animation type
|
|
12
|
+
- `--library <framer|gsap|css>` - Animation library
|
|
13
|
+
|
|
14
|
+
## Process
|
|
15
|
+
|
|
16
|
+
1. Analyze component structure
|
|
17
|
+
2. Design animation approach
|
|
18
|
+
3. Implement animation
|
|
19
|
+
4. Test performance
|
|
20
|
+
5. Present for approval
|
|
21
|
+
|
|
22
|
+
## Output
|
|
23
|
+
|
|
24
|
+
- Updated component with animation
|
|
25
|
+
- Animation configuration file (if needed)
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# generate-image
|
|
2
|
+
|
|
3
|
+
Generate image using gnb (gemini-nano-banana).
|
|
4
|
+
|
|
5
|
+
## Arguments
|
|
6
|
+
|
|
7
|
+
`$ARGUMENTS` = `--prompt <description>` (required)
|
|
8
|
+
|
|
9
|
+
Optional:
|
|
10
|
+
- `--aspect <ratio>` - Aspect ratio: 1:1, 16:9, 9:16, 4:3
|
|
11
|
+
- `--variants <n>` - Number of variants (max 10)
|
|
12
|
+
- `--output <dir>` - Output directory
|
|
13
|
+
- `--type <logo|social|thumbnail>` - Preset type
|
|
14
|
+
|
|
15
|
+
## Process
|
|
16
|
+
|
|
17
|
+
1. Prepare prompt
|
|
18
|
+
2. Get human approval for prompt
|
|
19
|
+
3. Run gnb generate
|
|
20
|
+
4. Review generated images
|
|
21
|
+
5. Select best variant
|
|
22
|
+
|
|
23
|
+
## gnb Commands
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
gnb generate "prompt" --aspect 16:9 --variants 3
|
|
27
|
+
gnb logo "Brand Name" --style modern
|
|
28
|
+
gnb social "Post text" --platform instagram
|
|
29
|
+
gnb thumbnail "Video title"
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Human-in-the-loop
|
|
33
|
+
|
|
34
|
+
- Approve prompt before generation
|
|
35
|
+
- Select from generated variants
|
|
36
|
+
- Confirm final image
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { Command } from 'commander';
|
|
3
|
+
import { execSync } from 'child_process';
|
|
4
|
+
|
|
5
|
+
const program = new Command();
|
|
6
|
+
|
|
7
|
+
program
|
|
8
|
+
.name('motion-designer')
|
|
9
|
+
.description('Animations, transitions, and visual polish')
|
|
10
|
+
.version('1.0.0');
|
|
11
|
+
|
|
12
|
+
program
|
|
13
|
+
.command('add-animation')
|
|
14
|
+
.description('Add animation to component')
|
|
15
|
+
.requiredOption('--component <name>', 'Component name')
|
|
16
|
+
.option('--repo <path>', 'Target repository')
|
|
17
|
+
.option('--type <type>', 'Animation type: entrance|exit|hover|loop')
|
|
18
|
+
.option('--library <lib>', 'Animation library: framer|gsap|css')
|
|
19
|
+
.action(async (options) => {
|
|
20
|
+
console.log('add-animation:', options);
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
program
|
|
24
|
+
.command('add-transition')
|
|
25
|
+
.description('Add page/element transition')
|
|
26
|
+
.requiredOption('--target <element>', 'Target element or page')
|
|
27
|
+
.option('--repo <path>', 'Target repository')
|
|
28
|
+
.action(async (options) => {
|
|
29
|
+
console.log('add-transition:', options);
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
program
|
|
33
|
+
.command('polish-component')
|
|
34
|
+
.description('Polish visual design of component')
|
|
35
|
+
.requiredOption('--component <name>', 'Component name')
|
|
36
|
+
.option('--repo <path>', 'Target repository')
|
|
37
|
+
.action(async (options) => {
|
|
38
|
+
console.log('polish-component:', options);
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
program
|
|
42
|
+
.command('generate-image')
|
|
43
|
+
.description('Generate image via gnb')
|
|
44
|
+
.requiredOption('--prompt <text>', 'Image prompt')
|
|
45
|
+
.option('--aspect <ratio>', 'Aspect ratio: 1:1, 16:9, 9:16, 4:3')
|
|
46
|
+
.option('--variants <n>', 'Number of variants (max 10)')
|
|
47
|
+
.option('--output <dir>', 'Output directory')
|
|
48
|
+
.option('--type <preset>', 'Preset type: logo|social|thumbnail')
|
|
49
|
+
.action(async (options) => {
|
|
50
|
+
console.log('generate-image via gnb:');
|
|
51
|
+
console.log(`Prompt: "${options.prompt}"`);
|
|
52
|
+
console.log(`Aspect: ${options.aspect || '1:1'}`);
|
|
53
|
+
console.log(`Variants: ${options.variants || 1}`);
|
|
54
|
+
|
|
55
|
+
// Build gnb command
|
|
56
|
+
const cmd = `gnb generate "${options.prompt}"${options.aspect ? ` --aspect ${options.aspect}` : ''}${options.variants ? ` --variants ${options.variants}` : ''}${options.output ? ` --output ${options.output}` : ''}`;
|
|
57
|
+
|
|
58
|
+
console.log(`\nCommand: ${cmd}`);
|
|
59
|
+
console.log('\n[Human approval required]');
|
|
60
|
+
console.log('Approve image generation? [y/n/modify]');
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
program.parse();
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { Server } from '@modelcontextprotocol/sdk/server/index.js';
|
|
3
|
+
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
|
|
4
|
+
import { CallToolRequestSchema, ListToolsRequestSchema } from '@modelcontextprotocol/sdk/types.js';
|
|
5
|
+
|
|
6
|
+
const server = new Server(
|
|
7
|
+
{ name: 'motion-designer', version: '1.0.0' },
|
|
8
|
+
{ capabilities: { tools: {} } }
|
|
9
|
+
);
|
|
10
|
+
|
|
11
|
+
server.setRequestHandler(ListToolsRequestSchema, async () => ({
|
|
12
|
+
tools: [
|
|
13
|
+
{
|
|
14
|
+
name: 'add_animation',
|
|
15
|
+
description: 'Add animation to component',
|
|
16
|
+
inputSchema: {
|
|
17
|
+
type: 'object',
|
|
18
|
+
properties: {
|
|
19
|
+
component: { type: 'string', description: 'Component name' },
|
|
20
|
+
repo: { type: 'string', description: 'Target repository' },
|
|
21
|
+
type: { type: 'string', enum: ['entrance', 'exit', 'hover', 'loop'], description: 'Animation type' },
|
|
22
|
+
library: { type: 'string', enum: ['framer', 'gsap', 'css'], description: 'Animation library' },
|
|
23
|
+
},
|
|
24
|
+
required: ['component'],
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
name: 'add_transition',
|
|
29
|
+
description: 'Add page/element transition',
|
|
30
|
+
inputSchema: {
|
|
31
|
+
type: 'object',
|
|
32
|
+
properties: {
|
|
33
|
+
target: { type: 'string', description: 'Target element or page' },
|
|
34
|
+
repo: { type: 'string', description: 'Target repository' },
|
|
35
|
+
},
|
|
36
|
+
required: ['target'],
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
name: 'polish_component',
|
|
41
|
+
description: 'Polish visual design of component',
|
|
42
|
+
inputSchema: {
|
|
43
|
+
type: 'object',
|
|
44
|
+
properties: {
|
|
45
|
+
component: { type: 'string', description: 'Component name' },
|
|
46
|
+
repo: { type: 'string', description: 'Target repository' },
|
|
47
|
+
},
|
|
48
|
+
required: ['component'],
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
name: 'generate_image',
|
|
53
|
+
description: 'Generate image via gnb (gemini-nano-banana)',
|
|
54
|
+
inputSchema: {
|
|
55
|
+
type: 'object',
|
|
56
|
+
properties: {
|
|
57
|
+
prompt: { type: 'string', description: 'Image prompt' },
|
|
58
|
+
aspect: { type: 'string', enum: ['1:1', '16:9', '9:16', '4:3'], description: 'Aspect ratio' },
|
|
59
|
+
variants: { type: 'number', description: 'Number of variants (max 10)' },
|
|
60
|
+
output: { type: 'string', description: 'Output directory' },
|
|
61
|
+
type: { type: 'string', enum: ['logo', 'social', 'thumbnail'], description: 'Preset type' },
|
|
62
|
+
},
|
|
63
|
+
required: ['prompt'],
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
],
|
|
67
|
+
}));
|
|
68
|
+
|
|
69
|
+
server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
70
|
+
const { name, arguments: args } = request.params;
|
|
71
|
+
return { content: [{ type: 'text', text: `Tool ${name} called with: ${JSON.stringify(args)}` }] };
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
async function main() {
|
|
75
|
+
const transport = new StdioServerTransport();
|
|
76
|
+
await server.connect(transport);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
main().catch(console.error);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ES2022",
|
|
4
|
+
"module": "commonjs",
|
|
5
|
+
"lib": ["ES2022"],
|
|
6
|
+
"outDir": "./dist",
|
|
7
|
+
"rootDir": "./src",
|
|
8
|
+
"strict": true,
|
|
9
|
+
"esModuleInterop": true,
|
|
10
|
+
"skipLibCheck": true,
|
|
11
|
+
"forceConsistentCasingInFileNames": true,
|
|
12
|
+
"resolveJsonModule": true,
|
|
13
|
+
"declaration": true,
|
|
14
|
+
"sourceMap": true
|
|
15
|
+
},
|
|
16
|
+
"include": ["src/**/*"],
|
|
17
|
+
"exclude": ["node_modules", "dist"]
|
|
18
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
worker:
|
|
2
|
+
id: motion-designer
|
|
3
|
+
name: "Motion Designer"
|
|
4
|
+
type: CodeWorker
|
|
5
|
+
version: "1.0"
|
|
6
|
+
|
|
7
|
+
execution:
|
|
8
|
+
mode: on_demand
|
|
9
|
+
max_runtime: 20m
|
|
10
|
+
retry_attempts: 1
|
|
11
|
+
|
|
12
|
+
context:
|
|
13
|
+
base:
|
|
14
|
+
- workers/public/dev-team/motion-designer/
|
|
15
|
+
- workers/public/dev-team/motion-designer/skills/
|
|
16
|
+
- knowledge/public/dev-team/patterns/motion/
|
|
17
|
+
dynamic:
|
|
18
|
+
- pattern: "{target_repo}/src/components/"
|
|
19
|
+
when: always
|
|
20
|
+
exclude:
|
|
21
|
+
- node_modules/
|
|
22
|
+
- dist/
|
|
23
|
+
|
|
24
|
+
verification:
|
|
25
|
+
post_execute:
|
|
26
|
+
- check: typescript
|
|
27
|
+
command: npm run typecheck
|
|
28
|
+
approval_required: true
|
|
29
|
+
|
|
30
|
+
output:
|
|
31
|
+
destination: workspace/reports/dev-team/
|
|
32
|
+
format: both
|
|
33
|
+
naming: "{date}-motion-designer-{task}.{ext}"
|
|
34
|
+
|
|
35
|
+
mcp:
|
|
36
|
+
server:
|
|
37
|
+
command: node
|
|
38
|
+
args:
|
|
39
|
+
- dist/mcp-server.js
|
|
40
|
+
cwd: workers/public/dev-team/motion-designer
|
|
41
|
+
tools:
|
|
42
|
+
- add_animation
|
|
43
|
+
- add_transition
|
|
44
|
+
- polish_component
|
|
45
|
+
- generate_image
|
|
46
|
+
|
|
47
|
+
# State Machine (Loom pattern)
|
|
48
|
+
state_machine:
|
|
49
|
+
enabled: true
|
|
50
|
+
max_retries: 1
|
|
51
|
+
hooks:
|
|
52
|
+
post_execute:
|
|
53
|
+
- auto_checkpoint
|
|
54
|
+
- log_metrics
|
|
55
|
+
on_error:
|
|
56
|
+
- log_error
|
|
57
|
+
- checkpoint_error_state
|
|
58
|
+
|
|
59
|
+
instructions: |
|
|
60
|
+
# Motion Designer
|
|
61
|
+
|
|
62
|
+
Animations, transitions, visual polish, and image generation.
|
|
63
|
+
|
|
64
|
+
## Skills
|
|
65
|
+
|
|
66
|
+
| Skill | Description |
|
|
67
|
+
|-------|-------------|
|
|
68
|
+
| add-animation | Add animation to component |
|
|
69
|
+
| add-transition | Add page/element transition |
|
|
70
|
+
| polish-component | Polish visual design |
|
|
71
|
+
| generate-image | Generate image via gnb |
|
|
72
|
+
|
|
73
|
+
## Tools
|
|
74
|
+
|
|
75
|
+
- Framer Motion
|
|
76
|
+
- Three.js
|
|
77
|
+
- GSAP
|
|
78
|
+
- gnb (gemini-nano-banana) for image generation
|
|
79
|
+
|
|
80
|
+
## Human-in-the-loop
|
|
81
|
+
|
|
82
|
+
- Approve animation design
|
|
83
|
+
- Review performance impact
|
|
84
|
+
- Confirm image generation prompts
|