@pennyfarthing/core 10.0.0 → 10.0.2
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 +14 -0
- package/package.json +22 -12
- package/pennyfarthing-dist/agents/README.md +348 -0
- package/pennyfarthing-dist/agents/architect.md +180 -0
- package/pennyfarthing-dist/agents/dev.md +169 -0
- package/pennyfarthing-dist/agents/devops.md +203 -0
- package/pennyfarthing-dist/agents/handoff.md +235 -0
- package/pennyfarthing-dist/agents/orchestrator.md +182 -0
- package/pennyfarthing-dist/agents/pm.md +152 -0
- package/pennyfarthing-dist/agents/reviewer-preflight.md +129 -0
- package/pennyfarthing-dist/agents/reviewer.md +197 -0
- package/pennyfarthing-dist/agents/sm-file-summary.md +79 -0
- package/pennyfarthing-dist/agents/sm-finish.md +82 -0
- package/pennyfarthing-dist/agents/sm-handoff.md +129 -0
- package/pennyfarthing-dist/agents/sm-setup.md +251 -0
- package/pennyfarthing-dist/agents/sm.md +298 -0
- package/pennyfarthing-dist/agents/tea.md +161 -0
- package/pennyfarthing-dist/agents/tech-writer.md +226 -0
- package/pennyfarthing-dist/agents/testing-runner.md +184 -0
- package/pennyfarthing-dist/agents/ux-designer.md +236 -0
- package/pennyfarthing-dist/agents/workflow-status-check.md +96 -0
- package/pennyfarthing-dist/commands/architect.md +9 -0
- package/pennyfarthing-dist/commands/benchmark-control.md +69 -0
- package/pennyfarthing-dist/commands/benchmark.md +485 -0
- package/pennyfarthing-dist/commands/brainstorming.md +91 -0
- package/pennyfarthing-dist/commands/check.md +156 -0
- package/pennyfarthing-dist/commands/chore.md +218 -0
- package/pennyfarthing-dist/commands/close-epic.md +139 -0
- package/pennyfarthing-dist/commands/continue-session.md +218 -0
- package/pennyfarthing-dist/commands/create-branches-from-story.md +358 -0
- package/pennyfarthing-dist/commands/create-theme.md +29 -0
- package/pennyfarthing-dist/commands/dev.md +9 -0
- package/pennyfarthing-dist/commands/devops.md +9 -0
- package/pennyfarthing-dist/commands/fix-blocker.md +22 -0
- package/pennyfarthing-dist/commands/git-cleanup.md +57 -0
- package/pennyfarthing-dist/commands/health-check.md +143 -0
- package/pennyfarthing-dist/commands/help.md +264 -0
- package/pennyfarthing-dist/commands/job-fair.md +102 -0
- package/pennyfarthing-dist/commands/list-themes.md +21 -0
- package/pennyfarthing-dist/commands/new-work.md +23 -0
- package/pennyfarthing-dist/commands/orchestrator.md +9 -0
- package/pennyfarthing-dist/commands/parallel-work.md +73 -0
- package/pennyfarthing-dist/commands/party-mode.md +77 -0
- package/pennyfarthing-dist/commands/patch.md +210 -0
- package/pennyfarthing-dist/commands/permissions.md +193 -0
- package/pennyfarthing-dist/commands/pm.md +9 -0
- package/pennyfarthing-dist/commands/prime.md +136 -0
- package/pennyfarthing-dist/commands/release.md +74 -0
- package/pennyfarthing-dist/commands/repo-status.md +49 -0
- package/pennyfarthing-dist/commands/retro.md +200 -0
- package/pennyfarthing-dist/commands/reviewer.md +9 -0
- package/pennyfarthing-dist/commands/run-ci.md +116 -0
- package/pennyfarthing-dist/commands/set-theme.md +56 -0
- package/pennyfarthing-dist/commands/setup.md +65 -0
- package/pennyfarthing-dist/commands/show-theme.md +21 -0
- package/pennyfarthing-dist/commands/sm.md +9 -0
- package/pennyfarthing-dist/commands/solo.md +447 -0
- package/pennyfarthing-dist/commands/sprint-planning.md +109 -0
- package/pennyfarthing-dist/commands/sprint.md +142 -0
- package/pennyfarthing-dist/commands/standalone.md +194 -0
- package/pennyfarthing-dist/commands/start-epic.md +168 -0
- package/pennyfarthing-dist/commands/sync-epic-to-jira.md +184 -0
- package/pennyfarthing-dist/commands/sync-work-with-sprint.md +373 -0
- package/pennyfarthing-dist/commands/tea.md +9 -0
- package/pennyfarthing-dist/commands/tech-writer.md +9 -0
- package/pennyfarthing-dist/commands/theme-maker.md +676 -0
- package/pennyfarthing-dist/commands/update-domain-docs.md +83 -0
- package/pennyfarthing-dist/commands/ux-designer.md +9 -0
- package/pennyfarthing-dist/commands/work.md +25 -0
- package/pennyfarthing-dist/commands/workflow.md +21 -0
- package/pennyfarthing-dist/guides/agent-behavior.md +92 -0
- package/pennyfarthing-dist/guides/agent-coordination.md +475 -0
- package/pennyfarthing-dist/guides/agent-tag-taxonomy.md +432 -0
- package/pennyfarthing-dist/guides/agent-template-strategic.md +148 -0
- package/pennyfarthing-dist/guides/agent-template-tactical.md +162 -0
- package/pennyfarthing-dist/guides/hooks.md +230 -0
- package/pennyfarthing-dist/guides/measurement-framework.md +210 -0
- package/pennyfarthing-dist/guides/patterns/approval-gates-pattern.md +766 -0
- package/pennyfarthing-dist/guides/patterns/fan-out-fan-in-pattern.md +574 -0
- package/pennyfarthing-dist/guides/patterns/helper-delegation-pattern.md +488 -0
- package/pennyfarthing-dist/guides/patterns/tdd-flow-pattern.md +402 -0
- package/pennyfarthing-dist/guides/permission-protocol.md +188 -0
- package/pennyfarthing-dist/guides/persona-loading.md +46 -0
- package/pennyfarthing-dist/guides/prompt-patterns.md +338 -0
- package/pennyfarthing-dist/guides/scale-levels.md +114 -0
- package/pennyfarthing-dist/guides/session-artifacts.md +193 -0
- package/pennyfarthing-dist/guides/session-schema.md +346 -0
- package/pennyfarthing-dist/guides/skill-schema.md +412 -0
- package/pennyfarthing-dist/guides/workflow-schema.md +257 -0
- package/pennyfarthing-dist/guides/workflow-step-schema.md +512 -0
- package/pennyfarthing-dist/guides/worktree-mode.md +113 -0
- package/pennyfarthing-dist/guides/xml-tags.md +627 -0
- package/pennyfarthing-dist/output-styles/teaching.md +33 -0
- package/pennyfarthing-dist/output-styles/terse.md +20 -0
- package/pennyfarthing-dist/output-styles/verbose.md +28 -0
- package/pennyfarthing-dist/personas/themes/a-team.yaml +331 -0
- package/pennyfarthing-dist/personas/themes/alice-in-wonderland.yaml +324 -0
- package/pennyfarthing-dist/personas/themes/battlestar-galactica.yaml +282 -0
- package/pennyfarthing-dist/personas/themes/blade-runner.yaml +289 -0
- package/pennyfarthing-dist/personas/themes/catch-22.yaml +304 -0
- package/pennyfarthing-dist/personas/themes/control.yaml +201 -0
- package/pennyfarthing-dist/personas/themes/cowboy-bebop.yaml +315 -0
- package/pennyfarthing-dist/personas/themes/discworld.yaml +334 -0
- package/pennyfarthing-dist/personas/themes/doctor-who.yaml +284 -0
- package/pennyfarthing-dist/personas/themes/dune.yaml +301 -0
- package/pennyfarthing-dist/personas/themes/firefly.yaml +320 -0
- package/pennyfarthing-dist/personas/themes/game-of-thrones.yaml +284 -0
- package/pennyfarthing-dist/personas/themes/harry-potter.yaml +316 -0
- package/pennyfarthing-dist/personas/themes/hitchhikers-guide.yaml +323 -0
- package/pennyfarthing-dist/personas/themes/lord-of-the-rings.yaml +326 -0
- package/pennyfarthing-dist/personas/themes/mad-max.yaml +349 -0
- package/pennyfarthing-dist/personas/themes/mash.yaml +329 -0
- package/pennyfarthing-dist/personas/themes/princess-bride.yaml +344 -0
- package/pennyfarthing-dist/personas/themes/sandman.yaml +282 -0
- package/pennyfarthing-dist/personas/themes/star-trek-tng.yaml +358 -0
- package/pennyfarthing-dist/personas/themes/star-wars.yaml +297 -0
- package/pennyfarthing-dist/personas/themes/the-expanse.yaml +337 -0
- package/pennyfarthing-dist/personas/themes/the-matrix.yaml +342 -0
- package/pennyfarthing-dist/personas/themes/watchmen.yaml +285 -0
- package/pennyfarthing-dist/personas/themes/west-wing.yaml +285 -0
- package/pennyfarthing-dist/personas/themes/x-files.yaml +296 -0
- package/pennyfarthing-dist/scripts/README.md +87 -0
- package/pennyfarthing-dist/scripts/core/README.md +25 -0
- package/pennyfarthing-dist/scripts/core/agent-session.sh +390 -0
- package/pennyfarthing-dist/scripts/core/check-context.sh +194 -0
- package/pennyfarthing-dist/scripts/core/handoff-marker.sh +112 -0
- package/pennyfarthing-dist/scripts/core/phase-check-start.sh +90 -0
- package/pennyfarthing-dist/scripts/core/prime.sh +30 -0
- package/pennyfarthing-dist/scripts/cyclist/is-cyclist.sh +21 -0
- package/pennyfarthing-dist/scripts/git/README.md +25 -0
- package/pennyfarthing-dist/scripts/git/create-feature-branches.sh +267 -0
- package/pennyfarthing-dist/scripts/git/git-status-all.sh +152 -0
- package/pennyfarthing-dist/scripts/git/install-git-hooks.sh +79 -0
- package/pennyfarthing-dist/scripts/git/release.sh +246 -0
- package/pennyfarthing-dist/scripts/git/worktree-manager.sh +497 -0
- package/pennyfarthing-dist/scripts/health/drift-detection.sh +156 -0
- package/pennyfarthing-dist/scripts/hooks/README.md +32 -0
- package/pennyfarthing-dist/scripts/hooks/__pycache__/question_reflector_check.cpython-314.pyc +0 -0
- package/pennyfarthing-dist/scripts/hooks/bell-mode-hook.sh +106 -0
- package/pennyfarthing-dist/scripts/hooks/context-circuit-breaker.sh +95 -0
- package/pennyfarthing-dist/scripts/hooks/context-warning.sh +65 -0
- package/pennyfarthing-dist/scripts/hooks/otel-auto-config.sh +35 -0
- package/pennyfarthing-dist/scripts/hooks/post-merge.sh +150 -0
- package/pennyfarthing-dist/scripts/hooks/pre-commit.sh +190 -0
- package/pennyfarthing-dist/scripts/hooks/pre-edit-check.sh +71 -0
- package/pennyfarthing-dist/scripts/hooks/pre-push.sh +42 -0
- package/pennyfarthing-dist/scripts/hooks/question-reflector-check.sh +20 -0
- package/pennyfarthing-dist/scripts/hooks/question_reflector_check.py +499 -0
- package/pennyfarthing-dist/scripts/hooks/schema-validation.sh +30 -0
- package/pennyfarthing-dist/scripts/hooks/session-start.sh +97 -0
- package/pennyfarthing-dist/scripts/hooks/session-stop.sh +65 -0
- package/pennyfarthing-dist/scripts/hooks/sprint-yaml-validation.sh +78 -0
- package/pennyfarthing-dist/scripts/hooks/welcome-hook.sh +94 -0
- package/pennyfarthing-dist/scripts/jira/README.md +36 -0
- package/pennyfarthing-dist/scripts/jira/create-jira-epic.sh +95 -0
- package/pennyfarthing-dist/scripts/jira/create-jira-story.sh +91 -0
- package/pennyfarthing-dist/scripts/jira/jira-claim-story.sh +22 -0
- package/pennyfarthing-dist/scripts/jira/jira-lib.sh +464 -0
- package/pennyfarthing-dist/scripts/jira/jira-reconcile.sh +260 -0
- package/pennyfarthing-dist/scripts/jira/jira-sync-story.sh +18 -0
- package/pennyfarthing-dist/scripts/jira/jira-sync.sh +16 -0
- package/pennyfarthing-dist/scripts/jira/sync-epic-jira.sh +16 -0
- package/pennyfarthing-dist/scripts/jira/sync-epic-to-jira.sh +16 -0
- package/pennyfarthing-dist/scripts/lib/README.md +29 -0
- package/pennyfarthing-dist/scripts/lib/background-tasks.sh +177 -0
- package/pennyfarthing-dist/scripts/lib/checkpoint.sh +136 -0
- package/pennyfarthing-dist/scripts/lib/common.sh +212 -0
- package/pennyfarthing-dist/scripts/lib/file-lock.sh +269 -0
- package/pennyfarthing-dist/scripts/lib/find-root.sh +58 -0
- package/pennyfarthing-dist/scripts/lib/logging.sh +186 -0
- package/pennyfarthing-dist/scripts/lib/retry.sh +76 -0
- package/pennyfarthing-dist/scripts/maintenance/migrate-theme-schema.mjs +102 -0
- package/pennyfarthing-dist/scripts/maintenance/sidecar-health.sh +91 -0
- package/pennyfarthing-dist/scripts/misc/README.md +44 -0
- package/pennyfarthing-dist/scripts/misc/add-short-names.sh +13 -0
- package/pennyfarthing-dist/scripts/misc/add_short_names.py +226 -0
- package/pennyfarthing-dist/scripts/misc/backlog.sh +77 -0
- package/pennyfarthing-dist/scripts/misc/check-status.sh +247 -0
- package/pennyfarthing-dist/scripts/misc/find-related-work.sh +231 -0
- package/pennyfarthing-dist/scripts/misc/generate-skill-docs.sh +107 -0
- package/pennyfarthing-dist/scripts/misc/log-skill-usage.sh +74 -0
- package/pennyfarthing-dist/scripts/misc/migrate-bmad-workflow.sh +10 -0
- package/pennyfarthing-dist/scripts/misc/migrate_bmad_workflow.py +319 -0
- package/pennyfarthing-dist/scripts/misc/repo-scan.sh +141 -0
- package/pennyfarthing-dist/scripts/misc/repo-utils.sh +778 -0
- package/pennyfarthing-dist/scripts/misc/run-ci.sh +212 -0
- package/pennyfarthing-dist/scripts/misc/run-timestamp.sh +7 -0
- package/pennyfarthing-dist/scripts/misc/session-cleanup.sh +319 -0
- package/pennyfarthing-dist/scripts/misc/skill-usage-report.sh +193 -0
- package/pennyfarthing-dist/scripts/misc/statusline.sh +257 -0
- package/pennyfarthing-dist/scripts/misc/uninstall.sh +275 -0
- package/pennyfarthing-dist/scripts/misc/validate-subagent-frontmatter.sh +160 -0
- package/pennyfarthing-dist/scripts/portraits/generate-portraits.py +417 -0
- package/pennyfarthing-dist/scripts/portraits/generate-portraits.sh +54 -0
- package/pennyfarthing-dist/scripts/sprint/README.md +29 -0
- package/pennyfarthing-dist/scripts/sprint/archive-story.sh +133 -0
- package/pennyfarthing-dist/scripts/sprint/available-stories.sh +91 -0
- package/pennyfarthing-dist/scripts/sprint/check-story.sh +158 -0
- package/pennyfarthing-dist/scripts/sprint/get-epic-field.sh +52 -0
- package/pennyfarthing-dist/scripts/sprint/get-story-field.sh +63 -0
- package/pennyfarthing-dist/scripts/sprint/list-future.sh +145 -0
- package/pennyfarthing-dist/scripts/sprint/new-sprint.sh +110 -0
- package/pennyfarthing-dist/scripts/sprint/promote-epic.sh +148 -0
- package/pennyfarthing-dist/scripts/sprint/sprint-common.sh +415 -0
- package/pennyfarthing-dist/scripts/sprint/sprint-info.sh +33 -0
- package/pennyfarthing-dist/scripts/sprint/sprint-metrics.sh +230 -0
- package/pennyfarthing-dist/scripts/sprint/sprint-status.sh +134 -0
- package/pennyfarthing-dist/scripts/sprint/validate-sprint-yaml.sh +139 -0
- package/pennyfarthing-dist/scripts/story/README.md +23 -0
- package/pennyfarthing-dist/scripts/story/create-story.sh +19 -0
- package/pennyfarthing-dist/scripts/story/size-story.sh +18 -0
- package/pennyfarthing-dist/scripts/story/story-template.sh +18 -0
- package/pennyfarthing-dist/scripts/test/README.md +23 -0
- package/pennyfarthing-dist/scripts/test/ensure-swebench-data.sh +59 -0
- package/pennyfarthing-dist/scripts/test/ground-truth-judge.py +220 -0
- package/pennyfarthing-dist/scripts/test/swebench-judge.py +374 -0
- package/pennyfarthing-dist/scripts/test/test-cache.sh +165 -0
- package/pennyfarthing-dist/scripts/test/test-setup.sh +337 -0
- package/pennyfarthing-dist/scripts/tests/check.test.sh +582 -0
- package/pennyfarthing-dist/scripts/tests/dev-story-workflow-import.test.sh +515 -0
- package/pennyfarthing-dist/scripts/tests/epics-and-stories-workflow-import.test.sh +599 -0
- package/pennyfarthing-dist/scripts/tests/handoff-phase-update.test.sh +332 -0
- package/pennyfarthing-dist/scripts/tests/implementation-readiness-workflow-import.test.sh +573 -0
- package/pennyfarthing-dist/scripts/tests/migrate-bmad-workflow.test.sh +859 -0
- package/pennyfarthing-dist/scripts/tests/prd-workflow-import.test.sh +662 -0
- package/pennyfarthing-dist/scripts/tests/project-context-workflow-import.test.sh +589 -0
- package/pennyfarthing-dist/scripts/tests/test-character-voice.sh +106 -0
- package/pennyfarthing-dist/scripts/tests/test-drift-detection.sh +597 -0
- package/pennyfarthing-dist/scripts/tests/test-post-merge-hook.sh +514 -0
- package/pennyfarthing-dist/scripts/tests/test-session-checkpoint.sh +517 -0
- package/pennyfarthing-dist/scripts/tests/test-solo-command.sh +331 -0
- package/pennyfarthing-dist/scripts/tests/ux-design-workflow-import.test.sh +647 -0
- package/pennyfarthing-dist/scripts/theme/README.md +22 -0
- package/pennyfarthing-dist/scripts/theme/compute-theme-tiers.sh +13 -0
- package/pennyfarthing-dist/scripts/theme/compute_theme_tiers.py +402 -0
- package/pennyfarthing-dist/scripts/theme/list-themes.sh +30 -0
- package/pennyfarthing-dist/scripts/theme/update-theme-tiers.sh +97 -0
- package/pennyfarthing-dist/scripts/validation/validate-agent-schema.sh +576 -0
- package/pennyfarthing-dist/scripts/workflow/README.md +28 -0
- package/pennyfarthing-dist/scripts/workflow/check.py +502 -0
- package/pennyfarthing-dist/scripts/workflow/check.sh +24 -0
- package/pennyfarthing-dist/scripts/workflow/complete-step.py +304 -0
- package/pennyfarthing-dist/scripts/workflow/finish-story.sh +154 -0
- package/pennyfarthing-dist/scripts/workflow/fix-session-phase.sh +222 -0
- package/pennyfarthing-dist/scripts/workflow/get-workflow-type.py +61 -0
- package/pennyfarthing-dist/scripts/workflow/get-workflow-type.sh +13 -0
- package/pennyfarthing-dist/scripts/workflow/list-workflows.sh +124 -0
- package/pennyfarthing-dist/scripts/workflow/phase-owner.sh +34 -0
- package/pennyfarthing-dist/scripts/workflow/resume-workflow.sh +157 -0
- package/pennyfarthing-dist/scripts/workflow/show-workflow.sh +132 -0
- package/pennyfarthing-dist/scripts/workflow/start-workflow.sh +250 -0
- package/pennyfarthing-dist/scripts/workflow/workflow-status.sh +161 -0
- package/pennyfarthing-dist/skills/agentic-patterns/SKILL.md +246 -0
- package/pennyfarthing-dist/skills/changelog/SKILL.md +385 -0
- package/pennyfarthing-dist/skills/code-review/SKILL.md +172 -0
- package/pennyfarthing-dist/skills/context-engineering/SKILL.md +277 -0
- package/pennyfarthing-dist/skills/cyclist/SKILL.md +88 -0
- package/pennyfarthing-dist/skills/dev-patterns/SKILL.md +461 -0
- package/pennyfarthing-dist/skills/finalize-run/SKILL.md +261 -0
- package/pennyfarthing-dist/skills/jira/SKILL.md +508 -0
- package/pennyfarthing-dist/skills/judge/SKILL.md +644 -0
- package/pennyfarthing-dist/skills/just/SKILL.md +414 -0
- package/pennyfarthing-dist/skills/mermaid/SKILL.md +256 -0
- package/pennyfarthing-dist/skills/otel/skill.md +227 -0
- package/pennyfarthing-dist/skills/permissions/skill.md +157 -0
- package/pennyfarthing-dist/skills/persona-benchmark/SKILL.md +187 -0
- package/pennyfarthing-dist/skills/skill-registry.schema.json +107 -0
- package/pennyfarthing-dist/skills/skill-registry.yaml +393 -0
- package/pennyfarthing-dist/skills/sprint/scripts/archive-story.sh +101 -0
- package/pennyfarthing-dist/skills/sprint/scripts/available-stories.sh +97 -0
- package/pennyfarthing-dist/skills/sprint/scripts/check-story.sh +164 -0
- package/pennyfarthing-dist/skills/sprint/scripts/create-jira-epic.sh +101 -0
- package/pennyfarthing-dist/skills/sprint/scripts/new-sprint.sh +116 -0
- package/pennyfarthing-dist/skills/sprint/scripts/promote-epic.sh +164 -0
- package/pennyfarthing-dist/skills/sprint/scripts/sprint-info.sh +39 -0
- package/pennyfarthing-dist/skills/sprint/scripts/sprint-status.sh +147 -0
- package/pennyfarthing-dist/skills/sprint/scripts/sync-epic-jira.sh +93 -0
- package/pennyfarthing-dist/skills/sprint/skill.md +465 -0
- package/pennyfarthing-dist/skills/story/scripts/create-story.sh +159 -0
- package/pennyfarthing-dist/skills/story/scripts/size-story.sh +198 -0
- package/pennyfarthing-dist/skills/story/scripts/story-template.sh +162 -0
- package/pennyfarthing-dist/skills/story/skill.md +219 -0
- package/pennyfarthing-dist/skills/systematic-debugging/SKILL.md +446 -0
- package/pennyfarthing-dist/skills/testing/SKILL.md +121 -0
- package/pennyfarthing-dist/skills/testing/references/troubleshooting.md +124 -0
- package/pennyfarthing-dist/skills/theme/skill.md +141 -0
- package/pennyfarthing-dist/skills/theme-creation/SKILL.md +178 -0
- package/pennyfarthing-dist/skills/workflow/scripts/list-workflows.sh +91 -0
- package/pennyfarthing-dist/skills/workflow/scripts/resume-workflow.sh +163 -0
- package/pennyfarthing-dist/skills/workflow/scripts/show-workflow.sh +138 -0
- package/pennyfarthing-dist/skills/workflow/scripts/start-workflow.sh +273 -0
- package/pennyfarthing-dist/skills/workflow/scripts/workflow-status.sh +167 -0
- package/pennyfarthing-dist/skills/workflow/skill.md +345 -0
- package/pennyfarthing-dist/skills/yq/SKILL.md +272 -0
- package/pennyfarthing-dist/templates/LEADERBOARD.schema.yaml +187 -0
- package/pennyfarthing-dist/templates/LEADERBOARD.template.md +59 -0
- package/pennyfarthing-dist/templates/agent-scopes.yaml.template +276 -0
- package/pennyfarthing-dist/templates/pennyfarthing-settings.yaml.template +61 -0
- package/pennyfarthing-dist/templates/persona-config.yaml.template +22 -0
- package/pennyfarthing-dist/templates/preferences.yaml.template +15 -0
- package/pennyfarthing-dist/templates/settings.local.json.template +130 -0
- package/pennyfarthing-dist/templates/setup-env.sh.template +18 -0
- package/pennyfarthing-dist/templates/shared-context.md.template +70 -0
- package/pennyfarthing-dist/templates/sidecar/decisions.md.template +40 -0
- package/pennyfarthing-dist/templates/sidecar/gotchas.md.template +37 -0
- package/pennyfarthing-dist/templates/sidecar/patterns.md.template +34 -0
- package/pennyfarthing-dist/workflows/agent-docs.yaml +70 -0
- package/pennyfarthing-dist/workflows/architecture/steps/step-01-initialize.md +113 -0
- package/pennyfarthing-dist/workflows/architecture/steps/step-01b-continue.md +105 -0
- package/pennyfarthing-dist/workflows/architecture/steps/step-02-context.md +127 -0
- package/pennyfarthing-dist/workflows/architecture/steps/step-03-patterns.md +145 -0
- package/pennyfarthing-dist/workflows/architecture/steps/step-04-components.md +150 -0
- package/pennyfarthing-dist/workflows/architecture/steps/step-05-interfaces.md +145 -0
- package/pennyfarthing-dist/workflows/architecture/steps/step-06-risks.md +154 -0
- package/pennyfarthing-dist/workflows/architecture/steps/step-07-document.md +172 -0
- package/pennyfarthing-dist/workflows/architecture/templates/architecture-decision.md +102 -0
- package/pennyfarthing-dist/workflows/architecture.yaml +65 -0
- package/pennyfarthing-dist/workflows/bdd.yaml +60 -0
- package/pennyfarthing-dist/workflows/brainstorming/brain-methods.csv +62 -0
- package/pennyfarthing-dist/workflows/brainstorming/checklist.md +44 -0
- package/pennyfarthing-dist/workflows/brainstorming/instructions.md +736 -0
- package/pennyfarthing-dist/workflows/brainstorming/workflow.yaml +49 -0
- package/pennyfarthing-dist/workflows/code-review/checklist.md +23 -0
- package/pennyfarthing-dist/workflows/code-review/instructions.md +234 -0
- package/pennyfarthing-dist/workflows/code-review/workflow.yaml +51 -0
- package/pennyfarthing-dist/workflows/dev-story/checklist.md +80 -0
- package/pennyfarthing-dist/workflows/dev-story/instructions.xml +410 -0
- package/pennyfarthing-dist/workflows/dev-story/workflow.yaml +50 -0
- package/pennyfarthing-dist/workflows/epics-and-stories/steps/step-01-validate-prerequisites.md +281 -0
- package/pennyfarthing-dist/workflows/epics-and-stories/steps/step-02-design-epics.md +256 -0
- package/pennyfarthing-dist/workflows/epics-and-stories/steps/step-03-create-stories.md +298 -0
- package/pennyfarthing-dist/workflows/epics-and-stories/steps/step-04-final-validation.md +177 -0
- package/pennyfarthing-dist/workflows/epics-and-stories/steps/step-05-import-to-future.md +145 -0
- package/pennyfarthing-dist/workflows/epics-and-stories/templates/epics-template.md +57 -0
- package/pennyfarthing-dist/workflows/epics-and-stories/workflow.yaml +28 -0
- package/pennyfarthing-dist/workflows/git-cleanup/steps/step-01-analyze.md +103 -0
- package/pennyfarthing-dist/workflows/git-cleanup/steps/step-02-categorize.md +147 -0
- package/pennyfarthing-dist/workflows/git-cleanup/steps/step-03-execute.md +215 -0
- package/pennyfarthing-dist/workflows/git-cleanup/steps/step-04-verify.md +97 -0
- package/pennyfarthing-dist/workflows/git-cleanup/steps/step-05-complete.md +78 -0
- package/pennyfarthing-dist/workflows/git-cleanup.yaml +59 -0
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-01-document-discovery.md +211 -0
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-02-prd-analysis.md +199 -0
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-03-epic-coverage-validation.md +202 -0
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-04-ux-alignment.md +162 -0
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-05-epic-quality-review.md +280 -0
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-06-final-assessment.md +158 -0
- package/pennyfarthing-dist/workflows/implementation-readiness/templates/readiness-report-template.md +4 -0
- package/pennyfarthing-dist/workflows/implementation-readiness/workflow.yaml +40 -0
- package/pennyfarthing-dist/workflows/interactive-debug/steps/step-01-connect.md +257 -0
- package/pennyfarthing-dist/workflows/interactive-debug/steps/step-02-explore.md +107 -0
- package/pennyfarthing-dist/workflows/interactive-debug/steps/step-03-fix.md +127 -0
- package/pennyfarthing-dist/workflows/interactive-debug/steps/step-04-commit.md +122 -0
- package/pennyfarthing-dist/workflows/interactive-debug/workflow.yaml +51 -0
- package/pennyfarthing-dist/workflows/patch.yaml +67 -0
- package/pennyfarthing-dist/workflows/prd/data/domain-complexity.csv +13 -0
- package/pennyfarthing-dist/workflows/prd/data/prd-purpose.md +197 -0
- package/pennyfarthing-dist/workflows/prd/data/project-types.csv +11 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-01-init.md +197 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-01b-continue.md +159 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-02-discovery.md +230 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-03-success.md +232 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-04-journeys.md +219 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-05-domain.md +213 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-06-innovation.md +232 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-07-project-type.md +243 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-08-scoping.md +234 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-09-functional.md +237 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-10-nonfunctional.md +248 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-11-polish.md +223 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-12-complete.md +186 -0
- package/pennyfarthing-dist/workflows/prd/steps-e/step-e-01-discovery.md +253 -0
- package/pennyfarthing-dist/workflows/prd/steps-e/step-e-01b-legacy-conversion.md +214 -0
- package/pennyfarthing-dist/workflows/prd/steps-e/step-e-02-review.md +255 -0
- package/pennyfarthing-dist/workflows/prd/steps-e/step-e-03-edit.md +259 -0
- package/pennyfarthing-dist/workflows/prd/steps-e/step-e-04-complete.md +174 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-01-discovery.md +224 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-02-format-detection.md +197 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-02b-parity-check.md +215 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-03-density-validation.md +180 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-04-brief-coverage-validation.md +220 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-05-measurability-validation.md +234 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-06-traceability-validation.md +223 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-07-implementation-leakage-validation.md +211 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-08-domain-compliance-validation.md +249 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-09-project-type-validation.md +269 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-10-smart-validation.md +215 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-11-holistic-quality-validation.md +270 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-12-completeness-validation.md +248 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-13-report-complete.md +238 -0
- package/pennyfarthing-dist/workflows/prd/templates/prd-template.md +10 -0
- package/pennyfarthing-dist/workflows/prd/workflow.yaml +42 -0
- package/pennyfarthing-dist/workflows/product-brief/steps/step-01-init.md +195 -0
- package/pennyfarthing-dist/workflows/product-brief/steps/step-01b-continue.md +180 -0
- package/pennyfarthing-dist/workflows/product-brief/steps/step-02-vision.md +221 -0
- package/pennyfarthing-dist/workflows/product-brief/steps/step-03-users.md +224 -0
- package/pennyfarthing-dist/workflows/product-brief/steps/step-04-metrics.md +228 -0
- package/pennyfarthing-dist/workflows/product-brief/steps/step-05-scope.md +243 -0
- package/pennyfarthing-dist/workflows/product-brief/steps/step-06-complete.md +216 -0
- package/pennyfarthing-dist/workflows/product-brief/templates/product-brief.template.md +10 -0
- package/pennyfarthing-dist/workflows/product-brief/workflow.yaml +31 -0
- package/pennyfarthing-dist/workflows/project-context/project-context-template.md +21 -0
- package/pennyfarthing-dist/workflows/project-context/steps/step-01-discover.md +206 -0
- package/pennyfarthing-dist/workflows/project-context/steps/step-02-generate.md +349 -0
- package/pennyfarthing-dist/workflows/project-context/steps/step-03-complete.md +306 -0
- package/pennyfarthing-dist/workflows/project-context/workflow.yaml +27 -0
- package/pennyfarthing-dist/workflows/project-setup/steps/step-01-discover.md +157 -0
- package/pennyfarthing-dist/workflows/project-setup/steps/step-02-clone-repos.md +217 -0
- package/pennyfarthing-dist/workflows/project-setup/steps/step-03-repos-yaml.md +159 -0
- package/pennyfarthing-dist/workflows/project-setup/steps/step-04-claude-md.md +186 -0
- package/pennyfarthing-dist/workflows/project-setup/steps/step-05-shared-context.md +185 -0
- package/pennyfarthing-dist/workflows/project-setup/steps/step-06-task-runner.md +279 -0
- package/pennyfarthing-dist/workflows/project-setup/steps/step-07-theme.md +200 -0
- package/pennyfarthing-dist/workflows/project-setup/steps/step-08-theme-packs.md +142 -0
- package/pennyfarthing-dist/workflows/project-setup/steps/step-09-cyclist.md +245 -0
- package/pennyfarthing-dist/workflows/project-setup/steps/step-10-complete.md +204 -0
- package/pennyfarthing-dist/workflows/project-setup/workflow.yaml +41 -0
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-01-mode-detection.md +177 -0
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-02-context-gathering.md +143 -0
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-03-execute.md +138 -0
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-04-self-check.md +135 -0
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-05-adversarial-review.md +129 -0
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-06-resolve-findings.md +163 -0
- package/pennyfarthing-dist/workflows/quick-dev/workflow.yaml +27 -0
- package/pennyfarthing-dist/workflows/quick-spec/steps/step-01-understand.md +201 -0
- package/pennyfarthing-dist/workflows/quick-spec/steps/step-02-investigate.md +156 -0
- package/pennyfarthing-dist/workflows/quick-spec/steps/step-03-generate.md +140 -0
- package/pennyfarthing-dist/workflows/quick-spec/steps/step-04-review.md +203 -0
- package/pennyfarthing-dist/workflows/quick-spec/tech-spec-template.md +74 -0
- package/pennyfarthing-dist/workflows/quick-spec/workflow.yaml +27 -0
- package/pennyfarthing-dist/workflows/release/steps/step-01-preflight.md +105 -0
- package/pennyfarthing-dist/workflows/release/steps/step-02-bump.md +95 -0
- package/pennyfarthing-dist/workflows/release/steps/step-03-changelog.md +125 -0
- package/pennyfarthing-dist/workflows/release/steps/step-04-readme.md +101 -0
- package/pennyfarthing-dist/workflows/release/steps/step-05-claude-md.md +102 -0
- package/pennyfarthing-dist/workflows/release/steps/step-06-retro.md +59 -0
- package/pennyfarthing-dist/workflows/release/steps/step-07-commit.md +109 -0
- package/pennyfarthing-dist/workflows/release/steps/step-08-merge.md +65 -0
- package/pennyfarthing-dist/workflows/release/steps/step-09-push.md +75 -0
- package/pennyfarthing-dist/workflows/release/steps/step-10-publish.md +93 -0
- package/pennyfarthing-dist/workflows/release/steps/step-11-finalize.md +71 -0
- package/pennyfarthing-dist/workflows/release.yaml +62 -0
- package/pennyfarthing-dist/workflows/research/steps-domain/step-01-init.md +159 -0
- package/pennyfarthing-dist/workflows/research/steps-domain/step-02-domain-analysis.md +253 -0
- package/pennyfarthing-dist/workflows/research/steps-domain/step-03-competitive-landscape.md +263 -0
- package/pennyfarthing-dist/workflows/research/steps-domain/step-04-regulatory-focus.md +232 -0
- package/pennyfarthing-dist/workflows/research/steps-domain/step-05-technical-trends.md +260 -0
- package/pennyfarthing-dist/workflows/research/steps-domain/step-06-research-synthesis.md +477 -0
- package/pennyfarthing-dist/workflows/research/steps-market/step-01-init.md +205 -0
- package/pennyfarthing-dist/workflows/research/steps-market/step-02-customer-behavior.md +262 -0
- package/pennyfarthing-dist/workflows/research/steps-market/step-02-customer-insights.md +227 -0
- package/pennyfarthing-dist/workflows/research/steps-market/step-03-customer-pain-points.md +275 -0
- package/pennyfarthing-dist/workflows/research/steps-market/step-04-customer-decisions.md +286 -0
- package/pennyfarthing-dist/workflows/research/steps-market/step-05-competitive-analysis.md +203 -0
- package/pennyfarthing-dist/workflows/research/steps-market/step-06-research-completion.md +510 -0
- package/pennyfarthing-dist/workflows/research/steps-technical/step-01-init.md +159 -0
- package/pennyfarthing-dist/workflows/research/steps-technical/step-02-technical-overview.md +264 -0
- package/pennyfarthing-dist/workflows/research/steps-technical/step-03-integration-patterns.md +274 -0
- package/pennyfarthing-dist/workflows/research/steps-technical/step-04-architectural-patterns.md +228 -0
- package/pennyfarthing-dist/workflows/research/steps-technical/step-05-implementation-research.md +267 -0
- package/pennyfarthing-dist/workflows/research/steps-technical/step-06-research-synthesis.md +522 -0
- package/pennyfarthing-dist/workflows/research/templates/research.template.md +29 -0
- package/pennyfarthing-dist/workflows/research/workflow.yaml +45 -0
- package/pennyfarthing-dist/workflows/retrospective/checklist.md +31 -0
- package/pennyfarthing-dist/workflows/retrospective/instructions.md +1443 -0
- package/pennyfarthing-dist/workflows/retrospective/workflow.yaml +50 -0
- package/pennyfarthing-dist/workflows/sprint-planning/checklist.md +33 -0
- package/pennyfarthing-dist/workflows/sprint-planning/sprint-status-template.yaml +55 -0
- package/pennyfarthing-dist/workflows/sprint-planning/steps/step-01-parse-epic-files.md +69 -0
- package/pennyfarthing-dist/workflows/sprint-planning/steps/step-02-build-sprint-status.md +61 -0
- package/pennyfarthing-dist/workflows/sprint-planning/steps/step-03-status-detection.md +80 -0
- package/pennyfarthing-dist/workflows/sprint-planning/steps/step-04-generate-status-file.md +90 -0
- package/pennyfarthing-dist/workflows/sprint-planning/steps/step-05-validate-and-report.md +78 -0
- package/pennyfarthing-dist/workflows/sprint-planning/workflow.yaml +34 -0
- package/pennyfarthing-dist/workflows/tdd.yaml +50 -0
- package/pennyfarthing-dist/workflows/trivial.yaml +40 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-01-init.md +141 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-01b-continue.md +133 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-02-discovery.md +196 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-03-core-experience.md +222 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-04-emotional-response.md +225 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-05-inspiration.md +240 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-06-design-system.md +258 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-07-defining-experience.md +260 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-08-visual-foundation.md +230 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-09-design-directions.md +230 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-10-user-journeys.md +247 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-11-component-strategy.md +254 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-12-ux-patterns.md +243 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-13-responsive-accessibility.md +270 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-14-complete.md +234 -0
- package/pennyfarthing-dist/workflows/ux-design/ux-design-template.md +13 -0
- package/pennyfarthing-dist/workflows/ux-design/workflow.yaml +41 -0
|
@@ -0,0 +1,414 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: just
|
|
3
|
+
description: |
|
|
4
|
+
Run just recipes for project tasks. This skill should be used when starting dev servers,
|
|
5
|
+
running tests, managing Cyclist, generating portraits, or writing new justfile recipes.
|
|
6
|
+
args: "[recipe] [args...]"
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# /just - Project Task Runner
|
|
10
|
+
|
|
11
|
+
<run>
|
|
12
|
+
Main commands:
|
|
13
|
+
- `just --list` - List all available recipes
|
|
14
|
+
- `just <recipe>` - Run a specific recipe (e.g., `just build`, `just test`, `just cyclist`)
|
|
15
|
+
</run>
|
|
16
|
+
|
|
17
|
+
<output>
|
|
18
|
+
- `just --list` outputs a list of available recipes with their descriptions
|
|
19
|
+
- Individual recipe commands output their execution results (build logs, test results, etc.) depending on the recipe
|
|
20
|
+
</output>
|
|
21
|
+
|
|
22
|
+
`just` is a command runner for project tasks. All commands run from the **project root**.
|
|
23
|
+
|
|
24
|
+
## Commands
|
|
25
|
+
|
|
26
|
+
### `/just` or `/just --list`
|
|
27
|
+
|
|
28
|
+
List all available recipes.
|
|
29
|
+
|
|
30
|
+
**Run:**
|
|
31
|
+
```bash
|
|
32
|
+
just --list
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
**Output:** Recipe names with descriptions.
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
### `/just build`
|
|
40
|
+
|
|
41
|
+
Build all packages in the monorepo.
|
|
42
|
+
|
|
43
|
+
**Run:**
|
|
44
|
+
```bash
|
|
45
|
+
just build
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
**What it does:** Runs `pnpm run build` to compile TypeScript across all packages.
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
### `/just test`
|
|
53
|
+
|
|
54
|
+
Run tests for all packages.
|
|
55
|
+
|
|
56
|
+
**Run:**
|
|
57
|
+
```bash
|
|
58
|
+
just test
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
**What it does:** Runs `pnpm test` which executes Node.js native test runner across the monorepo.
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
### `/just test-cyclist`
|
|
66
|
+
|
|
67
|
+
Run tests for the Cyclist package only.
|
|
68
|
+
|
|
69
|
+
**Run:**
|
|
70
|
+
```bash
|
|
71
|
+
just test-cyclist
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
**What it does:** Runs `npm test` in `packages/cyclist/`.
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
### `/just test-cyclist-watch`
|
|
79
|
+
|
|
80
|
+
Run Cyclist tests in watch mode for TDD workflow.
|
|
81
|
+
|
|
82
|
+
**Run:**
|
|
83
|
+
```bash
|
|
84
|
+
just test-cyclist-watch
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
**What it does:** Runs Vitest in watch mode, re-running tests on file changes.
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
|
|
91
|
+
### `/just install`
|
|
92
|
+
|
|
93
|
+
Install dependencies for all packages.
|
|
94
|
+
|
|
95
|
+
**Run:**
|
|
96
|
+
```bash
|
|
97
|
+
just install
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
**What it does:** Runs `pnpm install` to install dependencies across the monorepo.
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
## Cyclist Commands
|
|
105
|
+
|
|
106
|
+
The `cyclist` recipe is the main entry point for Cyclist operations.
|
|
107
|
+
|
|
108
|
+
### `/just cyclist` (default)
|
|
109
|
+
|
|
110
|
+
Launch Cyclist in Electron mode with folder picker.
|
|
111
|
+
|
|
112
|
+
**Run:**
|
|
113
|
+
```bash
|
|
114
|
+
just cyclist
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
**What it does:** Starts Cyclist Electron app, prompting to select a project directory.
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
### `/just cyclist here`
|
|
122
|
+
|
|
123
|
+
Launch Cyclist for the current directory.
|
|
124
|
+
|
|
125
|
+
**Run:**
|
|
126
|
+
```bash
|
|
127
|
+
just cyclist here
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
**What it does:** Starts Cyclist Electron app with `pwd` as the project directory.
|
|
131
|
+
|
|
132
|
+
---
|
|
133
|
+
|
|
134
|
+
### `/just cyclist web`
|
|
135
|
+
|
|
136
|
+
Launch Cyclist in web dev mode with hot reload.
|
|
137
|
+
|
|
138
|
+
**Run:**
|
|
139
|
+
```bash
|
|
140
|
+
just cyclist web
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
**What it does:** Starts the web server with Vite for browser-based development.
|
|
144
|
+
|
|
145
|
+
---
|
|
146
|
+
|
|
147
|
+
### `/just cyclist server`
|
|
148
|
+
|
|
149
|
+
Start Cyclist web server only (no browser).
|
|
150
|
+
|
|
151
|
+
**Run:**
|
|
152
|
+
```bash
|
|
153
|
+
just cyclist server
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
**What it does:** Starts the backend server for headless or remote access.
|
|
157
|
+
|
|
158
|
+
---
|
|
159
|
+
|
|
160
|
+
### `/just cyclist verbose`
|
|
161
|
+
|
|
162
|
+
Enable debug logging for troubleshooting.
|
|
163
|
+
|
|
164
|
+
**Run:**
|
|
165
|
+
```bash
|
|
166
|
+
just cyclist verbose
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
**Combine flags:**
|
|
170
|
+
```bash
|
|
171
|
+
just cyclist here verbose
|
|
172
|
+
just cyclist web verbose
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
---
|
|
176
|
+
|
|
177
|
+
### `/just cyclist dir=<path>`
|
|
178
|
+
|
|
179
|
+
Launch Cyclist for a specific project directory.
|
|
180
|
+
|
|
181
|
+
**Run:**
|
|
182
|
+
```bash
|
|
183
|
+
just cyclist dir=/path/to/project
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
**Arguments:**
|
|
187
|
+
| Arg | Required | Description |
|
|
188
|
+
|-----|----------|-------------|
|
|
189
|
+
| `dir=` | Yes | Absolute path to project directory |
|
|
190
|
+
|
|
191
|
+
---
|
|
192
|
+
|
|
193
|
+
### `/just cyclist setup`
|
|
194
|
+
|
|
195
|
+
First-time setup for Cyclist development.
|
|
196
|
+
|
|
197
|
+
**Run:**
|
|
198
|
+
```bash
|
|
199
|
+
just cyclist setup
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
**What it does:**
|
|
203
|
+
1. Cleans stale artifacts (`rm -rf packages/cyclist/dist/`)
|
|
204
|
+
2. Installs dependencies (`pnpm install`)
|
|
205
|
+
3. Rebuilds native modules (`npx electron-rebuild`)
|
|
206
|
+
4. Builds TypeScript (`pnpm run build`)
|
|
207
|
+
|
|
208
|
+
---
|
|
209
|
+
|
|
210
|
+
### `/just cyclist doctor`
|
|
211
|
+
|
|
212
|
+
Diagnose Cyclist setup issues.
|
|
213
|
+
|
|
214
|
+
**Run:**
|
|
215
|
+
```bash
|
|
216
|
+
just cyclist doctor
|
|
217
|
+
just cyclist doctor --fix
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
**Arguments:**
|
|
221
|
+
| Arg | Required | Description |
|
|
222
|
+
|-----|----------|-------------|
|
|
223
|
+
| `--fix` | No | Auto-repair detected issues |
|
|
224
|
+
|
|
225
|
+
**What it does:** Checks for common setup problems and optionally fixes them.
|
|
226
|
+
|
|
227
|
+
---
|
|
228
|
+
|
|
229
|
+
### `/just cyclist build`
|
|
230
|
+
|
|
231
|
+
Build Cyclist TypeScript only.
|
|
232
|
+
|
|
233
|
+
**Run:**
|
|
234
|
+
```bash
|
|
235
|
+
just cyclist build
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
**What it does:** Compiles TypeScript in `packages/cyclist/`. Builds workspace dependencies first if missing.
|
|
239
|
+
|
|
240
|
+
---
|
|
241
|
+
|
|
242
|
+
### `/just cyclist clean`
|
|
243
|
+
|
|
244
|
+
Remove Cyclist build artifacts.
|
|
245
|
+
|
|
246
|
+
**Run:**
|
|
247
|
+
```bash
|
|
248
|
+
just cyclist clean
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
**What it does:** Removes `packages/cyclist/dist/` directory.
|
|
252
|
+
|
|
253
|
+
---
|
|
254
|
+
|
|
255
|
+
### `/just cyclist rebuild`
|
|
256
|
+
|
|
257
|
+
Rebuild native modules (node-pty) for Electron.
|
|
258
|
+
|
|
259
|
+
**Run:**
|
|
260
|
+
```bash
|
|
261
|
+
just cyclist rebuild
|
|
262
|
+
```
|
|
263
|
+
|
|
264
|
+
**What it does:** Runs `npx electron-rebuild` in `packages/cyclist/`.
|
|
265
|
+
|
|
266
|
+
**When needed:** After Node.js version changes or native module errors.
|
|
267
|
+
|
|
268
|
+
---
|
|
269
|
+
|
|
270
|
+
### `/just cyclist package`
|
|
271
|
+
|
|
272
|
+
Build Cyclist Electron app for distribution.
|
|
273
|
+
|
|
274
|
+
**Run:**
|
|
275
|
+
```bash
|
|
276
|
+
just cyclist package
|
|
277
|
+
```
|
|
278
|
+
|
|
279
|
+
**What it does:** Runs `npm run build:electron` to create distributable app.
|
|
280
|
+
|
|
281
|
+
---
|
|
282
|
+
|
|
283
|
+
### `/just cyclist install`
|
|
284
|
+
|
|
285
|
+
Install Cyclist app and CLI.
|
|
286
|
+
|
|
287
|
+
**Run:**
|
|
288
|
+
```bash
|
|
289
|
+
just cyclist install
|
|
290
|
+
```
|
|
291
|
+
|
|
292
|
+
**What it does:**
|
|
293
|
+
1. Installs `Cyclist.app` to `/Applications`
|
|
294
|
+
2. Installs `cyclist` CLI to `/usr/local/bin`
|
|
295
|
+
|
|
296
|
+
---
|
|
297
|
+
|
|
298
|
+
## Portrait Commands
|
|
299
|
+
|
|
300
|
+
Generate AI portraits for persona themes.
|
|
301
|
+
|
|
302
|
+
### `/just portraits <theme>`
|
|
303
|
+
|
|
304
|
+
Generate portraits for a specific theme.
|
|
305
|
+
|
|
306
|
+
**Run:**
|
|
307
|
+
```bash
|
|
308
|
+
just portraits arthurian-mythos
|
|
309
|
+
```
|
|
310
|
+
|
|
311
|
+
**Arguments:**
|
|
312
|
+
| Arg | Required | Description |
|
|
313
|
+
|-----|----------|-------------|
|
|
314
|
+
| `theme` | Yes | Theme name (e.g., `arthurian-mythos`, `the-expanse`) |
|
|
315
|
+
|
|
316
|
+
---
|
|
317
|
+
|
|
318
|
+
### `/just portraits-all`
|
|
319
|
+
|
|
320
|
+
Generate portraits for all themes.
|
|
321
|
+
|
|
322
|
+
**Run:**
|
|
323
|
+
```bash
|
|
324
|
+
just portraits-all
|
|
325
|
+
```
|
|
326
|
+
|
|
327
|
+
**Warning:** This is time-intensive. Generates portraits for all 102 themes.
|
|
328
|
+
|
|
329
|
+
---
|
|
330
|
+
|
|
331
|
+
### `/just portraits-preview <theme>`
|
|
332
|
+
|
|
333
|
+
Preview portraits for a theme without saving.
|
|
334
|
+
|
|
335
|
+
**Run:**
|
|
336
|
+
```bash
|
|
337
|
+
just portraits-preview arthurian-mythos
|
|
338
|
+
```
|
|
339
|
+
|
|
340
|
+
**Arguments:**
|
|
341
|
+
| Arg | Required | Description |
|
|
342
|
+
|-----|----------|-------------|
|
|
343
|
+
| `theme` | Yes | Theme name to preview |
|
|
344
|
+
|
|
345
|
+
---
|
|
346
|
+
|
|
347
|
+
## Passing Arguments to Recipes
|
|
348
|
+
|
|
349
|
+
Just recipes accept arguments directly (no `--` separator needed):
|
|
350
|
+
|
|
351
|
+
```bash
|
|
352
|
+
# Correct
|
|
353
|
+
just test-cyclist --filter "B-001"
|
|
354
|
+
just cyclist here verbose
|
|
355
|
+
|
|
356
|
+
# WRONG - don't use --
|
|
357
|
+
just test-cyclist -- --filter "B-001"
|
|
358
|
+
```
|
|
359
|
+
|
|
360
|
+
---
|
|
361
|
+
|
|
362
|
+
## Inspecting Recipes
|
|
363
|
+
|
|
364
|
+
### Show recipe definition
|
|
365
|
+
|
|
366
|
+
**Run:**
|
|
367
|
+
```bash
|
|
368
|
+
just --show <recipe>
|
|
369
|
+
```
|
|
370
|
+
|
|
371
|
+
**Example:**
|
|
372
|
+
```bash
|
|
373
|
+
just --show cyclist
|
|
374
|
+
# Shows the full recipe implementation
|
|
375
|
+
```
|
|
376
|
+
|
|
377
|
+
---
|
|
378
|
+
|
|
379
|
+
## Quick Reference
|
|
380
|
+
|
|
381
|
+
| Command | Description |
|
|
382
|
+
|---------|-------------|
|
|
383
|
+
| `just` | List available recipes |
|
|
384
|
+
| `just build` | Build all packages |
|
|
385
|
+
| `just test` | Run all tests |
|
|
386
|
+
| `just test-cyclist` | Run Cyclist tests |
|
|
387
|
+
| `just test-cyclist-watch` | Cyclist tests in watch mode |
|
|
388
|
+
| `just install` | Install dependencies |
|
|
389
|
+
| `just cyclist` | Electron + folder picker |
|
|
390
|
+
| `just cyclist here` | Electron + current directory |
|
|
391
|
+
| `just cyclist web` | Web dev mode |
|
|
392
|
+
| `just cyclist server` | Web server only |
|
|
393
|
+
| `just cyclist setup` | First-time setup |
|
|
394
|
+
| `just cyclist doctor` | Diagnose issues |
|
|
395
|
+
| `just cyclist build` | Build TypeScript |
|
|
396
|
+
| `just cyclist clean` | Remove dist/ |
|
|
397
|
+
| `just cyclist rebuild` | Rebuild native modules |
|
|
398
|
+
| `just cyclist package` | Build Electron app |
|
|
399
|
+
| `just cyclist install` | Install app + CLI |
|
|
400
|
+
| `just portraits <theme>` | Generate theme portraits |
|
|
401
|
+
| `just portraits-all` | Generate all portraits |
|
|
402
|
+
| `just portraits-preview <theme>` | Preview portraits |
|
|
403
|
+
|
|
404
|
+
## Dependencies
|
|
405
|
+
|
|
406
|
+
```bash
|
|
407
|
+
brew install just
|
|
408
|
+
# or
|
|
409
|
+
cargo install just
|
|
410
|
+
```
|
|
411
|
+
|
|
412
|
+
## Reference
|
|
413
|
+
|
|
414
|
+
- **Official Docs:** https://just.systems/man/en/
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mermaid
|
|
3
|
+
description: Generate diagrams using Mermaid syntax. Use this skill when creating architecture diagrams, sequence diagrams, ER diagrams, flowcharts, or any visual documentation in markdown files.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<run>
|
|
7
|
+
Generate Mermaid diagrams by writing code blocks with the `mermaid` language identifier in markdown files. Mermaid syntax is rendered natively by GitHub, GitLab, and most markdown editors. Choose the appropriate diagram type (flowchart, sequence, ER, class, or state) based on what you need to visualize.
|
|
8
|
+
</run>
|
|
9
|
+
|
|
10
|
+
<output>
|
|
11
|
+
Mermaid code blocks that render as diagrams. Example output format:
|
|
12
|
+
|
|
13
|
+
```mermaid
|
|
14
|
+
flowchart TD
|
|
15
|
+
A[Start] --> B[Process]
|
|
16
|
+
B --> C[End]
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
The diagram renders visually in GitHub, GitLab, and compatible markdown viewers.
|
|
20
|
+
</output>
|
|
21
|
+
|
|
22
|
+
# Mermaid Diagram Skill
|
|
23
|
+
|
|
24
|
+
## When to Use This Skill
|
|
25
|
+
|
|
26
|
+
- Documenting system architecture or component relationships
|
|
27
|
+
- Visualizing API request/response flows
|
|
28
|
+
- Creating database schema diagrams from models
|
|
29
|
+
- Illustrating state machines or workflows
|
|
30
|
+
- Adding visual documentation to markdown files
|
|
31
|
+
|
|
32
|
+
## Overview
|
|
33
|
+
|
|
34
|
+
Mermaid is a JavaScript-based diagramming tool that renders markdown-like syntax into diagrams. GitHub, GitLab, and many markdown editors render Mermaid blocks natively.
|
|
35
|
+
|
|
36
|
+
**No installation required** for GitHub rendering - just use fenced code blocks with `mermaid` language identifier.
|
|
37
|
+
|
|
38
|
+
## Prerequisites
|
|
39
|
+
|
|
40
|
+
### Option 1: GitHub/GitLab (Recommended)
|
|
41
|
+
No setup needed. Wrap diagrams in triple backticks with `mermaid` language:
|
|
42
|
+
|
|
43
|
+
~~~markdown
|
|
44
|
+
```mermaid
|
|
45
|
+
flowchart LR
|
|
46
|
+
A --> B
|
|
47
|
+
```
|
|
48
|
+
~~~
|
|
49
|
+
|
|
50
|
+
### Option 2: Mermaid CLI (Local Rendering)
|
|
51
|
+
```bash
|
|
52
|
+
npm install -g @mermaid-js/mermaid-cli
|
|
53
|
+
mmdc -i input.mmd -o output.svg
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
### Option 3: VS Code Extension
|
|
57
|
+
Install "Markdown Preview Mermaid Support" extension for live preview.
|
|
58
|
+
|
|
59
|
+
## Flowchart Diagrams
|
|
60
|
+
|
|
61
|
+
Use for architecture, decision trees, and process flows.
|
|
62
|
+
|
|
63
|
+
### Basic Syntax
|
|
64
|
+
```mermaid
|
|
65
|
+
flowchart TD
|
|
66
|
+
A[Rectangle] --> B(Rounded)
|
|
67
|
+
B --> C{Diamond}
|
|
68
|
+
C -->|Yes| D[Result 1]
|
|
69
|
+
C -->|No| E[Result 2]
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### Direction Options
|
|
73
|
+
- `TD` or `TB` - Top to bottom
|
|
74
|
+
- `LR` - Left to right
|
|
75
|
+
- `BT` - Bottom to top
|
|
76
|
+
- `RL` - Right to left
|
|
77
|
+
|
|
78
|
+
### Architecture Example
|
|
79
|
+
```mermaid
|
|
80
|
+
flowchart TD
|
|
81
|
+
subgraph Client
|
|
82
|
+
UI[React App]
|
|
83
|
+
end
|
|
84
|
+
subgraph Server
|
|
85
|
+
API[Express API]
|
|
86
|
+
Auth[Auth Service]
|
|
87
|
+
end
|
|
88
|
+
subgraph Data
|
|
89
|
+
DB[(PostgreSQL)]
|
|
90
|
+
Cache[(Redis)]
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
UI -->|HTTP| API
|
|
94
|
+
API --> Auth
|
|
95
|
+
API --> DB
|
|
96
|
+
API --> Cache
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
## Sequence Diagrams
|
|
100
|
+
|
|
101
|
+
Use for API flows, authentication sequences, and message passing.
|
|
102
|
+
|
|
103
|
+
### Basic Syntax
|
|
104
|
+
```mermaid
|
|
105
|
+
sequenceDiagram
|
|
106
|
+
participant C as Client
|
|
107
|
+
participant S as Server
|
|
108
|
+
participant DB as Database
|
|
109
|
+
|
|
110
|
+
C->>S: POST /api/users
|
|
111
|
+
S->>DB: INSERT user
|
|
112
|
+
DB-->>S: OK
|
|
113
|
+
S-->>C: 201 Created
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
### Arrow Types
|
|
117
|
+
- `->>` Solid line with arrowhead
|
|
118
|
+
- `-->>` Dotted line with arrowhead
|
|
119
|
+
- `-x` Solid line with X (async)
|
|
120
|
+
- `--x` Dotted line with X
|
|
121
|
+
|
|
122
|
+
### With Loops and Conditionals
|
|
123
|
+
```mermaid
|
|
124
|
+
sequenceDiagram
|
|
125
|
+
participant U as User
|
|
126
|
+
participant A as API
|
|
127
|
+
participant Auth as Auth Service
|
|
128
|
+
|
|
129
|
+
U->>A: Login request
|
|
130
|
+
A->>Auth: Validate credentials
|
|
131
|
+
|
|
132
|
+
alt Valid credentials
|
|
133
|
+
Auth-->>A: Token
|
|
134
|
+
A-->>U: 200 OK + Token
|
|
135
|
+
else Invalid
|
|
136
|
+
Auth-->>A: Error
|
|
137
|
+
A-->>U: 401 Unauthorized
|
|
138
|
+
end
|
|
139
|
+
|
|
140
|
+
loop Every 15 minutes
|
|
141
|
+
U->>A: Refresh token
|
|
142
|
+
A-->>U: New token
|
|
143
|
+
end
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
## ER Diagrams
|
|
147
|
+
|
|
148
|
+
Use for database schemas and entity relationships.
|
|
149
|
+
|
|
150
|
+
### Basic Syntax
|
|
151
|
+
```mermaid
|
|
152
|
+
erDiagram
|
|
153
|
+
USER ||--o{ ORDER : places
|
|
154
|
+
ORDER ||--|{ LINE_ITEM : contains
|
|
155
|
+
PRODUCT ||--o{ LINE_ITEM : "ordered in"
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
### Cardinality Notation
|
|
159
|
+
- `||` - Exactly one
|
|
160
|
+
- `o|` - Zero or one
|
|
161
|
+
- `}|` - One or more
|
|
162
|
+
- `}o` - Zero or more
|
|
163
|
+
|
|
164
|
+
### With Attributes
|
|
165
|
+
```mermaid
|
|
166
|
+
erDiagram
|
|
167
|
+
USER {
|
|
168
|
+
int id PK
|
|
169
|
+
string email UK
|
|
170
|
+
string name
|
|
171
|
+
timestamp created_at
|
|
172
|
+
}
|
|
173
|
+
ORDER {
|
|
174
|
+
int id PK
|
|
175
|
+
int user_id FK
|
|
176
|
+
decimal total
|
|
177
|
+
string status
|
|
178
|
+
}
|
|
179
|
+
USER ||--o{ ORDER : places
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
## Class Diagrams
|
|
183
|
+
|
|
184
|
+
Use for object models and component relationships.
|
|
185
|
+
|
|
186
|
+
### Basic Syntax
|
|
187
|
+
```mermaid
|
|
188
|
+
classDiagram
|
|
189
|
+
class User {
|
|
190
|
+
+int id
|
|
191
|
+
+string email
|
|
192
|
+
+login()
|
|
193
|
+
+logout()
|
|
194
|
+
}
|
|
195
|
+
class Order {
|
|
196
|
+
+int id
|
|
197
|
+
+decimal total
|
|
198
|
+
+submit()
|
|
199
|
+
}
|
|
200
|
+
User "1" --> "*" Order : places
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
### Relationship Types
|
|
204
|
+
- `<|--` Inheritance
|
|
205
|
+
- `*--` Composition
|
|
206
|
+
- `o--` Aggregation
|
|
207
|
+
- `-->` Association
|
|
208
|
+
- `..>` Dependency
|
|
209
|
+
|
|
210
|
+
## State Diagrams
|
|
211
|
+
|
|
212
|
+
Use for state machines and workflow states.
|
|
213
|
+
|
|
214
|
+
### Basic Syntax
|
|
215
|
+
```mermaid
|
|
216
|
+
stateDiagram-v2
|
|
217
|
+
[*] --> Draft
|
|
218
|
+
Draft --> Review : submit
|
|
219
|
+
Review --> Approved : approve
|
|
220
|
+
Review --> Draft : reject
|
|
221
|
+
Approved --> Published : publish
|
|
222
|
+
Published --> [*]
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
### With Nested States
|
|
226
|
+
```mermaid
|
|
227
|
+
stateDiagram-v2
|
|
228
|
+
[*] --> Active
|
|
229
|
+
|
|
230
|
+
state Active {
|
|
231
|
+
[*] --> Idle
|
|
232
|
+
Idle --> Processing : start
|
|
233
|
+
Processing --> Idle : complete
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
Active --> Suspended : suspend
|
|
237
|
+
Suspended --> Active : resume
|
|
238
|
+
Active --> [*] : terminate
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
## Best Practices
|
|
242
|
+
|
|
243
|
+
1. **Keep diagrams focused** - One concept per diagram, split complex systems into multiple diagrams
|
|
244
|
+
2. **Use meaningful labels** - `API` not `A`, `Database` not `DB` (unless space-constrained)
|
|
245
|
+
3. **Add subgraphs** for grouping related components in flowcharts
|
|
246
|
+
4. **Use aliases** in sequence diagrams (`participant C as Client`) for readability
|
|
247
|
+
5. **Include cardinality** in ER diagrams - relationships are ambiguous without it
|
|
248
|
+
6. **Test rendering** on GitHub before committing - some syntax varies between versions
|
|
249
|
+
7. **Link to details** - Diagrams show structure; link to docs for implementation details
|
|
250
|
+
|
|
251
|
+
## Reference Documentation
|
|
252
|
+
|
|
253
|
+
- **Official Docs:** https://mermaid.js.org/
|
|
254
|
+
- **Live Editor:** https://mermaid.live/
|
|
255
|
+
- **GitHub Support:** https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-diagrams
|
|
256
|
+
- **Syntax Reference:** https://mermaid.js.org/syntax/flowchart.html
|