@codyswann/lisa 1.56.0 → 1.56.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/.claude-plugin/marketplace.json +11 -5
- package/all/merge/.claude/settings.json +7 -0
- package/package.json +1 -1
- package/plugins/lisa/.claude-plugin/plugin.json +148 -0
- package/plugins/lisa-cdk/.claude-plugin/plugin.json +3 -159
- package/plugins/lisa-expo/.claude-plugin/plugin.json +2 -146
- package/plugins/lisa-expo/commands/jira/add-journey.md +1 -1
- package/plugins/lisa-expo/commands/jira/create.md +1 -1
- package/plugins/lisa-expo/commands/jira/evidence.md +1 -1
- package/plugins/lisa-expo/commands/jira/journey.md +1 -1
- package/plugins/lisa-expo/commands/jira/verify.md +1 -1
- package/plugins/lisa-nestjs/.claude-plugin/plugin.json +3 -159
- package/plugins/lisa-rails/.claude-plugin/plugin.json +2 -120
- package/plugins/lisa-rails/commands/jira/add-journey.md +1 -1
- package/plugins/lisa-rails/commands/jira/create.md +1 -1
- package/plugins/lisa-rails/commands/jira/evidence.md +1 -1
- package/plugins/lisa-rails/commands/jira/journey.md +1 -1
- package/plugins/lisa-rails/commands/jira/verify.md +1 -1
- package/plugins/lisa-rails/commands/plan/add-test-coverage.md +1 -1
- package/plugins/lisa-rails/commands/plan/fix-linter-error.md +1 -1
- package/plugins/lisa-rails/commands/plan/lower-code-complexity.md +1 -1
- package/plugins/lisa-rails/commands/plan/reduce-max-lines-per-function.md +1 -1
- package/plugins/lisa-rails/commands/plan/reduce-max-lines.md +1 -1
- package/plugins/lisa-typescript/.claude-plugin/plugin.json +2 -127
- package/plugins/src/base/.claude-plugin/plugin.json +78 -0
- package/plugins/src/cdk/.claude-plugin/plugin.json +2 -81
- package/plugins/src/expo/.claude-plugin/plugin.json +1 -68
- package/plugins/{lisa-typescript → src/expo}/commands/jira/add-journey.md +1 -1
- package/plugins/{lisa-nestjs → src/expo}/commands/jira/create.md +1 -1
- package/plugins/{lisa-nestjs → src/expo}/commands/jira/evidence.md +1 -1
- package/plugins/{lisa-nestjs → src/expo}/commands/jira/journey.md +1 -1
- package/plugins/{lisa-nestjs → src/expo}/commands/jira/verify.md +1 -1
- package/plugins/src/nestjs/.claude-plugin/plugin.json +2 -81
- package/plugins/src/rails/.claude-plugin/plugin.json +1 -59
- package/plugins/{lisa-nestjs → src/rails}/commands/jira/add-journey.md +1 -1
- package/plugins/{lisa-typescript → src/rails}/commands/jira/create.md +1 -1
- package/plugins/{lisa-typescript → src/rails}/commands/jira/evidence.md +1 -1
- package/plugins/{lisa-typescript → src/rails}/commands/jira/journey.md +1 -1
- package/plugins/{lisa-typescript → src/rails}/commands/jira/verify.md +1 -1
- package/plugins/{lisa-expo → src/rails}/commands/plan/add-test-coverage.md +1 -1
- package/plugins/{lisa-expo → src/rails}/commands/plan/fix-linter-error.md +1 -1
- package/plugins/{lisa-expo → src/rails}/commands/plan/lower-code-complexity.md +1 -1
- package/plugins/{lisa-expo → src/rails}/commands/plan/reduce-max-lines-per-function.md +1 -1
- package/plugins/{lisa-expo → src/rails}/commands/plan/reduce-max-lines.md +1 -1
- package/plugins/src/typescript/.claude-plugin/plugin.json +1 -58
- package/scripts/build-plugins.sh +30 -17
- package/scripts/install-claude-plugins.sh +28 -11
- package/typescript/merge/.claude/settings.json +2 -2
- package/typescript/package-lisa/package.lisa.json +2 -1
- package/plugins/lisa-expo/agents/agent-architect.md +0 -310
- package/plugins/lisa-expo/agents/architecture-specialist.md +0 -53
- package/plugins/lisa-expo/agents/debug-specialist.md +0 -204
- package/plugins/lisa-expo/agents/git-history-analyzer.md +0 -183
- package/plugins/lisa-expo/agents/hooks-expert.md +0 -74
- package/plugins/lisa-expo/agents/implementer.md +0 -54
- package/plugins/lisa-expo/agents/learner.md +0 -44
- package/plugins/lisa-expo/agents/performance-specialist.md +0 -95
- package/plugins/lisa-expo/agents/product-specialist.md +0 -72
- package/plugins/lisa-expo/agents/quality-specialist.md +0 -55
- package/plugins/lisa-expo/agents/security-specialist.md +0 -58
- package/plugins/lisa-expo/agents/skill-evaluator.md +0 -246
- package/plugins/lisa-expo/agents/slash-command-architect.md +0 -87
- package/plugins/lisa-expo/agents/test-specialist.md +0 -64
- package/plugins/lisa-expo/agents/verification-specialist.md +0 -189
- package/plugins/lisa-expo/agents/web-search-researcher.md +0 -112
- package/plugins/lisa-expo/commands/git/commit-and-submit-pr.md +0 -7
- package/plugins/lisa-expo/commands/git/commit-submit-pr-and-verify.md +0 -7
- package/plugins/lisa-expo/commands/git/commit-submit-pr-deploy-and-verify.md +0 -7
- package/plugins/lisa-expo/commands/git/commit.md +0 -7
- package/plugins/lisa-expo/commands/git/prune.md +0 -6
- package/plugins/lisa-expo/commands/git/submit-pr.md +0 -7
- package/plugins/lisa-expo/commands/jira/fix.md +0 -7
- package/plugins/lisa-expo/commands/jira/implement.md +0 -7
- package/plugins/lisa-expo/commands/jira/sync.md +0 -7
- package/plugins/lisa-expo/commands/plan/create.md +0 -6
- package/plugins/lisa-expo/commands/plan/execute.md +0 -7
- package/plugins/lisa-expo/commands/plan/local-code-review.md +0 -6
- package/plugins/lisa-expo/commands/pull-request/review.md +0 -7
- package/plugins/lisa-expo/commands/review/implementation.md +0 -7
- package/plugins/lisa-expo/commands/security/zap-scan.md +0 -6
- package/plugins/lisa-expo/commands/sonarqube/check.md +0 -6
- package/plugins/lisa-expo/commands/sonarqube/fix.md +0 -6
- package/plugins/lisa-expo/commands/tasks/load.md +0 -7
- package/plugins/lisa-expo/commands/tasks/sync.md +0 -7
- package/plugins/lisa-expo/hooks/debug-hook.sh +0 -47
- package/plugins/lisa-expo/hooks/enforce-plan-rules.sh +0 -15
- package/plugins/lisa-expo/hooks/format-on-edit.sh +0 -76
- package/plugins/lisa-expo/hooks/install-pkgs.sh +0 -64
- package/plugins/lisa-expo/hooks/lint-on-edit.sh +0 -81
- package/plugins/lisa-expo/hooks/notify-ntfy.sh +0 -183
- package/plugins/lisa-expo/hooks/setup-jira-cli.sh +0 -52
- package/plugins/lisa-expo/hooks/sg-scan-on-edit.sh +0 -68
- package/plugins/lisa-expo/hooks/sync-tasks.sh +0 -107
- package/plugins/lisa-expo/hooks/ticket-sync-reminder.sh +0 -23
- package/plugins/lisa-expo/hooks/track-plan-sessions.sh +0 -164
- package/plugins/lisa-expo/hooks/verify-completion.sh +0 -77
- package/plugins/lisa-expo/rules/README.md +0 -240
- package/plugins/lisa-expo/rules/coding-philosophy.md +0 -428
- package/plugins/lisa-expo/rules/lisa.md +0 -37
- package/plugins/lisa-expo/rules/verfication.md +0 -596
- package/plugins/lisa-expo/skills/agent-design-best-practices/SKILL.md +0 -219
- package/plugins/lisa-expo/skills/git-commit/SKILL.md +0 -48
- package/plugins/lisa-expo/skills/git-commit-and-submit-pr/SKILL.md +0 -8
- package/plugins/lisa-expo/skills/git-commit-submit-pr-and-verify/SKILL.md +0 -7
- package/plugins/lisa-expo/skills/git-commit-submit-pr-deploy-and-verify/SKILL.md +0 -7
- package/plugins/lisa-expo/skills/git-prune/SKILL.md +0 -35
- package/plugins/lisa-expo/skills/git-submit-pr/SKILL.md +0 -44
- package/plugins/lisa-expo/skills/jira-fix/SKILL.md +0 -16
- package/plugins/lisa-expo/skills/jira-implement/SKILL.md +0 -18
- package/plugins/lisa-expo/skills/jira-sync/SKILL.md +0 -63
- package/plugins/lisa-expo/skills/jsdoc-best-practices/SKILL.md +0 -432
- package/plugins/lisa-expo/skills/lisa-review-implementation/SKILL.md +0 -209
- package/plugins/lisa-expo/skills/plan-add-test-coverage/SKILL.md +0 -44
- package/plugins/lisa-expo/skills/plan-execute/SKILL.md +0 -89
- package/plugins/lisa-expo/skills/plan-fix-linter-error/SKILL.md +0 -45
- package/plugins/lisa-expo/skills/plan-local-code-review/SKILL.md +0 -88
- package/plugins/lisa-expo/skills/plan-lower-code-complexity/SKILL.md +0 -44
- package/plugins/lisa-expo/skills/plan-reduce-max-lines/SKILL.md +0 -45
- package/plugins/lisa-expo/skills/plan-reduce-max-lines-per-function/SKILL.md +0 -46
- package/plugins/lisa-expo/skills/pull-request-review/SKILL.md +0 -68
- package/plugins/lisa-expo/skills/security-zap-scan/SKILL.md +0 -33
- package/plugins/lisa-expo/skills/sonarqube-check/SKILL.md +0 -11
- package/plugins/lisa-expo/skills/sonarqube-fix/SKILL.md +0 -8
- package/plugins/lisa-expo/skills/tasks-load/SKILL.md +0 -88
- package/plugins/lisa-expo/skills/tasks-sync/SKILL.md +0 -108
- package/plugins/lisa-nestjs/agents/agent-architect.md +0 -310
- package/plugins/lisa-nestjs/agents/architecture-specialist.md +0 -53
- package/plugins/lisa-nestjs/agents/debug-specialist.md +0 -204
- package/plugins/lisa-nestjs/agents/git-history-analyzer.md +0 -183
- package/plugins/lisa-nestjs/agents/hooks-expert.md +0 -74
- package/plugins/lisa-nestjs/agents/implementer.md +0 -54
- package/plugins/lisa-nestjs/agents/learner.md +0 -44
- package/plugins/lisa-nestjs/agents/performance-specialist.md +0 -95
- package/plugins/lisa-nestjs/agents/product-specialist.md +0 -72
- package/plugins/lisa-nestjs/agents/quality-specialist.md +0 -55
- package/plugins/lisa-nestjs/agents/security-specialist.md +0 -58
- package/plugins/lisa-nestjs/agents/skill-evaluator.md +0 -246
- package/plugins/lisa-nestjs/agents/slash-command-architect.md +0 -87
- package/plugins/lisa-nestjs/agents/test-specialist.md +0 -64
- package/plugins/lisa-nestjs/agents/verification-specialist.md +0 -189
- package/plugins/lisa-nestjs/agents/web-search-researcher.md +0 -112
- package/plugins/lisa-nestjs/commands/git/commit-and-submit-pr.md +0 -7
- package/plugins/lisa-nestjs/commands/git/commit-submit-pr-and-verify.md +0 -7
- package/plugins/lisa-nestjs/commands/git/commit-submit-pr-deploy-and-verify.md +0 -7
- package/plugins/lisa-nestjs/commands/git/commit.md +0 -7
- package/plugins/lisa-nestjs/commands/git/prune.md +0 -6
- package/plugins/lisa-nestjs/commands/git/submit-pr.md +0 -7
- package/plugins/lisa-nestjs/commands/jira/fix.md +0 -7
- package/plugins/lisa-nestjs/commands/jira/implement.md +0 -7
- package/plugins/lisa-nestjs/commands/jira/sync.md +0 -7
- package/plugins/lisa-nestjs/commands/plan/add-test-coverage.md +0 -7
- package/plugins/lisa-nestjs/commands/plan/create.md +0 -6
- package/plugins/lisa-nestjs/commands/plan/execute.md +0 -7
- package/plugins/lisa-nestjs/commands/plan/fix-linter-error.md +0 -7
- package/plugins/lisa-nestjs/commands/plan/local-code-review.md +0 -6
- package/plugins/lisa-nestjs/commands/plan/lower-code-complexity.md +0 -6
- package/plugins/lisa-nestjs/commands/plan/reduce-max-lines-per-function.md +0 -7
- package/plugins/lisa-nestjs/commands/plan/reduce-max-lines.md +0 -7
- package/plugins/lisa-nestjs/commands/pull-request/review.md +0 -7
- package/plugins/lisa-nestjs/commands/review/implementation.md +0 -7
- package/plugins/lisa-nestjs/commands/security/zap-scan.md +0 -6
- package/plugins/lisa-nestjs/commands/sonarqube/check.md +0 -6
- package/plugins/lisa-nestjs/commands/sonarqube/fix.md +0 -6
- package/plugins/lisa-nestjs/commands/tasks/load.md +0 -7
- package/plugins/lisa-nestjs/commands/tasks/sync.md +0 -7
- package/plugins/lisa-nestjs/hooks/debug-hook.sh +0 -47
- package/plugins/lisa-nestjs/hooks/enforce-plan-rules.sh +0 -15
- package/plugins/lisa-nestjs/hooks/format-on-edit.sh +0 -76
- package/plugins/lisa-nestjs/hooks/install-pkgs.sh +0 -64
- package/plugins/lisa-nestjs/hooks/lint-on-edit.sh +0 -81
- package/plugins/lisa-nestjs/hooks/notify-ntfy.sh +0 -183
- package/plugins/lisa-nestjs/hooks/setup-jira-cli.sh +0 -52
- package/plugins/lisa-nestjs/hooks/sg-scan-on-edit.sh +0 -68
- package/plugins/lisa-nestjs/hooks/sync-tasks.sh +0 -107
- package/plugins/lisa-nestjs/hooks/ticket-sync-reminder.sh +0 -23
- package/plugins/lisa-nestjs/hooks/track-plan-sessions.sh +0 -164
- package/plugins/lisa-nestjs/hooks/verify-completion.sh +0 -77
- package/plugins/lisa-nestjs/rules/README.md +0 -240
- package/plugins/lisa-nestjs/rules/coding-philosophy.md +0 -428
- package/plugins/lisa-nestjs/rules/lisa.md +0 -37
- package/plugins/lisa-nestjs/rules/verfication.md +0 -596
- package/plugins/lisa-nestjs/skills/agent-design-best-practices/SKILL.md +0 -219
- package/plugins/lisa-nestjs/skills/git-commit/SKILL.md +0 -48
- package/plugins/lisa-nestjs/skills/git-commit-and-submit-pr/SKILL.md +0 -8
- package/plugins/lisa-nestjs/skills/git-commit-submit-pr-and-verify/SKILL.md +0 -7
- package/plugins/lisa-nestjs/skills/git-commit-submit-pr-deploy-and-verify/SKILL.md +0 -7
- package/plugins/lisa-nestjs/skills/git-prune/SKILL.md +0 -35
- package/plugins/lisa-nestjs/skills/git-submit-pr/SKILL.md +0 -44
- package/plugins/lisa-nestjs/skills/jira-add-journey/SKILL.md +0 -120
- package/plugins/lisa-nestjs/skills/jira-create/SKILL.md +0 -95
- package/plugins/lisa-nestjs/skills/jira-evidence/SKILL.md +0 -73
- package/plugins/lisa-nestjs/skills/jira-evidence/scripts/post-evidence.sh +0 -163
- package/plugins/lisa-nestjs/skills/jira-fix/SKILL.md +0 -16
- package/plugins/lisa-nestjs/skills/jira-implement/SKILL.md +0 -18
- package/plugins/lisa-nestjs/skills/jira-journey/SKILL.md +0 -125
- package/plugins/lisa-nestjs/skills/jira-journey/scripts/generate-templates.py +0 -233
- package/plugins/lisa-nestjs/skills/jira-journey/scripts/parse-plan.py +0 -368
- package/plugins/lisa-nestjs/skills/jira-sync/SKILL.md +0 -63
- package/plugins/lisa-nestjs/skills/jira-verify/SKILL.md +0 -48
- package/plugins/lisa-nestjs/skills/jsdoc-best-practices/SKILL.md +0 -432
- package/plugins/lisa-nestjs/skills/lisa-review-implementation/SKILL.md +0 -209
- package/plugins/lisa-nestjs/skills/plan-add-test-coverage/SKILL.md +0 -44
- package/plugins/lisa-nestjs/skills/plan-execute/SKILL.md +0 -89
- package/plugins/lisa-nestjs/skills/plan-fix-linter-error/SKILL.md +0 -45
- package/plugins/lisa-nestjs/skills/plan-local-code-review/SKILL.md +0 -88
- package/plugins/lisa-nestjs/skills/plan-lower-code-complexity/SKILL.md +0 -44
- package/plugins/lisa-nestjs/skills/plan-reduce-max-lines/SKILL.md +0 -45
- package/plugins/lisa-nestjs/skills/plan-reduce-max-lines-per-function/SKILL.md +0 -46
- package/plugins/lisa-nestjs/skills/pull-request-review/SKILL.md +0 -68
- package/plugins/lisa-nestjs/skills/security-zap-scan/SKILL.md +0 -33
- package/plugins/lisa-nestjs/skills/sonarqube-check/SKILL.md +0 -11
- package/plugins/lisa-nestjs/skills/sonarqube-fix/SKILL.md +0 -8
- package/plugins/lisa-nestjs/skills/tasks-load/SKILL.md +0 -88
- package/plugins/lisa-nestjs/skills/tasks-sync/SKILL.md +0 -108
- package/plugins/lisa-rails/agents/agent-architect.md +0 -310
- package/plugins/lisa-rails/agents/architecture-specialist.md +0 -53
- package/plugins/lisa-rails/agents/debug-specialist.md +0 -204
- package/plugins/lisa-rails/agents/git-history-analyzer.md +0 -183
- package/plugins/lisa-rails/agents/hooks-expert.md +0 -74
- package/plugins/lisa-rails/agents/implementer.md +0 -54
- package/plugins/lisa-rails/agents/learner.md +0 -44
- package/plugins/lisa-rails/agents/performance-specialist.md +0 -95
- package/plugins/lisa-rails/agents/product-specialist.md +0 -72
- package/plugins/lisa-rails/agents/quality-specialist.md +0 -55
- package/plugins/lisa-rails/agents/security-specialist.md +0 -58
- package/plugins/lisa-rails/agents/skill-evaluator.md +0 -246
- package/plugins/lisa-rails/agents/slash-command-architect.md +0 -87
- package/plugins/lisa-rails/agents/test-specialist.md +0 -64
- package/plugins/lisa-rails/agents/verification-specialist.md +0 -189
- package/plugins/lisa-rails/agents/web-search-researcher.md +0 -112
- package/plugins/lisa-rails/commands/git/commit-and-submit-pr.md +0 -7
- package/plugins/lisa-rails/commands/git/commit-submit-pr-and-verify.md +0 -7
- package/plugins/lisa-rails/commands/git/commit-submit-pr-deploy-and-verify.md +0 -7
- package/plugins/lisa-rails/commands/git/commit.md +0 -7
- package/plugins/lisa-rails/commands/git/prune.md +0 -6
- package/plugins/lisa-rails/commands/git/submit-pr.md +0 -7
- package/plugins/lisa-rails/commands/jira/fix.md +0 -7
- package/plugins/lisa-rails/commands/jira/implement.md +0 -7
- package/plugins/lisa-rails/commands/jira/sync.md +0 -7
- package/plugins/lisa-rails/commands/plan/create.md +0 -6
- package/plugins/lisa-rails/commands/plan/execute.md +0 -7
- package/plugins/lisa-rails/commands/plan/local-code-review.md +0 -6
- package/plugins/lisa-rails/commands/pull-request/review.md +0 -7
- package/plugins/lisa-rails/commands/review/implementation.md +0 -7
- package/plugins/lisa-rails/commands/security/zap-scan.md +0 -6
- package/plugins/lisa-rails/commands/sonarqube/check.md +0 -6
- package/plugins/lisa-rails/commands/sonarqube/fix.md +0 -6
- package/plugins/lisa-rails/commands/tasks/load.md +0 -7
- package/plugins/lisa-rails/commands/tasks/sync.md +0 -7
- package/plugins/lisa-rails/hooks/debug-hook.sh +0 -47
- package/plugins/lisa-rails/hooks/enforce-plan-rules.sh +0 -15
- package/plugins/lisa-rails/hooks/format-on-edit.sh +0 -76
- package/plugins/lisa-rails/hooks/install-pkgs.sh +0 -64
- package/plugins/lisa-rails/hooks/lint-on-edit.sh +0 -81
- package/plugins/lisa-rails/hooks/notify-ntfy.sh +0 -183
- package/plugins/lisa-rails/hooks/setup-jira-cli.sh +0 -52
- package/plugins/lisa-rails/hooks/sg-scan-on-edit.sh +0 -68
- package/plugins/lisa-rails/hooks/sync-tasks.sh +0 -107
- package/plugins/lisa-rails/hooks/ticket-sync-reminder.sh +0 -23
- package/plugins/lisa-rails/hooks/track-plan-sessions.sh +0 -164
- package/plugins/lisa-rails/hooks/verify-completion.sh +0 -77
- package/plugins/lisa-rails/rules/README.md +0 -240
- package/plugins/lisa-rails/rules/coding-philosophy.md +0 -428
- package/plugins/lisa-rails/rules/verfication.md +0 -596
- package/plugins/lisa-rails/skills/agent-design-best-practices/SKILL.md +0 -219
- package/plugins/lisa-rails/skills/git-commit/SKILL.md +0 -48
- package/plugins/lisa-rails/skills/git-commit-and-submit-pr/SKILL.md +0 -8
- package/plugins/lisa-rails/skills/git-commit-submit-pr-and-verify/SKILL.md +0 -7
- package/plugins/lisa-rails/skills/git-commit-submit-pr-deploy-and-verify/SKILL.md +0 -7
- package/plugins/lisa-rails/skills/git-prune/SKILL.md +0 -35
- package/plugins/lisa-rails/skills/git-submit-pr/SKILL.md +0 -44
- package/plugins/lisa-rails/skills/jira-fix/SKILL.md +0 -16
- package/plugins/lisa-rails/skills/jira-implement/SKILL.md +0 -18
- package/plugins/lisa-rails/skills/jira-journey/scripts/generate-templates.py +0 -233
- package/plugins/lisa-rails/skills/jira-journey/scripts/parse-plan.py +0 -368
- package/plugins/lisa-rails/skills/jira-sync/SKILL.md +0 -63
- package/plugins/lisa-rails/skills/jsdoc-best-practices/SKILL.md +0 -432
- package/plugins/lisa-rails/skills/lisa-review-implementation/SKILL.md +0 -209
- package/plugins/lisa-rails/skills/plan-execute/SKILL.md +0 -89
- package/plugins/lisa-rails/skills/plan-local-code-review/SKILL.md +0 -88
- package/plugins/lisa-rails/skills/pull-request-review/SKILL.md +0 -68
- package/plugins/lisa-rails/skills/security-zap-scan/SKILL.md +0 -33
- package/plugins/lisa-rails/skills/sonarqube-check/SKILL.md +0 -11
- package/plugins/lisa-rails/skills/sonarqube-fix/SKILL.md +0 -8
- package/plugins/lisa-rails/skills/tasks-load/SKILL.md +0 -88
- package/plugins/lisa-rails/skills/tasks-sync/SKILL.md +0 -108
- package/plugins/lisa-typescript/agents/agent-architect.md +0 -310
- package/plugins/lisa-typescript/agents/architecture-specialist.md +0 -53
- package/plugins/lisa-typescript/agents/debug-specialist.md +0 -204
- package/plugins/lisa-typescript/agents/git-history-analyzer.md +0 -183
- package/plugins/lisa-typescript/agents/hooks-expert.md +0 -74
- package/plugins/lisa-typescript/agents/implementer.md +0 -54
- package/plugins/lisa-typescript/agents/learner.md +0 -44
- package/plugins/lisa-typescript/agents/performance-specialist.md +0 -95
- package/plugins/lisa-typescript/agents/product-specialist.md +0 -72
- package/plugins/lisa-typescript/agents/quality-specialist.md +0 -55
- package/plugins/lisa-typescript/agents/security-specialist.md +0 -58
- package/plugins/lisa-typescript/agents/skill-evaluator.md +0 -246
- package/plugins/lisa-typescript/agents/slash-command-architect.md +0 -87
- package/plugins/lisa-typescript/agents/test-specialist.md +0 -64
- package/plugins/lisa-typescript/agents/verification-specialist.md +0 -189
- package/plugins/lisa-typescript/agents/web-search-researcher.md +0 -112
- package/plugins/lisa-typescript/commands/git/commit-and-submit-pr.md +0 -7
- package/plugins/lisa-typescript/commands/git/commit-submit-pr-and-verify.md +0 -7
- package/plugins/lisa-typescript/commands/git/commit-submit-pr-deploy-and-verify.md +0 -7
- package/plugins/lisa-typescript/commands/git/commit.md +0 -7
- package/plugins/lisa-typescript/commands/git/prune.md +0 -6
- package/plugins/lisa-typescript/commands/git/submit-pr.md +0 -7
- package/plugins/lisa-typescript/commands/jira/fix.md +0 -7
- package/plugins/lisa-typescript/commands/jira/implement.md +0 -7
- package/plugins/lisa-typescript/commands/jira/sync.md +0 -7
- package/plugins/lisa-typescript/commands/plan/add-test-coverage.md +0 -7
- package/plugins/lisa-typescript/commands/plan/create.md +0 -6
- package/plugins/lisa-typescript/commands/plan/execute.md +0 -7
- package/plugins/lisa-typescript/commands/plan/fix-linter-error.md +0 -7
- package/plugins/lisa-typescript/commands/plan/local-code-review.md +0 -6
- package/plugins/lisa-typescript/commands/plan/lower-code-complexity.md +0 -6
- package/plugins/lisa-typescript/commands/plan/reduce-max-lines-per-function.md +0 -7
- package/plugins/lisa-typescript/commands/plan/reduce-max-lines.md +0 -7
- package/plugins/lisa-typescript/commands/pull-request/review.md +0 -7
- package/plugins/lisa-typescript/commands/review/implementation.md +0 -7
- package/plugins/lisa-typescript/commands/security/zap-scan.md +0 -6
- package/plugins/lisa-typescript/commands/sonarqube/check.md +0 -6
- package/plugins/lisa-typescript/commands/sonarqube/fix.md +0 -6
- package/plugins/lisa-typescript/commands/tasks/load.md +0 -7
- package/plugins/lisa-typescript/commands/tasks/sync.md +0 -7
- package/plugins/lisa-typescript/hooks/debug-hook.sh +0 -47
- package/plugins/lisa-typescript/hooks/enforce-plan-rules.sh +0 -15
- package/plugins/lisa-typescript/hooks/install-pkgs.sh +0 -64
- package/plugins/lisa-typescript/hooks/notify-ntfy.sh +0 -183
- package/plugins/lisa-typescript/hooks/setup-jira-cli.sh +0 -52
- package/plugins/lisa-typescript/hooks/sync-tasks.sh +0 -107
- package/plugins/lisa-typescript/hooks/ticket-sync-reminder.sh +0 -23
- package/plugins/lisa-typescript/hooks/track-plan-sessions.sh +0 -164
- package/plugins/lisa-typescript/hooks/verify-completion.sh +0 -77
- package/plugins/lisa-typescript/rules/README.md +0 -240
- package/plugins/lisa-typescript/rules/coding-philosophy.md +0 -428
- package/plugins/lisa-typescript/rules/verfication.md +0 -596
- package/plugins/lisa-typescript/skills/agent-design-best-practices/SKILL.md +0 -219
- package/plugins/lisa-typescript/skills/git-commit/SKILL.md +0 -48
- package/plugins/lisa-typescript/skills/git-commit-and-submit-pr/SKILL.md +0 -8
- package/plugins/lisa-typescript/skills/git-commit-submit-pr-and-verify/SKILL.md +0 -7
- package/plugins/lisa-typescript/skills/git-commit-submit-pr-deploy-and-verify/SKILL.md +0 -7
- package/plugins/lisa-typescript/skills/git-prune/SKILL.md +0 -35
- package/plugins/lisa-typescript/skills/git-submit-pr/SKILL.md +0 -44
- package/plugins/lisa-typescript/skills/jira-add-journey/SKILL.md +0 -120
- package/plugins/lisa-typescript/skills/jira-create/SKILL.md +0 -95
- package/plugins/lisa-typescript/skills/jira-evidence/SKILL.md +0 -73
- package/plugins/lisa-typescript/skills/jira-evidence/scripts/post-evidence.sh +0 -163
- package/plugins/lisa-typescript/skills/jira-fix/SKILL.md +0 -16
- package/plugins/lisa-typescript/skills/jira-implement/SKILL.md +0 -18
- package/plugins/lisa-typescript/skills/jira-journey/SKILL.md +0 -125
- package/plugins/lisa-typescript/skills/jira-journey/scripts/generate-templates.py +0 -233
- package/plugins/lisa-typescript/skills/jira-journey/scripts/parse-plan.py +0 -368
- package/plugins/lisa-typescript/skills/jira-sync/SKILL.md +0 -63
- package/plugins/lisa-typescript/skills/jira-verify/SKILL.md +0 -48
- package/plugins/lisa-typescript/skills/jsdoc-best-practices/SKILL.md +0 -432
- package/plugins/lisa-typescript/skills/lisa-review-implementation/SKILL.md +0 -209
- package/plugins/lisa-typescript/skills/plan-add-test-coverage/SKILL.md +0 -44
- package/plugins/lisa-typescript/skills/plan-execute/SKILL.md +0 -89
- package/plugins/lisa-typescript/skills/plan-fix-linter-error/SKILL.md +0 -45
- package/plugins/lisa-typescript/skills/plan-local-code-review/SKILL.md +0 -88
- package/plugins/lisa-typescript/skills/plan-lower-code-complexity/SKILL.md +0 -44
- package/plugins/lisa-typescript/skills/plan-reduce-max-lines/SKILL.md +0 -45
- package/plugins/lisa-typescript/skills/plan-reduce-max-lines-per-function/SKILL.md +0 -46
- package/plugins/lisa-typescript/skills/pull-request-review/SKILL.md +0 -68
- package/plugins/lisa-typescript/skills/security-zap-scan/SKILL.md +0 -33
- package/plugins/lisa-typescript/skills/sonarqube-check/SKILL.md +0 -11
- package/plugins/lisa-typescript/skills/sonarqube-fix/SKILL.md +0 -8
- package/plugins/lisa-typescript/skills/tasks-load/SKILL.md +0 -88
- package/plugins/lisa-typescript/skills/tasks-sync/SKILL.md +0 -108
- package/plugins/src/base/hooks/format-on-edit.sh +0 -76
- package/plugins/src/base/hooks/lint-on-edit.sh +0 -81
- package/plugins/src/base/hooks/sg-scan-on-edit.sh +0 -68
- package/plugins/src/base/rules/lisa.md +0 -37
- /package/plugins/{lisa-cdk → lisa}/agents/agent-architect.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/agents/architecture-specialist.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/agents/debug-specialist.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/agents/git-history-analyzer.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/agents/hooks-expert.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/agents/implementer.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/agents/learner.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/agents/performance-specialist.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/agents/product-specialist.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/agents/quality-specialist.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/agents/security-specialist.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/agents/skill-evaluator.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/agents/slash-command-architect.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/agents/test-specialist.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/agents/verification-specialist.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/agents/web-search-researcher.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/commands/git/commit-and-submit-pr.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/commands/git/commit-submit-pr-and-verify.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/commands/git/commit-submit-pr-deploy-and-verify.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/commands/git/commit.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/commands/git/prune.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/commands/git/submit-pr.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/commands/jira/add-journey.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/commands/jira/create.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/commands/jira/evidence.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/commands/jira/fix.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/commands/jira/implement.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/commands/jira/journey.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/commands/jira/sync.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/commands/jira/verify.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/commands/plan/add-test-coverage.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/commands/plan/create.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/commands/plan/execute.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/commands/plan/fix-linter-error.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/commands/plan/local-code-review.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/commands/plan/lower-code-complexity.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/commands/plan/reduce-max-lines-per-function.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/commands/plan/reduce-max-lines.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/commands/pull-request/review.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/commands/review/implementation.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/commands/security/zap-scan.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/commands/sonarqube/check.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/commands/sonarqube/fix.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/commands/tasks/load.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/commands/tasks/sync.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/hooks/debug-hook.sh +0 -0
- /package/plugins/{lisa-cdk → lisa}/hooks/enforce-plan-rules.sh +0 -0
- /package/plugins/{lisa-cdk → lisa}/hooks/install-pkgs.sh +0 -0
- /package/plugins/{lisa-cdk → lisa}/hooks/notify-ntfy.sh +0 -0
- /package/plugins/{lisa-cdk → lisa}/hooks/setup-jira-cli.sh +0 -0
- /package/plugins/{lisa-cdk → lisa}/hooks/sync-tasks.sh +0 -0
- /package/plugins/{lisa-cdk → lisa}/hooks/ticket-sync-reminder.sh +0 -0
- /package/plugins/{lisa-cdk → lisa}/hooks/track-plan-sessions.sh +0 -0
- /package/plugins/{lisa-cdk → lisa}/hooks/verify-completion.sh +0 -0
- /package/plugins/{lisa-cdk → lisa}/rules/README.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/rules/coding-philosophy.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/rules/verfication.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/skills/agent-design-best-practices/SKILL.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/skills/git-commit/SKILL.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/skills/git-commit-and-submit-pr/SKILL.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/skills/git-commit-submit-pr-and-verify/SKILL.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/skills/git-commit-submit-pr-deploy-and-verify/SKILL.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/skills/git-prune/SKILL.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/skills/git-submit-pr/SKILL.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/skills/jira-add-journey/SKILL.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/skills/jira-create/SKILL.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/skills/jira-evidence/SKILL.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/skills/jira-evidence/scripts/post-evidence.sh +0 -0
- /package/plugins/{lisa-cdk → lisa}/skills/jira-fix/SKILL.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/skills/jira-implement/SKILL.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/skills/jira-journey/SKILL.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/skills/jira-journey/scripts/generate-templates.py +0 -0
- /package/plugins/{lisa-cdk → lisa}/skills/jira-journey/scripts/parse-plan.py +0 -0
- /package/plugins/{lisa-cdk → lisa}/skills/jira-sync/SKILL.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/skills/jira-verify/SKILL.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/skills/jsdoc-best-practices/SKILL.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/skills/lisa-review-implementation/SKILL.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/skills/plan-add-test-coverage/SKILL.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/skills/plan-execute/SKILL.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/skills/plan-fix-linter-error/SKILL.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/skills/plan-local-code-review/SKILL.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/skills/plan-lower-code-complexity/SKILL.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/skills/plan-reduce-max-lines/SKILL.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/skills/plan-reduce-max-lines-per-function/SKILL.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/skills/pull-request-review/SKILL.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/skills/security-zap-scan/SKILL.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/skills/sonarqube-check/SKILL.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/skills/sonarqube-fix/SKILL.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/skills/tasks-load/SKILL.md +0 -0
- /package/plugins/{lisa-cdk → lisa}/skills/tasks-sync/SKILL.md +0 -0
- /package/plugins/{lisa-cdk → src/typescript}/hooks/format-on-edit.sh +0 -0
- /package/plugins/{lisa-cdk → src/typescript}/hooks/lint-on-edit.sh +0 -0
- /package/plugins/{lisa-cdk → src/typescript}/hooks/sg-scan-on-edit.sh +0 -0
- /package/plugins/{lisa-cdk → src/typescript}/rules/lisa.md +0 -0
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: plan-execute
|
|
3
|
-
description: This skill should be used for any non-trivial request — features, bugs, stories, epics, spikes, or multi-step tasks. It accepts a ticket URL (Jira, Linear, GitHub), a file path containing a spec, or a plain-text prompt. It assembles an agent team, breaks the work into structured tasks, and manages the full lifecycle from research through implementation, code review, deploy, and empirical verification.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
$ARGUMENTS is either a url to a ticket containing the request, a pointer to a file containing the request or the request in text format.
|
|
8
|
-
|
|
9
|
-
If it's a ticket, use either the Jira CLI (if it's a jira ticket), the Linear CLI (if it's a linear ticket) or the Github CLI (if it's a github ticket) to read and fully understand the request, including any comments or meta data associated with the ticket.
|
|
10
|
-
|
|
11
|
-
If it's a file, read the entire file without offset or limit to understand the request.
|
|
12
|
-
|
|
13
|
-
Is this a simple request? Just execute it as usual and ignore the rest...
|
|
14
|
-
|
|
15
|
-
Otherwise:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
Review all available agent types listed in the Task tool's `subagent_type` options. This includes built-in agents (like `Explore`, `general-purpose`), custom agents (from `.claude/agents/`), and plugin agents (from `.claude/settings.json` `enabledPlugins`). For each agent, explain in one sentence why it IS or IS NOT relevant to this task. Then select all agents that are relevant. You MUST justify excluding an agent — inclusion is the default.
|
|
19
|
-
|
|
20
|
-
When deciding the agents to use, consider:
|
|
21
|
-
* Before any task is implemented, the agent team must explore the codebase for relevant research (documentation, code, git history, etc) and update each task's `metadata.relevant_documentation` with the findings.
|
|
22
|
-
* Each task must be reviewed by the team to make sure their verification passes.
|
|
23
|
-
* Each task must have their learnings reviewed by the learner subagent.
|
|
24
|
-
|
|
25
|
-
NOTE: Every team must include the Explore agent
|
|
26
|
-
|
|
27
|
-
Create an agent team composed of the selected agents. Spawn every agent with `mode: "plan"` so they must submit their plan for team lead approval before making any file changes.
|
|
28
|
-
|
|
29
|
-
Use the TeamCreate tool to create the team before doing anything else.
|
|
30
|
-
|
|
31
|
-
Using the general-purpose agent in Team Lead session, Determine the name of this plan
|
|
32
|
-
|
|
33
|
-
Using the general-purpose agent in Team Lead session, Determine what branch to use:
|
|
34
|
-
1. Are we already on a feature branch with an open pull request? Use that and set the target branch to the existing target of the pull request
|
|
35
|
-
2. Are we on a feature branch without an open pull request? Use the branch, but ask the human what branch to target for the PR
|
|
36
|
-
3. Are we on an environment branch (dev, staging, main, prod, production)? Check out a feature branch named for this plan and set the target branch of the PR to the environment branch
|
|
37
|
-
|
|
38
|
-
Using the general-purpose agent in Team Lead session, Determine what type of request this is for:
|
|
39
|
-
1. Informational/Spike
|
|
40
|
-
2. Task
|
|
41
|
-
3. Bug
|
|
42
|
-
4. Feature/Story
|
|
43
|
-
5. Epic
|
|
44
|
-
|
|
45
|
-
IF it's a bug, Using the general-purpose agent in Team Lead session, determine how you will replicate the bug empirically:
|
|
46
|
-
1. Examples:
|
|
47
|
-
1. Write a simple API client and call the offending API
|
|
48
|
-
2. Start the server on localhost and Use the Playwright CLI or Chrome DevTools
|
|
49
|
-
|
|
50
|
-
Using the general-purpose agent in Team Lead session, determine how you will know that the task is fully complete
|
|
51
|
-
1. Examples
|
|
52
|
-
1. Direct deploy the changes to dev and then Write a simple API client and call the offending API
|
|
53
|
-
2. Start the server on localhost and then Use the Playwright CLI or Chrome DevTools
|
|
54
|
-
|
|
55
|
-
Using the general-purpose agent in Team Lead session, create tasks needed to complete the request.
|
|
56
|
-
|
|
57
|
-
Every task MUST include this JSON metadata block. Do NOT omit `skills` (use `[]` if none), `learnings` (use `[]` if none) or `verification`.
|
|
58
|
-
|
|
59
|
-
```json
|
|
60
|
-
{
|
|
61
|
-
"plan": "<plan-name>",
|
|
62
|
-
"type": "spike|bug|task|epic|story",
|
|
63
|
-
"acceptance_criteria": ["..."],
|
|
64
|
-
"relevant_documentation": "",
|
|
65
|
-
"testing_requirements": ["..."],
|
|
66
|
-
"skills": ["..."],
|
|
67
|
-
"learnings": ["..."],
|
|
68
|
-
"verification": {
|
|
69
|
-
"type": "test|ui-recording|test-coverage|api-test|manual-check|documentation",
|
|
70
|
-
"command": "the proof command",
|
|
71
|
-
"expected": "what success looks like"
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
Before any task is implemented, the agent team must explore the codebase for relevant research (documentation, code, git history, etc) and update each task's `metadata.relevant_documentation` with the findings.
|
|
77
|
-
|
|
78
|
-
Each task must be reviewed by the team to make sure their verification passes.
|
|
79
|
-
Each task must have their learnings reviewed by the learner subagent.
|
|
80
|
-
|
|
81
|
-
Before shutting down the team:
|
|
82
|
-
|
|
83
|
-
1. Commit ALL outstanding changes in logical batches on the branch (minus sensitive data/information) — not just changes made by the agent team. This includes pre-existing uncommitted changes that were on the branch before the plan started. Do NOT filter commits to only "task-related" files. If it shows up in git status, it gets committed (unless it contains secrets).
|
|
84
|
-
2. Push the changes - if any pre-push hook blocks you, create a task for the agent team to fix the error/problem whether it was pre-existing or not
|
|
85
|
-
3. Open a pull request with auto-merge on
|
|
86
|
-
4. Monitor the PR. Create a task for the agent team to resolve any code review comments by either implementing the suggestions or commenting why they should not be implemented and close the comment. Fix any failing checks and repush. Continue all checks pass
|
|
87
|
-
5. Monitor the deploy action that triggers automatically from the successful merge
|
|
88
|
-
6. If it fails, create a task for the agent team to fix the failure, open a new PR and then go back to step 4
|
|
89
|
-
7. Execute empirical verification. If empirical verification succeeds, you're finished, otherwise, create a task for the agent team to find out why it failed, fix it and return to step 1 (repeat this until you get all the way through)
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: plan-fix-linter-error
|
|
3
|
-
description: This skill should be used when fixing all violations of one or more ESLint rules across the codebase. It runs the linter, groups violations by rule and file, generates a brief with fix strategies, and creates a plan with tasks to implement the fixes.
|
|
4
|
-
allowed-tools: ["Read", "Bash", "Glob", "Grep"]
|
|
5
|
-
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Fix Linter Errors
|
|
9
|
-
|
|
10
|
-
Target rules: $ARGUMENTS
|
|
11
|
-
|
|
12
|
-
If no arguments provided, prompt the user for at least one lint rule name.
|
|
13
|
-
|
|
14
|
-
## Step 1: Gather Requirements
|
|
15
|
-
|
|
16
|
-
1. **Parse rules** from $ARGUMENTS (space-separated)
|
|
17
|
-
2. **Run linter** to collect all violations:
|
|
18
|
-
```bash
|
|
19
|
-
bun run lint 2>&1
|
|
20
|
-
```
|
|
21
|
-
3. **Group violations** by rule, then by file, noting:
|
|
22
|
-
- File path and line numbers
|
|
23
|
-
- Violation count per file
|
|
24
|
-
- Sample error messages
|
|
25
|
-
|
|
26
|
-
## Step 2: Compile Brief and Delegate
|
|
27
|
-
|
|
28
|
-
Compile the gathered information into a structured brief:
|
|
29
|
-
|
|
30
|
-
```
|
|
31
|
-
Fix ESLint violations for rules: $ARGUMENTS
|
|
32
|
-
|
|
33
|
-
Violations by rule:
|
|
34
|
-
- [rule-name-1]: X total violations across Y files
|
|
35
|
-
- [file]: N violations (lines: ...)
|
|
36
|
-
- ...
|
|
37
|
-
- [rule-name-2]: X total violations across Y files
|
|
38
|
-
- ...
|
|
39
|
-
|
|
40
|
-
Fix strategies: extract functions, early returns, apply formatting, add types
|
|
41
|
-
|
|
42
|
-
Verification: `bun run lint 2>&1 | grep -E "($ARGUMENTS)" | wc -l` → Expected: 0
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
Invoke `/plan-execute` with this brief to create the implementation plan.
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: plan-local-code-review
|
|
3
|
-
description: This skill should be used when performing a code review on local changes on the current branch compared to the main branch. It uses multiple parallel agents to check for bugs, CLAUDE.md compliance, git history context, previous PR comments, and code comment adherence, then scores and filters findings by confidence level.
|
|
4
|
-
disable-model-invocation: false
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
Provide a code review for the local changes on the current branch compared to the main branch.
|
|
8
|
-
|
|
9
|
-
To do this, follow these steps precisely:
|
|
10
|
-
|
|
11
|
-
1. Use a Haiku agent to check the current git state:
|
|
12
|
-
- Run `git branch --show-current` to get the current branch name
|
|
13
|
-
- Run `git log main..HEAD --oneline` to see commits on this branch
|
|
14
|
-
- Run `git diff main...HEAD --stat` to see changed files
|
|
15
|
-
- If the current branch IS main, or there are no commits/changes compared to main, do not proceed.
|
|
16
|
-
2. Use another Haiku agent to give you a list of file paths to (but not the contents of) any relevant CLAUDE.md files from the codebase: the root CLAUDE.md file (if one exists), as well as any CLAUDE.md files in the directories whose files were modified on this branch
|
|
17
|
-
3. Use a Haiku agent to analyze the branch changes:
|
|
18
|
-
- Run `git log main..HEAD --format="%s%n%b"` to get commit messages
|
|
19
|
-
- Run `git diff main...HEAD` to get the full diff
|
|
20
|
-
- Return a summary of the changes
|
|
21
|
-
4. Then, launch 5 parallel Sonnet agents to independently code review the change. The agents should do the following, then return a list of issues and the reason each issue was flagged (eg. CLAUDE.md adherence, bug, historical git context, etc.):
|
|
22
|
-
a. Agent #1: Audit the changes to make sure they comply with the CLAUDE.md. Note that CLAUDE.md is guidance for Claude as it writes code, so not all instructions will be applicable during code review.
|
|
23
|
-
b. Agent #2: Read the file changes (via `git diff main...HEAD`), then do a shallow scan for obvious bugs. Avoid reading extra context beyond the changes, focusing just on the changes themselves. Focus on large bugs, and avoid small issues and nitpicks. Ignore likely false positives.
|
|
24
|
-
c. Agent #3: Read the git blame and history of the code modified, to identify any bugs in light of that historical context
|
|
25
|
-
d. Agent #4: Read previous pull requests that touched these files, and check for any comments on those pull requests that may also apply to the current changes.
|
|
26
|
-
e. Agent #5: Read code comments in the modified files, and make sure the changes comply with any guidance in the comments.
|
|
27
|
-
5. For each issue found in #4, launch a parallel Haiku agent that takes the diff, issue description, and list of CLAUDE.md files (from step 2), and returns a score to indicate the agent's level of confidence for whether the issue is real or false positive. To do that, the agent should score each issue on a scale from 0-100, indicating its level of confidence. For issues that were flagged due to CLAUDE.md instructions, the agent should double check that the CLAUDE.md actually calls out that issue specifically. The scale is (give this rubric to the agent verbatim):
|
|
28
|
-
a. 0: Not confident at all. This is a false positive that doesn't stand up to light scrutiny, or is a pre-existing issue.
|
|
29
|
-
b. 25: Somewhat confident. This might be a real issue, but may also be a false positive. The agent wasn't able to verify that it's a real issue. If the issue is stylistic, it is one that was not explicitly called out in the relevant CLAUDE.md.
|
|
30
|
-
c. 50: Moderately confident. The agent was able to verify this is a real issue, but it might be a nitpick or not happen very often in practice. Relative to the rest of the changes, it's not very important.
|
|
31
|
-
d. 75: Highly confident. The agent double checked the issue, and verified that it is very likely it is a real issue that will be hit in practice. The existing approach is insufficient. The issue is very important and will directly impact the code's functionality, or it is an issue that is directly mentioned in the relevant CLAUDE.md.
|
|
32
|
-
e. 100: Absolutely certain. The agent double checked the issue, and confirmed that it is definitely a real issue, that will happen frequently in practice. The evidence directly confirms this.
|
|
33
|
-
6. Filter out any issues with a score less than 80.
|
|
34
|
-
7. Write the review to claude-review.md. When writing your review, keep in mind to:
|
|
35
|
-
a. Keep your output brief
|
|
36
|
-
b. Avoid emojis
|
|
37
|
-
c. Reference relevant files and line numbers
|
|
38
|
-
8. Briefly summarize claude-review.md as direct output to the user
|
|
39
|
-
|
|
40
|
-
Examples of false positives, for steps 4 and 5:
|
|
41
|
-
|
|
42
|
-
- Pre-existing issues
|
|
43
|
-
- Something that looks like a bug but is not actually a bug
|
|
44
|
-
- Pedantic nitpicks that a senior engineer wouldn't call out
|
|
45
|
-
- Issues that a linter, typechecker, or compiler would catch (eg. missing or incorrect imports, type errors, broken tests, formatting issues, pedantic style issues like newlines). No need to run these build steps yourself -- it is safe to assume that they will be run separately as part of CI.
|
|
46
|
-
- General code quality issues (eg. lack of test coverage, general security issues, poor documentation), unless explicitly required in CLAUDE.md
|
|
47
|
-
- Issues that are called out in CLAUDE.md, but explicitly silenced in the code (eg. due to a lint ignore comment)
|
|
48
|
-
- Changes in functionality that are likely intentional or are directly related to the broader change
|
|
49
|
-
- Real issues, but on lines that were not modified in the current branch
|
|
50
|
-
|
|
51
|
-
Notes:
|
|
52
|
-
|
|
53
|
-
- Do not check build signal or attempt to build or typecheck the app. These will run separately, and are not relevant to your code review.
|
|
54
|
-
- Use git commands to analyze local changes (not `gh` commands for remote PRs)
|
|
55
|
-
- Make a todo list first
|
|
56
|
-
- You must cite each bug with file path and line number (eg. if referring to a CLAUDE.md, you must reference it)
|
|
57
|
-
- For your final output, follow the following format precisely (assuming for this example that you found 3 issues):
|
|
58
|
-
|
|
59
|
-
---
|
|
60
|
-
|
|
61
|
-
### Code review for branch `<branch-name>`
|
|
62
|
-
|
|
63
|
-
Reviewed X commits with changes to Y files.
|
|
64
|
-
|
|
65
|
-
Found 3 issues:
|
|
66
|
-
|
|
67
|
-
1. **<brief description of bug>** (CLAUDE.md says "<...>")
|
|
68
|
-
- File: `path/to/file.ts:L10-L15`
|
|
69
|
-
|
|
70
|
-
2. **<brief description of bug>** (some/other/CLAUDE.md says "<...>")
|
|
71
|
-
- File: `path/to/other-file.ts:L25-L30`
|
|
72
|
-
|
|
73
|
-
3. **<brief description of bug>** (bug due to <reasoning>)
|
|
74
|
-
- File: `path/to/another-file.ts:L5-L8`
|
|
75
|
-
|
|
76
|
-
---
|
|
77
|
-
|
|
78
|
-
- Or, if you found no issues:
|
|
79
|
-
|
|
80
|
-
---
|
|
81
|
-
|
|
82
|
-
### Code review for branch `<branch-name>`
|
|
83
|
-
|
|
84
|
-
Reviewed X commits with changes to Y files.
|
|
85
|
-
|
|
86
|
-
No issues found. Checked for bugs and CLAUDE.md compliance.
|
|
87
|
-
|
|
88
|
-
---
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: plan-lower-code-complexity
|
|
3
|
-
description: This skill should be used when reducing the cognitive complexity threshold of the codebase. It lowers the threshold by 2, identifies functions that exceed the new limit, generates a brief with refactoring strategies, and creates a plan with tasks to fix all violations.
|
|
4
|
-
allowed-tools: ["Read", "Bash", "Glob", "Grep"]
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Lower Code Complexity
|
|
8
|
-
|
|
9
|
-
Reduces the cognitive complexity threshold by 2 and fixes all violations.
|
|
10
|
-
|
|
11
|
-
## Step 1: Gather Requirements
|
|
12
|
-
|
|
13
|
-
1. **Read current threshold** from eslint config (cognitive-complexity rule)
|
|
14
|
-
2. **Calculate new threshold**: current - 2 (e.g., 15 -> 13)
|
|
15
|
-
3. **Run lint** with the new threshold to find violations:
|
|
16
|
-
```bash
|
|
17
|
-
bun run lint 2>&1 | grep "cognitive-complexity"
|
|
18
|
-
```
|
|
19
|
-
4. **Note for each violation**:
|
|
20
|
-
- File path and line number
|
|
21
|
-
- Function name
|
|
22
|
-
- Current complexity score
|
|
23
|
-
|
|
24
|
-
If no violations at new threshold, report success and exit.
|
|
25
|
-
|
|
26
|
-
## Step 2: Compile Brief and Delegate
|
|
27
|
-
|
|
28
|
-
Compile the gathered information into a structured brief:
|
|
29
|
-
|
|
30
|
-
```
|
|
31
|
-
Reduce cognitive complexity threshold from [current] to [new].
|
|
32
|
-
|
|
33
|
-
Functions exceeding threshold (ordered by complexity):
|
|
34
|
-
1. [file:function] (complexity: X, target: [new]) - Line Y
|
|
35
|
-
2. ...
|
|
36
|
-
|
|
37
|
-
Configuration change: [eslint config path], cognitive-complexity from [current] to [new]
|
|
38
|
-
|
|
39
|
-
Refactoring strategies: extract functions, early returns, extract conditions, use lookup tables
|
|
40
|
-
|
|
41
|
-
Verification: `bun run lint 2>&1 | grep "cognitive-complexity" | wc -l` → Expected: 0
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
Invoke `/plan-execute` with this brief to create the implementation plan.
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: plan-reduce-max-lines
|
|
3
|
-
description: This skill should be used when reducing the maximum file lines threshold and fixing all violations. It updates the eslint threshold configuration, identifies files exceeding the new limit, generates a brief with refactoring strategies, and creates a plan with tasks to split oversized files.
|
|
4
|
-
allowed-tools: ["Read", "Bash", "Glob", "Grep"]
|
|
5
|
-
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Reduce Max Lines
|
|
9
|
-
|
|
10
|
-
Target threshold: $ARGUMENTS lines per file
|
|
11
|
-
|
|
12
|
-
If no argument provided, prompt the user for a target.
|
|
13
|
-
|
|
14
|
-
## Step 1: Gather Requirements
|
|
15
|
-
|
|
16
|
-
1. **Read current config** from eslint thresholds (eslint.thresholds.json or similar)
|
|
17
|
-
2. **Run lint** with the new threshold to find violations:
|
|
18
|
-
```bash
|
|
19
|
-
bun run lint 2>&1 | grep "max-lines"
|
|
20
|
-
```
|
|
21
|
-
3. **Note for each violation**:
|
|
22
|
-
- File path
|
|
23
|
-
- Current line count
|
|
24
|
-
|
|
25
|
-
If no violations at $ARGUMENTS, report success and exit.
|
|
26
|
-
|
|
27
|
-
## Step 2: Compile Brief and Delegate
|
|
28
|
-
|
|
29
|
-
Compile the gathered information into a structured brief:
|
|
30
|
-
|
|
31
|
-
```
|
|
32
|
-
Reduce max file lines threshold to $ARGUMENTS.
|
|
33
|
-
|
|
34
|
-
Files exceeding threshold (ordered by line count):
|
|
35
|
-
1. [file] - [current] lines (target: $ARGUMENTS)
|
|
36
|
-
2. ...
|
|
37
|
-
|
|
38
|
-
Configuration change: eslint.thresholds.json, maxLines to $ARGUMENTS
|
|
39
|
-
|
|
40
|
-
Refactoring strategies: extract modules, remove duplication, delete dead code, simplify logic
|
|
41
|
-
|
|
42
|
-
Verification: `bun run lint 2>&1 | grep "max-lines" | wc -l` → Expected: 0
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
Invoke `/plan-execute` with this brief to create the implementation plan.
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: plan-reduce-max-lines-per-function
|
|
3
|
-
description: This skill should be used when reducing the maximum lines per function threshold and fixing all violations. It updates the eslint threshold configuration, identifies functions exceeding the new limit, generates a brief with refactoring strategies, and creates a plan with tasks to split oversized functions.
|
|
4
|
-
allowed-tools: ["Read", "Bash", "Glob", "Grep"]
|
|
5
|
-
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Reduce Max Lines Per Function
|
|
9
|
-
|
|
10
|
-
Target threshold: $ARGUMENTS lines per function
|
|
11
|
-
|
|
12
|
-
If no argument provided, prompt the user for a target.
|
|
13
|
-
|
|
14
|
-
## Step 1: Gather Requirements
|
|
15
|
-
|
|
16
|
-
1. **Read current config** from eslint thresholds (eslint.thresholds.json or similar)
|
|
17
|
-
2. **Run lint** with the new threshold to find violations:
|
|
18
|
-
```bash
|
|
19
|
-
bun run lint 2>&1 | grep "max-lines-per-function"
|
|
20
|
-
```
|
|
21
|
-
3. **Note for each violation**:
|
|
22
|
-
- File path and line number
|
|
23
|
-
- Function name
|
|
24
|
-
- Current line count
|
|
25
|
-
|
|
26
|
-
If no violations at $ARGUMENTS, report success and exit.
|
|
27
|
-
|
|
28
|
-
## Step 2: Compile Brief and Delegate
|
|
29
|
-
|
|
30
|
-
Compile the gathered information into a structured brief:
|
|
31
|
-
|
|
32
|
-
```
|
|
33
|
-
Reduce max lines per function threshold to $ARGUMENTS.
|
|
34
|
-
|
|
35
|
-
Functions exceeding threshold (ordered by line count):
|
|
36
|
-
1. [file:function] (lines: X, target: $ARGUMENTS) - Line Y
|
|
37
|
-
2. ...
|
|
38
|
-
|
|
39
|
-
Configuration change: eslint.thresholds.json, maxLinesPerFunction to $ARGUMENTS
|
|
40
|
-
|
|
41
|
-
Refactoring strategies: extract functions, early returns, extract conditions, use lookup tables, consolidate logic
|
|
42
|
-
|
|
43
|
-
Verification: `bun run lint 2>&1 | grep "max-lines-per-function" | wc -l` → Expected: 0
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
Invoke `/plan-execute` with this brief to create the implementation plan.
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: pull-request-review
|
|
3
|
-
description: This skill should be used when checking for code review comments on a pull request and implementing them if required. It fetches PR metadata and comments, generates a brief from unresolved feedback, and bootstraps a project to address the review comments.
|
|
4
|
-
allowed-tools: ["Read", "Bash", "Glob", "Grep"]
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Review PR Comments
|
|
8
|
-
|
|
9
|
-
Target PR: $ARGUMENTS
|
|
10
|
-
|
|
11
|
-
If no argument provided, prompt the user for a PR link or number.
|
|
12
|
-
|
|
13
|
-
## Step 1: Gather Requirements
|
|
14
|
-
|
|
15
|
-
1. **Fetch PR metadata and comments** using the GitHub CLI:
|
|
16
|
-
```bash
|
|
17
|
-
gh pr view $ARGUMENTS --json number,title,body,reviews,comments
|
|
18
|
-
gh api repos/{owner}/{repo}/pulls/{pr_number}/comments
|
|
19
|
-
```
|
|
20
|
-
2. **Extract each unresolved review comment**:
|
|
21
|
-
- Comment ID
|
|
22
|
-
- File path
|
|
23
|
-
- Line number
|
|
24
|
-
- Comment body
|
|
25
|
-
- Author
|
|
26
|
-
|
|
27
|
-
If no unresolved comments exist, report success and exit.
|
|
28
|
-
|
|
29
|
-
## Step 2: Create Plan
|
|
30
|
-
|
|
31
|
-
In plan mode, create a plan that includes the following details:
|
|
32
|
-
|
|
33
|
-
```markdown
|
|
34
|
-
Implement PR review feedback for $ARGUMENTS.
|
|
35
|
-
|
|
36
|
-
## PR Overview
|
|
37
|
-
- Title: [PR title]
|
|
38
|
-
- Description: [PR description summary]
|
|
39
|
-
|
|
40
|
-
## Review Comments to Address (ordered by file)
|
|
41
|
-
|
|
42
|
-
### 1. [file_path]:[line_number] (Comment ID: [id])
|
|
43
|
-
**Reviewer**: [author]
|
|
44
|
-
**Comment**: [full comment body]
|
|
45
|
-
**Action Required**: [brief description of what needs to change]
|
|
46
|
-
|
|
47
|
-
### 2. [file_path]:[line_number] (Comment ID: [id])
|
|
48
|
-
**Reviewer**: [author]
|
|
49
|
-
**Comment**: [full comment body]
|
|
50
|
-
**Action Required**: [brief description of what needs to change]
|
|
51
|
-
|
|
52
|
-
...
|
|
53
|
-
|
|
54
|
-
## Implementation Guidelines
|
|
55
|
-
- Evaluate each comment for validity before implementing
|
|
56
|
-
- If a comment is not valid, document the reasoning
|
|
57
|
-
- Ensure changes follow project coding standards
|
|
58
|
-
- Run relevant tests to verify changes work
|
|
59
|
-
|
|
60
|
-
## Acceptance Criteria
|
|
61
|
-
- All valid review comments addressed
|
|
62
|
-
- Tests pass after changes
|
|
63
|
-
- `bun run lint` passes
|
|
64
|
-
|
|
65
|
-
## Verification
|
|
66
|
-
Command: `bun run lint && bun run test`
|
|
67
|
-
Expected: All checks pass
|
|
68
|
-
```
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: security-zap-scan
|
|
3
|
-
description: "Run an OWASP ZAP baseline security scan locally using Docker. Checks for the ZAP baseline script, executes the scan, and summarizes findings by risk level with remediation recommendations."
|
|
4
|
-
allowed-tools: ["Bash", "Read"]
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# OWASP ZAP Baseline Security Scan
|
|
8
|
-
|
|
9
|
-
Run a ZAP baseline security scan against the local application.
|
|
10
|
-
|
|
11
|
-
## Workflow
|
|
12
|
-
|
|
13
|
-
1. **Check prerequisites**:
|
|
14
|
-
- Verify Docker is installed and running: `docker info`
|
|
15
|
-
- Check if `scripts/zap-baseline.sh` exists in the project
|
|
16
|
-
|
|
17
|
-
2. **Execute scan**:
|
|
18
|
-
- If the script exists, run: `bash scripts/zap-baseline.sh`
|
|
19
|
-
- If the script does not exist, inform the user that this project does not have a ZAP baseline scan configured
|
|
20
|
-
|
|
21
|
-
3. **Analyze results**:
|
|
22
|
-
- After the scan completes, read `zap-report.html` (or `zap-report.md` for text)
|
|
23
|
-
- Summarize findings:
|
|
24
|
-
- Total number of alerts by risk level (High, Medium, Low, Informational)
|
|
25
|
-
- List each Medium+ finding with its rule ID, name, and recommended fix
|
|
26
|
-
- Categorize findings as "infrastructure-level" (fix at CDN/proxy) vs "application-level" (fix in code)
|
|
27
|
-
|
|
28
|
-
4. **Handle failures**:
|
|
29
|
-
- If the scan failed, explain what failed and suggest concrete remediation steps
|
|
30
|
-
|
|
31
|
-
## Execution
|
|
32
|
-
|
|
33
|
-
Run the scan now.
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: sonarqube-check
|
|
3
|
-
description: This skill should be used when checking why the last pull request failed SonarQube/SonarCloud quality gates. It uses the SonarQube MCP server to retrieve failure details and report the reasons.
|
|
4
|
-
allowed-tools: ["mcp__sonarqube__*"]
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# SonarQube Check
|
|
8
|
-
|
|
9
|
-
Use the SonarQube MCP server to get the reason the last PR failed checks.
|
|
10
|
-
|
|
11
|
-
Retrieve the quality gate status and report all failures with their details.
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: sonarqube-fix
|
|
3
|
-
description: This skill should be used when fixing SonarQube quality gate failures. It runs the sonarqube:check skill to identify failures, fixes the identified issues, and then commits the changes using the git:commit skill.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
1. Run /sonarqube-check
|
|
7
|
-
2. Fix the SonarQube quality gate failures identified in step 1
|
|
8
|
-
3. Run /git-commit
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: tasks-load
|
|
3
|
-
description: This skill should be used when loading tasks from a project directory into the current Claude Code session. It reads task JSON files from session subdirectories, recreates them in the current session, and sets the active project marker.
|
|
4
|
-
allowed-tools: ["Read", "Bash", "TaskCreate", "TaskUpdate", "TaskList"]
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Load Project Tasks
|
|
8
|
-
|
|
9
|
-
Load tasks from `projects/$ARGUMENTS/tasks/` into the current Claude Code session.
|
|
10
|
-
|
|
11
|
-
Tasks are stored in session subdirectories to preserve history across `/clear` commands:
|
|
12
|
-
```
|
|
13
|
-
projects/$ARGUMENTS/tasks/
|
|
14
|
-
├── {session-1-uuid}/
|
|
15
|
-
│ ├── 1.json
|
|
16
|
-
│ └── 2.json
|
|
17
|
-
└── {session-2-uuid}/
|
|
18
|
-
├── 1.json
|
|
19
|
-
└── 2.json
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
## Process
|
|
23
|
-
|
|
24
|
-
### Step 1: Validate Project
|
|
25
|
-
|
|
26
|
-
Check if the project exists and has task files:
|
|
27
|
-
|
|
28
|
-
```bash
|
|
29
|
-
find projects/$ARGUMENTS/tasks -name "*.json" 2>/dev/null | head -5
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
If no task files exist, report: "No tasks found in projects/$ARGUMENTS/tasks/"
|
|
33
|
-
|
|
34
|
-
List available sessions:
|
|
35
|
-
|
|
36
|
-
```bash
|
|
37
|
-
ls -dt projects/$ARGUMENTS/tasks/*/ 2>/dev/null | head -10
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
### Step 2: Set Active Project
|
|
41
|
-
|
|
42
|
-
Create the active project marker:
|
|
43
|
-
|
|
44
|
-
```bash
|
|
45
|
-
echo "$ARGUMENTS" > .claude-active-project
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
This ensures any new tasks created will sync back to this project.
|
|
49
|
-
|
|
50
|
-
### Step 3: Load Tasks
|
|
51
|
-
|
|
52
|
-
Find and load all task JSON files from ALL session directories:
|
|
53
|
-
|
|
54
|
-
```bash
|
|
55
|
-
find projects/$ARGUMENTS/tasks -name "*.json" -type f
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
For each JSON file found:
|
|
59
|
-
|
|
60
|
-
1. Read the task JSON file
|
|
61
|
-
2. Use TaskCreate to recreate the task with:
|
|
62
|
-
- subject from JSON
|
|
63
|
-
- description from JSON
|
|
64
|
-
- activeForm from JSON
|
|
65
|
-
- metadata: `{ "project": "$ARGUMENTS" }`
|
|
66
|
-
3. If the task was already completed (status: "completed"), use TaskUpdate to mark it completed
|
|
67
|
-
|
|
68
|
-
### Step 4: Report
|
|
69
|
-
|
|
70
|
-
After loading all tasks, report:
|
|
71
|
-
|
|
72
|
-
```
|
|
73
|
-
Loaded X tasks from projects/$ARGUMENTS/tasks/
|
|
74
|
-
- Sessions found: N
|
|
75
|
-
- Pending: Y
|
|
76
|
-
- Completed: Z
|
|
77
|
-
|
|
78
|
-
Active project set to: $ARGUMENTS
|
|
79
|
-
New tasks will automatically sync to this project.
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
## Notes
|
|
83
|
-
|
|
84
|
-
- Tasks are recreated with new IDs in the current session
|
|
85
|
-
- The original task IDs from the project are not preserved
|
|
86
|
-
- Tasks from ALL sessions are loaded (full history)
|
|
87
|
-
- Task dependencies (blocks/blockedBy) are NOT currently preserved across load/sync cycles
|
|
88
|
-
- Use TaskList to see the loaded tasks
|