cc-codeconductor 1.2.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +51 -26
- package/dist/core/config/codeconductor-config.d.ts +2 -1
- package/dist/core/presets/package-paths.d.ts +1 -0
- package/dist/core/runner/runner-target.d.ts +32 -0
- package/dist/index.js +7585 -5766
- package/dist/library.js +234 -169
- package/dist/validation/schemas.d.ts +197 -35
- package/docs/generated/cli.md +202 -0
- package/package.json +6 -1
- package/presets/agy/AGENTS.md +1 -1
- package/presets/agy/hooks.json +3 -3
- package/presets/agy/scripts/invoke-hook.cjs +21 -17
- package/presets/agy/skills/android-ui-design/SKILL.md +119 -0
- package/presets/agy/skills/cc-feature/SKILL.md +22 -0
- package/presets/agy/skills/cc-fix/SKILL.md +22 -0
- package/presets/agy/skills/cc-review/SKILL.md +22 -0
- package/presets/agy/skills/openspec/SKILL.md +20 -0
- package/presets/agy/skills/using-cc-skills/SKILL.md +21 -0
- package/presets/agy/skills/web-design-engineering/SKILL.md +101 -0
- package/presets/agy/workflows/cc-api-contract.md +4 -0
- package/presets/agy/workflows/cc-ask.md +10 -10
- package/presets/agy/workflows/cc-council.md +4 -0
- package/presets/agy/workflows/cc-db-migration.md +4 -0
- package/presets/agy/workflows/cc-explore.md +2 -2
- package/presets/agy/workflows/cc-feature.md +26 -0
- package/presets/agy/workflows/cc-fix.md +26 -0
- package/presets/agy/workflows/cc-handoff.md +1 -1
- package/presets/agy/workflows/cc-openspec.md +22 -0
- package/presets/agy/workflows/cc-prototype.md +1 -1
- package/presets/agy/workflows/cc-refactor.md +5 -1
- package/presets/agy/workflows/cc-review.md +27 -1
- package/presets/agy/workflows/cc-security.md +4 -0
- package/presets/agy/workflows/cc-spec-mutation.md +4 -0
- package/presets/agy/workflows/cc-tdd-cycle.md +1 -1
- package/presets/agy/workflows/cc-test-plan.md +5 -1
- package/presets/claude/commands/cc/api-contract.md +5 -1
- package/presets/claude/commands/cc/ask.md +1 -1
- package/presets/claude/commands/cc/backlog.md +1 -1
- package/presets/claude/commands/cc/clarify.md +1 -1
- package/presets/claude/commands/cc/council.md +4 -0
- package/presets/claude/commands/cc/db-migration.md +5 -1
- package/presets/claude/commands/cc/explore.md +1 -1
- package/presets/claude/commands/cc/feature.md +27 -1
- package/presets/claude/commands/cc/fix.md +27 -1
- package/presets/claude/commands/cc/handoff.md +1 -1
- package/presets/claude/commands/cc/iterative.md +1 -1
- package/presets/claude/commands/cc/openspec.md +23 -1
- package/presets/claude/commands/cc/prototype.md +1 -1
- package/presets/claude/commands/cc/refactor.md +5 -1
- package/presets/claude/commands/cc/review.md +27 -1
- package/presets/claude/commands/cc/scorecard.md +1 -1
- package/presets/claude/commands/cc/security.md +5 -1
- package/presets/claude/commands/cc/spec-mutation.md +5 -1
- package/presets/claude/commands/cc/tdd-cycle.md +1 -1
- package/presets/claude/commands/cc/test-plan.md +5 -1
- package/presets/claude/commands/cc/triage.md +1 -1
- package/presets/claude/skills/android/SKILL.md +4 -1
- package/presets/claude/skills/android-ui-design/SKILL.md +119 -0
- package/presets/claude/skills/api-versioning/SKILL.md +0 -1
- package/presets/claude/skills/django-orm/SKILL.md +0 -1
- package/presets/claude/skills/django-testing/SKILL.md +0 -1
- package/presets/claude/skills/jpa-postgres/SKILL.md +0 -1
- package/presets/claude/skills/openspec/SKILL.md +20 -0
- package/presets/claude/skills/pagespeed-perf/SKILL.md +1 -2
- package/presets/claude/skills/python/SKILL.md +0 -1
- package/presets/claude/skills/python-django-stack/SKILL.md +0 -1
- package/presets/claude/skills/python-fastapi-stack/SKILL.md +0 -1
- package/presets/claude/skills/security/SKILL.md +0 -1
- package/presets/claude/skills/spring-boot-feature/SKILL.md +0 -1
- package/presets/claude/skills/spring-boot-kotlin/SKILL.md +0 -1
- package/presets/claude/skills/sqlalchemy/SKILL.md +0 -1
- package/presets/claude/skills/testing-strategy/SKILL.md +0 -1
- package/presets/claude/skills/using-cc-skills/SKILL.md +21 -0
- package/presets/claude/skills/web-design-engineering/SKILL.md +101 -0
- package/presets/codex/AGENTS.md +3 -2
- package/presets/codex/commands/cc-ask.md +10 -10
- package/presets/codex/skills/android/SKILL.md +4 -1
- package/presets/codex/skills/android-ui-design/SKILL.md +119 -0
- package/presets/codex/skills/api-versioning/SKILL.md +0 -1
- package/presets/codex/skills/cc-api-contract/SKILL.md +11 -7
- package/presets/codex/skills/cc-backlog/SKILL.md +1 -1
- package/presets/codex/skills/cc-clarify/SKILL.md +1 -1
- package/presets/codex/skills/cc-council/SKILL.md +4 -0
- package/presets/codex/skills/cc-db-migration/SKILL.md +11 -7
- package/presets/codex/skills/cc-explore/SKILL.md +3 -3
- package/presets/codex/skills/cc-feature/SKILL.md +38 -8
- package/presets/codex/skills/cc-fix/SKILL.md +36 -7
- package/presets/codex/skills/cc-handoff/SKILL.md +2 -2
- package/presets/codex/skills/cc-iterative/SKILL.md +8 -8
- package/presets/codex/skills/cc-openspec/SKILL.md +24 -2
- package/presets/codex/skills/cc-prototype/SKILL.md +2 -2
- package/presets/codex/skills/cc-refactor/SKILL.md +8 -4
- package/presets/codex/skills/cc-review/SKILL.md +28 -2
- package/presets/codex/skills/cc-scorecard/SKILL.md +1 -1
- package/presets/codex/skills/cc-security/SKILL.md +5 -1
- package/presets/codex/skills/cc-spec-mutation/SKILL.md +7 -3
- package/presets/codex/skills/cc-tdd-cycle/SKILL.md +6 -6
- package/presets/codex/skills/cc-test-plan/SKILL.md +6 -2
- package/presets/codex/skills/cc-triage/SKILL.md +1 -1
- package/presets/codex/skills/django-orm/SKILL.md +0 -1
- package/presets/codex/skills/django-testing/SKILL.md +0 -1
- package/presets/codex/skills/jpa-postgres/SKILL.md +0 -1
- package/presets/codex/skills/openspec/SKILL.md +20 -0
- package/presets/codex/skills/pagespeed-perf/SKILL.md +1 -2
- package/presets/codex/skills/python/SKILL.md +0 -1
- package/presets/codex/skills/python-django-stack/SKILL.md +0 -1
- package/presets/codex/skills/python-fastapi-stack/SKILL.md +0 -1
- package/presets/codex/skills/spring-boot-feature/SKILL.md +0 -1
- package/presets/codex/skills/spring-boot-kotlin/SKILL.md +0 -1
- package/presets/codex/skills/sqlalchemy/SKILL.md +0 -1
- package/presets/codex/skills/testing-strategy/SKILL.md +0 -1
- package/presets/codex/skills/using-cc-skills/SKILL.md +21 -0
- package/presets/codex/skills/web-design-engineering/SKILL.md +101 -0
- package/presets/cursor/agents/architect.md +1 -1
- package/presets/cursor/agents/complexity-auditor.md +1 -1
- package/presets/cursor/agents/contract-builder.md +1 -1
- package/presets/cursor/agents/docs.md +1 -1
- package/presets/cursor/agents/goal-planner.md +1 -1
- package/presets/cursor/agents/implementer.md +2 -2
- package/presets/cursor/agents/orchestrator.md +3 -3
- package/presets/cursor/agents/reviewer.md +4 -4
- package/presets/cursor/agents/security-reviewer.md +1 -1
- package/presets/cursor/agents/task-coach.md +1 -1
- package/presets/cursor/agents/tester.md +1 -1
- package/presets/cursor/commands/cc/api-contract.md +5 -1
- package/presets/cursor/commands/cc/ask.md +1 -1
- package/presets/cursor/commands/cc/backlog.md +1 -1
- package/presets/cursor/commands/cc/clarify.md +1 -1
- package/presets/cursor/commands/cc/council.md +4 -0
- package/presets/cursor/commands/cc/db-migration.md +5 -1
- package/presets/cursor/commands/cc/explore.md +1 -1
- package/presets/cursor/commands/cc/feature.md +27 -1
- package/presets/cursor/commands/cc/fix.md +27 -1
- package/presets/cursor/commands/cc/handoff.md +1 -1
- package/presets/cursor/commands/cc/iterative.md +1 -1
- package/presets/cursor/commands/cc/openspec.md +23 -1
- package/presets/cursor/commands/cc/prototype.md +1 -1
- package/presets/cursor/commands/cc/refactor.md +5 -1
- package/presets/cursor/commands/cc/review.md +27 -1
- package/presets/cursor/commands/cc/scorecard.md +1 -1
- package/presets/cursor/commands/cc/security.md +5 -1
- package/presets/cursor/commands/cc/spec-mutation.md +5 -1
- package/presets/cursor/commands/cc/tdd-cycle.md +1 -1
- package/presets/cursor/commands/cc/test-plan.md +5 -1
- package/presets/cursor/commands/cc/triage.md +1 -1
- package/presets/cursor/skills/android/SKILL.md +4 -1
- package/presets/cursor/skills/android-ui-design/SKILL.md +119 -0
- package/presets/cursor/skills/api-versioning/SKILL.md +0 -1
- package/presets/cursor/skills/astro/SKILL.md +0 -1
- package/presets/cursor/skills/auth-token-inspector/SKILL.md +0 -1
- package/presets/cursor/skills/code-review/SKILL.md +0 -1
- package/presets/cursor/skills/django-orm/SKILL.md +0 -1
- package/presets/cursor/skills/django-testing/SKILL.md +0 -1
- package/presets/cursor/skills/django-uv/SKILL.md +0 -1
- package/presets/cursor/skills/drizzle-schema-architect/SKILL.md +0 -1
- package/presets/cursor/skills/fastapi-pydantic-strict/SKILL.md +0 -1
- package/presets/cursor/skills/jpa-nplusone-detector/SKILL.md +0 -1
- package/presets/cursor/skills/jpa-postgres/SKILL.md +0 -1
- package/presets/cursor/skills/livewire-alpine-bridge/SKILL.md +0 -1
- package/presets/cursor/skills/nextjs-typescript/SKILL.md +0 -1
- package/presets/cursor/skills/openspec/SKILL.md +20 -0
- package/presets/cursor/skills/pagespeed-perf/SKILL.md +1 -2
- package/presets/cursor/skills/python/SKILL.md +0 -1
- package/presets/cursor/skills/python-django-stack/SKILL.md +0 -1
- package/presets/cursor/skills/python-fastapi-stack/SKILL.md +0 -1
- package/presets/cursor/skills/security/SKILL.md +0 -1
- package/presets/cursor/skills/seo-analytics-injector/SKILL.md +0 -1
- package/presets/cursor/skills/spring-auth-auditor/SKILL.md +0 -1
- package/presets/cursor/skills/spring-boot-feature/SKILL.md +0 -1
- package/presets/cursor/skills/spring-boot-kotlin/SKILL.md +0 -1
- package/presets/cursor/skills/spring-boot-testing-strategy/SKILL.md +0 -1
- package/presets/cursor/skills/sqlalchemy/SKILL.md +0 -1
- package/presets/cursor/skills/tailwind-responsive-auditor/SKILL.md +0 -1
- package/presets/cursor/skills/tdd-mutation-tester/SKILL.md +0 -1
- package/presets/cursor/skills/using-cc-skills/SKILL.md +21 -0
- package/presets/cursor/skills/web-design-engineering/SKILL.md +101 -0
- package/presets/gemini/GEMINI.md +38 -0
- package/presets/gemini/commands/cc/api-contract.toml +10 -6
- package/presets/gemini/commands/cc/ask.toml +1 -1
- package/presets/gemini/commands/cc/backlog.toml +1 -1
- package/presets/gemini/commands/cc/clarify.toml +1 -1
- package/presets/gemini/commands/cc/council.toml +4 -0
- package/presets/gemini/commands/cc/db-migration.toml +10 -6
- package/presets/gemini/commands/cc/explore.toml +1 -1
- package/presets/gemini/commands/cc/feature.toml +33 -7
- package/presets/gemini/commands/cc/fix.toml +35 -9
- package/presets/gemini/commands/cc/handoff.toml +1 -1
- package/presets/gemini/commands/cc/iterative.toml +7 -7
- package/presets/gemini/commands/cc/openspec.toml +23 -1
- package/presets/gemini/commands/cc/prototype.toml +1 -1
- package/presets/gemini/commands/cc/refactor.toml +8 -4
- package/presets/gemini/commands/cc/review.toml +27 -4
- package/presets/gemini/commands/cc/scorecard.toml +1 -1
- package/presets/gemini/commands/cc/security.toml +5 -1
- package/presets/gemini/commands/cc/spec-mutation.toml +5 -1
- package/presets/gemini/commands/cc/tdd-cycle.toml +5 -8
- package/presets/gemini/commands/cc/test-plan.toml +6 -2
- package/presets/gemini/commands/cc/triage.toml +1 -1
- package/presets/gemini/settings.json +3 -0
- package/presets/opencode/agents/docs.md +1 -1
- package/presets/opencode/agents/reviewer.md +1 -1
- package/presets/opencode/commands/cc-api-contract.md +4 -0
- package/presets/opencode/commands/cc-ask.md +10 -10
- package/presets/opencode/commands/cc-council.md +4 -0
- package/presets/opencode/commands/cc-db-migration.md +4 -0
- package/presets/opencode/commands/cc-explore.md +2 -2
- package/presets/opencode/commands/cc-feature.md +26 -0
- package/presets/opencode/commands/cc-fix.md +26 -0
- package/presets/opencode/commands/cc-handoff.md +1 -1
- package/presets/opencode/commands/cc-openspec.md +22 -0
- package/presets/opencode/commands/cc-prototype.md +1 -1
- package/presets/opencode/commands/cc-refactor.md +5 -1
- package/presets/opencode/commands/cc-review.md +27 -1
- package/presets/opencode/commands/cc-security.md +4 -0
- package/presets/opencode/commands/cc-spec-mutation.md +4 -0
- package/presets/opencode/commands/cc-tdd-cycle.md +1 -1
- package/presets/opencode/commands/cc-test-plan.md +5 -1
- package/presets/opencode/prompts/v1.0.0/README.md +1 -1
- package/presets/opencode/prompts/v1.0.0/docs.md +1 -1
- package/presets/opencode/prompts/v1.0.0/reviewer.md +1 -1
- package/presets/opencode/skills/android/SKILL.md +4 -1
- package/presets/opencode/skills/android-ui-design/SKILL.md +119 -0
- package/presets/opencode/skills/api-versioning/SKILL.md +0 -1
- package/presets/opencode/skills/astro/SKILL.md +0 -1
- package/presets/opencode/skills/auth-token-inspector/SKILL.md +0 -1
- package/presets/opencode/skills/code-review/SKILL.md +0 -1
- package/presets/opencode/skills/django-orm/SKILL.md +0 -1
- package/presets/opencode/skills/django-testing/SKILL.md +0 -1
- package/presets/opencode/skills/django-uv/SKILL.md +0 -1
- package/presets/opencode/skills/drizzle-schema-architect/SKILL.md +0 -1
- package/presets/opencode/skills/fastapi-pydantic-strict/SKILL.md +0 -1
- package/presets/opencode/skills/jpa-nplusone-detector/SKILL.md +0 -1
- package/presets/opencode/skills/jpa-postgres/SKILL.md +0 -1
- package/presets/opencode/skills/livewire-alpine-bridge/SKILL.md +0 -1
- package/presets/opencode/skills/nextjs-typescript/SKILL.md +0 -1
- package/presets/opencode/skills/openspec/SKILL.md +20 -0
- package/presets/opencode/skills/pagespeed-perf/SKILL.md +1 -2
- package/presets/opencode/skills/python/SKILL.md +0 -1
- package/presets/opencode/skills/python-django-stack/SKILL.md +0 -1
- package/presets/opencode/skills/python-fastapi-stack/SKILL.md +0 -1
- package/presets/opencode/skills/security/SKILL.md +0 -1
- package/presets/opencode/skills/seo-analytics-injector/SKILL.md +0 -1
- package/presets/opencode/skills/spring-auth-auditor/SKILL.md +0 -1
- package/presets/opencode/skills/spring-boot-feature/SKILL.md +0 -1
- package/presets/opencode/skills/spring-boot-kotlin/SKILL.md +0 -1
- package/presets/opencode/skills/spring-boot-testing-strategy/SKILL.md +0 -1
- package/presets/opencode/skills/sqlalchemy/SKILL.md +0 -1
- package/presets/opencode/skills/tailwind-responsive-auditor/SKILL.md +0 -1
- package/presets/opencode/skills/tdd-mutation-tester/SKILL.md +0 -1
- package/presets/opencode/skills/using-cc-skills/SKILL.md +21 -0
- package/presets/opencode/skills/web-design-engineering/SKILL.md +101 -0
- package/presets/pi/AGENTS.md +43 -0
- package/presets/pi/settings.json +3 -0
- package/presets/seo-hotel/skills/astro-seo/SKILL.md +0 -1
- package/presets/seo-hotel/skills/geo-readiness/SKILL.md +0 -1
- package/presets/seo-hotel/skills/off-page/SKILL.md +0 -1
- package/presets/seo-hotel/skills/schema-validator/SKILL.md +0 -1
- package/presets/seo-hotel/skills/seo-audit/SKILL.md +0 -1
- package/presets/shared/invoke-hook.cjs +21 -17
- package/src/presets/council/council.yml +12 -9
- package/src/presets/manifests/agy.yml +1 -1
- package/src/presets/manifests/gemini.yml +11 -11
- package/src/presets/manifests/pi.yml +25 -0
- package/src/presets/models/agy.yml +2 -128
- package/src/presets/models/claude.yml +2 -144
- package/src/presets/models/codex.yml +2 -144
- package/src/presets/models/cursor.yml +2 -144
- package/src/presets/models/gemini.yml +2 -144
- package/src/presets/models/opencode.yml +3 -101
- package/src/presets/models/pi.yml +5 -0
- package/src/presets/models/roles.yml +193 -0
- package/src/presets/shared-skills.yml +68 -0
- package/src/presets/targets/agy.yml +11 -0
- package/src/presets/targets/claude.yml +12 -0
- package/src/presets/targets/codex.yml +14 -0
- package/src/presets/targets/cursor.yml +11 -0
- package/src/presets/targets/gemini.yml +15 -0
- package/src/presets/targets/opencode.yml +13 -0
- package/src/presets/targets/pi.yml +12 -0
- package/presets/opencode/prompts/v0.1.0/DEPRECATED.md +0 -11
- package/presets/opencode/prompts/v0.1.0/architect.md +0 -213
- package/presets/opencode/prompts/v0.1.0/docs.md +0 -181
- package/presets/opencode/prompts/v0.1.0/implementer.md +0 -154
- package/presets/opencode/prompts/v0.1.0/orchestrator.md +0 -169
- package/presets/opencode/prompts/v0.1.0/repo-explorer.md +0 -102
- package/presets/opencode/prompts/v0.1.0/reviewer.md +0 -183
- package/presets/opencode/prompts/v0.1.0/task-coach.md +0 -142
- package/presets/opencode/prompts/v0.1.0/tester.md +0 -160
- package/presets/opencode/prompts/v0.2.0/DEPRECATED.md +0 -11
- package/presets/opencode/prompts/v0.2.0/architect.md +0 -219
- package/presets/opencode/prompts/v0.2.0/docs.md +0 -187
- package/presets/opencode/prompts/v0.2.0/implementer.md +0 -160
- package/presets/opencode/prompts/v0.2.0/orchestrator.md +0 -238
- package/presets/opencode/prompts/v0.2.0/repo-explorer.md +0 -108
- package/presets/opencode/prompts/v0.2.0/reviewer.md +0 -190
- package/presets/opencode/prompts/v0.2.0/task-coach.md +0 -153
- package/presets/opencode/prompts/v0.2.0/tester.md +0 -249
- package/presets/opencode/prompts/v0.3.0/DEPRECATED.md +0 -11
- package/presets/opencode/prompts/v0.3.0/architect.md +0 -221
- package/presets/opencode/prompts/v0.3.0/docs.md +0 -189
- package/presets/opencode/prompts/v0.3.0/implementer.md +0 -162
- package/presets/opencode/prompts/v0.3.0/orchestrator.md +0 -360
- package/presets/opencode/prompts/v0.3.0/repo-explorer.md +0 -110
- package/presets/opencode/prompts/v0.3.0/reviewer.md +0 -225
- package/presets/opencode/prompts/v0.3.0/task-coach.md +0 -155
- package/presets/opencode/prompts/v0.3.0/tester.md +0 -251
- package/presets/opencode/prompts/v0.4.0/DEPRECATED.md +0 -11
- package/presets/opencode/prompts/v0.4.0/architect.md +0 -221
- package/presets/opencode/prompts/v0.4.0/complexity-auditor.md +0 -89
- package/presets/opencode/prompts/v0.4.0/docs.md +0 -189
- package/presets/opencode/prompts/v0.4.0/implementer.md +0 -162
- package/presets/opencode/prompts/v0.4.0/orchestrator.md +0 -348
- package/presets/opencode/prompts/v0.4.0/repo-explorer.md +0 -110
- package/presets/opencode/prompts/v0.4.0/reviewer.md +0 -225
- package/presets/opencode/prompts/v0.4.0/task-coach.md +0 -155
- package/presets/opencode/prompts/v0.4.0/tester.md +0 -251
- package/presets/opencode/prompts/v0.5.0/architect.md +0 -222
- package/presets/opencode/prompts/v0.5.0/complexity-auditor.md +0 -91
- package/presets/opencode/prompts/v0.5.0/contract-builder.md +0 -84
- package/presets/opencode/prompts/v0.5.0/docs.md +0 -190
- package/presets/opencode/prompts/v0.5.0/goal-planner.md +0 -80
- package/presets/opencode/prompts/v0.5.0/implementer.md +0 -171
- package/presets/opencode/prompts/v0.5.0/orchestrator.md +0 -388
- package/presets/opencode/prompts/v0.5.0/repo-explorer.md +0 -111
- package/presets/opencode/prompts/v0.5.0/reviewer.md +0 -248
- package/presets/opencode/prompts/v0.5.0/security-reviewer.md +0 -123
- package/presets/opencode/prompts/v0.5.0/task-coach.md +0 -156
- package/presets/opencode/prompts/v0.5.0/tester.md +0 -252
- package/presets/opencode/prompts/v0.6.0/implementer.md +0 -35
- package/presets/opencode/prompts/v0.6.0/planner.md +0 -36
- package/presets/opencode/prompts/v0.6.0/reviewer.md +0 -40
- package/presets/shared/__pycache__/mutation_runner.cpython-314.pyc +0 -0
|
@@ -42,6 +42,26 @@ Status machine: `TODO` → `READY` → `PLANNED` → `IN_PROGRESS` → `REVIEW`
|
|
|
42
42
|
→ Archive. `BLOCKED` returns to `READY`. Reviewer rejection: `REVIEW` →
|
|
43
43
|
`IN_PROGRESS`.
|
|
44
44
|
|
|
45
|
+
## Web interface scope
|
|
46
|
+
|
|
47
|
+
When the task concerns web layout, component states, feedback, motion, or a
|
|
48
|
+
requested UI audit, apply skill `web-design-engineering` from the installed skill
|
|
49
|
+
library. Use it during intake/discovery, design, test/implement, and review as
|
|
50
|
+
applicable; keep this workflow’s gates and TDD order. Framework presence alone
|
|
51
|
+
does not activate it; backend-only and native mobile work are excluded. Record
|
|
52
|
+
required visual checks as pending when unavailable. Keep findings in the existing
|
|
53
|
+
Review Report: contract failures in Spec Axis, technical issues in existing
|
|
54
|
+
subchecks, and aesthetic preferences as suggestions; do not add an axis.
|
|
55
|
+
|
|
56
|
+
## Android phone interface scope
|
|
57
|
+
|
|
58
|
+
When an item concerns concrete Jetpack Compose phone layout, component states,
|
|
59
|
+
interaction, accessibility, visual behavior, or a requested UI audit, apply skill
|
|
60
|
+
`android-ui-design` throughout discover, design, test/implement, and review. Keep
|
|
61
|
+
OpenSpec gates and TDD order. Kotlin, Compose, framework, or dependency presence
|
|
62
|
+
alone does not activate it; non-UI Android work stays with `android`. Keep audit-only
|
|
63
|
+
delivery read-only and record unavailable visual or emulator evidence as pending.
|
|
64
|
+
|
|
45
65
|
## Common Rationalizations
|
|
46
66
|
|
|
47
67
|
| Rationalization | Reality |
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: pagespeed-perf
|
|
3
|
-
version: 1.0.0
|
|
4
3
|
name: PageSpeed Performance Audit
|
|
5
4
|
description: >
|
|
6
5
|
Web Performance Engineering — analyzes Core Web Vitals using the PageSpeed
|
|
@@ -32,7 +31,7 @@ inputs:
|
|
|
32
31
|
- name: url
|
|
33
32
|
type: string
|
|
34
33
|
required: true
|
|
35
|
-
description: Full URL to audit (must include scheme: https://...)
|
|
34
|
+
description: "Full URL to audit (must include scheme: https://...)"
|
|
36
35
|
- name: strategy
|
|
37
36
|
type: string
|
|
38
37
|
required: false
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: spring-boot-testing-strategy
|
|
3
|
-
version: 1.0.0
|
|
4
3
|
name: Spring Boot Testing Strategy
|
|
5
4
|
description: >
|
|
6
5
|
Provides expert knowledge of the testing pyramid, test design principles, MockK patterns, and integration testing conventions for Spring Boot + Kotlin projects.
|
|
@@ -31,6 +31,27 @@ a parallel process.
|
|
|
31
31
|
Then run the matching CLI (`openspec validate`, `scorecard create --from-diff`,
|
|
32
32
|
`hook pre-tool`, `scorecard suite-run`).
|
|
33
33
|
|
|
34
|
+
## Web interface scope
|
|
35
|
+
|
|
36
|
+
When the task concerns web layout, component states, feedback, motion, or a
|
|
37
|
+
requested UI audit, apply skill `web-design-engineering` from the installed skill
|
|
38
|
+
library. Use it during intake/discovery, design, test/implement, and review as
|
|
39
|
+
applicable; keep this workflow’s gates and TDD order. Framework presence alone
|
|
40
|
+
does not activate it; backend-only and native mobile work are excluded. Record
|
|
41
|
+
required visual checks as pending when unavailable. Keep findings in the existing
|
|
42
|
+
Review Report: contract failures in Spec Axis, technical issues in existing
|
|
43
|
+
subchecks, and aesthetic preferences as suggestions; do not add an axis.
|
|
44
|
+
|
|
45
|
+
## Android phone interface scope
|
|
46
|
+
|
|
47
|
+
When the task concerns concrete Jetpack Compose phone layout, component states,
|
|
48
|
+
interaction, accessibility, visual behavior, or a requested UI audit, apply skill
|
|
49
|
+
`android-ui-design`. Use it during design, test/implementation, and review as
|
|
50
|
+
applicable while preserving the current workflow gates. Kotlin, Compose, framework,
|
|
51
|
+
or dependency presence alone does not activate it; non-UI Android work stays with
|
|
52
|
+
the general `android` skill. Audit-only requests remain read-only, and unavailable
|
|
53
|
+
visual or emulator checks remain pending rather than claimed as complete.
|
|
54
|
+
|
|
34
55
|
## Common Rationalizations
|
|
35
56
|
|
|
36
57
|
| Rationalization | Reality |
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: web-design-engineering
|
|
3
|
+
description: >-
|
|
4
|
+
Design, implement, and review web interface layout, component states, feedback,
|
|
5
|
+
and motion within the current CodeConductor workflow. Use for concrete web UI
|
|
6
|
+
work or requested UI audits, not backend-only tasks or native mobile apps.
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Web design engineering
|
|
10
|
+
|
|
11
|
+
Apply this guidance to the web surface in scope. A React or Tailwind dependency
|
|
12
|
+
alone is not a trigger. Keep the existing feature, fix, review, or OpenSpec flow;
|
|
13
|
+
this skill adds contextual criteria, not commands, agents, gates, or score weights.
|
|
14
|
+
|
|
15
|
+
## Intake and discovery
|
|
16
|
+
|
|
17
|
+
Translate vague requests into observable behavior: “responsive feedback” might
|
|
18
|
+
mean showing a pending state immediately after submit while preventing duplicate
|
|
19
|
+
submissions. Identify the user objective, affected surface, relevant states, and
|
|
20
|
+
acceptance checks in the Task Card. Ask only about ambiguities that affect scope.
|
|
21
|
+
|
|
22
|
+
Inspect existing components, design tokens, documented visual decisions, installed
|
|
23
|
+
dependencies and versions, and available browser, component-preview, and test tools.
|
|
24
|
+
Reuse the product's visual language and accessible components. Consult official
|
|
25
|
+
documentation for the installed version when an API is uncertain. Prefer existing
|
|
26
|
+
capabilities and browser primitives; a small transition does not justify a library.
|
|
27
|
+
|
|
28
|
+
## Design and implementation
|
|
29
|
+
|
|
30
|
+
Record relevant decisions in the Technical Plan or OpenSpec design.md:
|
|
31
|
+
|
|
32
|
+
- For static UI: hierarchy, readable content, spacing, responsive layout, overflow,
|
|
33
|
+
semantics, contrast, and focus visibility. Do not invent motion to fill a checklist.
|
|
34
|
+
- For interactive components: default, pending, success, failure, disabled, and
|
|
35
|
+
empty states as applicable; pointer, touch, keyboard, focus entry and return.
|
|
36
|
+
Acknowledge input promptly without implying success before it is known.
|
|
37
|
+
- If motion serves the task, name its purpose and weigh frequency, waiting cost,
|
|
38
|
+
and context. Specify start/end states, exit, rapid repeated input, cancellation
|
|
39
|
+
or reversal, and reduced-motion behavior that preserves essential information.
|
|
40
|
+
Use continuity or direct manipulation when it helps users understand the action.
|
|
41
|
+
- Reuse motion tokens. Choose properties and tools appropriate to the component;
|
|
42
|
+
inspect layout/paint cost when relevant instead of assuming smoothness from code.
|
|
43
|
+
No duration, easing curve, animation technique, or visual style is universally
|
|
44
|
+
forbidden. Explain tradeoffs against the contract and product conventions.
|
|
45
|
+
- When alternatives are explicitly requested, compare scoped options and their
|
|
46
|
+
tradeoffs before choosing. Do not build a variant selector or prototype framework.
|
|
47
|
+
|
|
48
|
+
Agree checks before implementation. Preserve the workflow's test-before-implement
|
|
49
|
+
order and use its evidence mechanism when required. Test observable state changes
|
|
50
|
+
and interaction outcomes, not just CSS strings. Implement only the accepted scope.
|
|
51
|
+
Tailwind skills own responsive conventions; framework skills own implementation;
|
|
52
|
+
PageSpeed owns performance measurement; evaluation owns the scorecard.
|
|
53
|
+
|
|
54
|
+
## Review and delivery
|
|
55
|
+
|
|
56
|
+
Use the existing Review Report and its severity/verdict rules. Map contract failures
|
|
57
|
+
to Spec Axis and technical issues to existing subchecks such as Correctness,
|
|
58
|
+
Architecture alignment, Performance, or Test coverage. Preserve Standards Axis;
|
|
59
|
+
do not add a design axis or rerank the two axes. Ground each finding in a location,
|
|
60
|
+
reproduction or evidence, user impact, and a proposed resolution. Aesthetic
|
|
61
|
+
preferences alone are suggestions, not blocking defects. Respect documented
|
|
62
|
+
product choices unless evidence demonstrates a contract or technical failure.
|
|
63
|
+
|
|
64
|
+
For a requested audit, inspect only the agreed surface and prioritize findings by
|
|
65
|
+
impact and evidence. Report out-of-scope opportunities as suggestions. Create
|
|
66
|
+
backlog items through the existing cc-backlog workflow only when requested; deliver
|
|
67
|
+
those items later through OpenSpec. An audit is not permission to implement fixes.
|
|
68
|
+
|
|
69
|
+
Report checks actually performed, their results, and limitations. Code inspection,
|
|
70
|
+
DOM tests, screenshots, and live interaction checks establish different evidence.
|
|
71
|
+
A screenshot cannot prove interruption or keyboard behavior. If a required visual
|
|
72
|
+
or interaction check cannot run, mark it pending with the surface, steps, expected
|
|
73
|
+
result, and missing tool/environment. Do not claim visual validation from code or
|
|
74
|
+
mark the unmet acceptance criterion complete.
|
|
75
|
+
|
|
76
|
+
## Example acceptance
|
|
77
|
+
|
|
78
|
+
For a dismissible web dialog using existing tokens: opening from the keyboard
|
|
79
|
+
places focus inside; Escape during entry closes it without reopening on a stale
|
|
80
|
+
completion callback and returns focus to its trigger. With reduced motion enabled,
|
|
81
|
+
the same actions work without the spatial transition. Check rapid open/close in
|
|
82
|
+
the browser and record the result; if unavailable, keep that check pending.
|
|
83
|
+
For a static pricing page, verify content hierarchy and no horizontal overflow at
|
|
84
|
+
the agreed viewports; no animation is required.
|
|
85
|
+
|
|
86
|
+
## Provenance and boundaries
|
|
87
|
+
|
|
88
|
+
Original CodeConductor adaptation informed by Emil Kowalski's
|
|
89
|
+
[design engineering](https://github.com/emilkowalski/skills/blob/main/skills/emil-design-eng/SKILL.md),
|
|
90
|
+
[animation construction](https://github.com/emilkowalski/skills/blob/main/skills/animate/SKILL.md),
|
|
91
|
+
and [interaction principles](https://github.com/emilkowalski/skills/blob/main/skills/apple-design/SKILL.md).
|
|
92
|
+
Additional references: [review](https://github.com/emilkowalski/skills/blob/main/skills/review-animations/SKILL.md),
|
|
93
|
+
[audits](https://github.com/emilkowalski/skills/blob/main/skills/improve-animations/SKILL.md),
|
|
94
|
+
[opportunities](https://github.com/emilkowalski/skills/blob/main/skills/find-animation-opportunities/SKILL.md),
|
|
95
|
+
[vocabulary](https://github.com/emilkowalski/skills/blob/main/skills/animation-vocabulary/SKILL.md),
|
|
96
|
+
[library selection](https://github.com/emilkowalski/skills/blob/main/skills/pick-ui-library/SKILL.md),
|
|
97
|
+
[component guidance](https://github.com/emilkowalski/skills/blob/main/skills/ask-sonner/SKILL.md),
|
|
98
|
+
and [alternatives](https://github.com/emilkowalski/skills/blob/main/skills/prototype/SKILL.md).
|
|
99
|
+
These are provenance, not runtime prerequisites. This skill does not install or
|
|
100
|
+
synchronize upstream skills, adopt promotional responses or mandatory author
|
|
101
|
+
formats, prescribe an Apple identity, or cover Expo/Swift native development.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
<!-- CODECONDUCTOR:BEGIN managed -->
|
|
2
|
+
|
|
3
|
+
# CodeConductor — Gemini CLI Preset
|
|
4
|
+
|
|
5
|
+
This file configures CodeConductor for **Gemini CLI**. It lives at the project
|
|
6
|
+
root (`GEMINI.md`) so Gemini CLI's hierarchical context loader picks it up
|
|
7
|
+
from the current directory and every ancestor up to the project root.
|
|
8
|
+
|
|
9
|
+
## Behavioral Discipline
|
|
10
|
+
|
|
11
|
+
1. **Think Before Coding** — state assumptions; ask if uncertain; present
|
|
12
|
+
alternatives instead of picking silently.
|
|
13
|
+
2. **Simplicity First** — minimum code that solves the problem; no
|
|
14
|
+
speculative abstractions.
|
|
15
|
+
3. **Surgical Changes** — touch only what the task requires; match existing
|
|
16
|
+
style; remove only what your own change made unused.
|
|
17
|
+
4. **Goal-Driven Execution** — turn the task into a verifiable goal with a
|
|
18
|
+
success check; loop until it passes.
|
|
19
|
+
|
|
20
|
+
## Commands
|
|
21
|
+
|
|
22
|
+
CodeConductor ships its slash commands as native Gemini CLI TOML commands
|
|
23
|
+
under `.gemini/commands/cc/`, invoked as `/cc:<name>` (e.g. `/cc:feature`,
|
|
24
|
+
`/cc:review`). Run `/cc:ask "<problem>"` when unsure which one applies — it
|
|
25
|
+
recommends exactly one and stops; it does not start the workflow.
|
|
26
|
+
|
|
27
|
+
Skills live under `.gemini/skills/` (Gemini CLI's native Agent Skills
|
|
28
|
+
discovery path, shared with `.agents/skills/` per the Agent Skills open
|
|
29
|
+
standard). Read `.gemini/skills/using-cc-skills/SKILL.md` first — it maps
|
|
30
|
+
intent to the right slash command.
|
|
31
|
+
|
|
32
|
+
## What never changes
|
|
33
|
+
|
|
34
|
+
- Do not invoke the Implementer without an accepted Technical Plan.
|
|
35
|
+
- Do not skip the Reviewer step for medium- or high-risk changes.
|
|
36
|
+
- Do not store secrets in any file loaded by Gemini CLI.
|
|
37
|
+
|
|
38
|
+
<!-- CODECONDUCTOR:END managed -->
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
description = "compatibility constraints, contract tests, documentation, and review."
|
|
1
|
+
description = "Run the API contract workflow for public interface changes, compatibility constraints, contract tests, documentation, and review."
|
|
2
2
|
|
|
3
3
|
prompt = """
|
|
4
4
|
# API Contract Workflow
|
|
@@ -33,7 +33,7 @@ Local development: `bun run dev <same argv>`. Published package: `npx cc-codecon
|
|
|
33
33
|
|
|
34
34
|
## Step 1 — Task Card validation (Task Coach role)
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
Adopt the `task-coach` role as defined in `.gemini/agents/task-coach.md`.
|
|
37
37
|
|
|
38
38
|
The Task Card must classify the task as high risk by default and include the
|
|
39
39
|
affected public interface, request/response examples, compatibility notes,
|
|
@@ -46,7 +46,7 @@ criteria.
|
|
|
46
46
|
|
|
47
47
|
## Step 2 — Technical Plan (Architect role)
|
|
48
48
|
|
|
49
|
-
|
|
49
|
+
Adopt the `architect` role as defined in `.gemini/agents/architect.md`.
|
|
50
50
|
|
|
51
51
|
Define the API contract, validation strategy, compatibility behavior, docs or
|
|
52
52
|
OpenAPI changes, and reviewer blocking conditions.
|
|
@@ -57,7 +57,7 @@ OpenAPI changes, and reviewer blocking conditions.
|
|
|
57
57
|
|
|
58
58
|
## Step 3 — Implementation (Implementer role)
|
|
59
59
|
|
|
60
|
-
|
|
60
|
+
Adopt the `implementer` role as defined in `.gemini/agents/implementer.md`.
|
|
61
61
|
|
|
62
62
|
Apply the minimal diff, preserve compatible behavior unless explicitly approved
|
|
63
63
|
as breaking, and update only the planned files.
|
|
@@ -66,7 +66,7 @@ as breaking, and update only the planned files.
|
|
|
66
66
|
|
|
67
67
|
## Step 4 — Contract Tests (Tester role)
|
|
68
68
|
|
|
69
|
-
|
|
69
|
+
Adopt the `tester` role as defined in `.gemini/agents/tester.md`.
|
|
70
70
|
|
|
71
71
|
Add or update tests for request shape, response shape, status/error behavior,
|
|
72
72
|
and backward compatibility.
|
|
@@ -75,8 +75,12 @@ and backward compatibility.
|
|
|
75
75
|
|
|
76
76
|
## Step 5 — Review (Reviewer role)
|
|
77
77
|
|
|
78
|
-
|
|
78
|
+
Adopt the `reviewer` role as defined in `.gemini/agents/reviewer.md`.
|
|
79
79
|
|
|
80
80
|
Block on missing contract tests, undocumented breaking changes, or docs/OpenAPI
|
|
81
81
|
drift.
|
|
82
|
+
|
|
83
|
+
## Next
|
|
84
|
+
|
|
85
|
+
Run `/cc:review` on the diff before merging.
|
|
82
86
|
"""
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
description = "
|
|
1
|
+
description = "Recommend one CodeConductor slash command from a natural-language problem. Does not start that workflow."
|
|
2
2
|
|
|
3
3
|
prompt = """
|
|
4
4
|
# Ask — recommend a slash command
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
description = "validate with openspec, and plan OpenSpec change folders for /cc-openspec."
|
|
1
|
+
description = "Author BACKLOG.md — wayfinding, grilling, create or append items, validate with openspec, and plan OpenSpec change folders for /cc-openspec."
|
|
2
2
|
|
|
3
3
|
prompt = """
|
|
4
4
|
# Backlog Authoring Workflow
|
|
@@ -84,4 +84,8 @@ If APPROVED (no CRITICAL findings):
|
|
|
84
84
|
## Completion
|
|
85
85
|
|
|
86
86
|
Deliver the complete Council Verdict. The feature is only complete when tests pass and the council explicitly approves the implementation according to the specification.
|
|
87
|
+
|
|
88
|
+
## Next
|
|
89
|
+
|
|
90
|
+
Approved: merge. Blocked: return the findings to `/cc:fix` or `/cc:feature`.
|
|
87
91
|
"""
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
description = "operational sequencing, tests, and review."
|
|
1
|
+
description = "Run the database migration workflow for schema/data changes, operational sequencing, tests, and review."
|
|
2
2
|
|
|
3
3
|
prompt = """
|
|
4
4
|
# Database Migration Workflow
|
|
@@ -34,7 +34,7 @@ Local development: `bun run dev <same argv>`. Published package: `npx cc-codecon
|
|
|
34
34
|
|
|
35
35
|
## Step 1 — Task Card validation (Task Coach role)
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
Adopt the `task-coach` role as defined in `.gemini/agents/task-coach.md`.
|
|
38
38
|
|
|
39
39
|
The Task Card must classify the task as high risk and include affected schema,
|
|
40
40
|
model, and migration files; data backfill needs; deployment ordering;
|
|
@@ -46,7 +46,7 @@ rollback/forward-fix strategy; lock risk; data risk; and verification commands.
|
|
|
46
46
|
|
|
47
47
|
## Step 2 — Migration Plan (Architect role)
|
|
48
48
|
|
|
49
|
-
|
|
49
|
+
Adopt the `architect` role as defined in `.gemini/agents/architect.md`.
|
|
50
50
|
|
|
51
51
|
Define the schema/data plan, operational sequencing, compatibility strategy,
|
|
52
52
|
rollback/forward-fix notes, and test approach.
|
|
@@ -57,7 +57,7 @@ rollback/forward-fix notes, and test approach.
|
|
|
57
57
|
|
|
58
58
|
## Step 3 — Migration Tests (Tester role)
|
|
59
59
|
|
|
60
|
-
|
|
60
|
+
Adopt the `tester` role as defined in `.gemini/agents/tester.md`.
|
|
61
61
|
|
|
62
62
|
Cover migration-sensitive behavior where the stack supports it, including
|
|
63
63
|
existing-data edge cases and rollback/forward-fix notes when automated rollback
|
|
@@ -67,7 +67,7 @@ tests are not practical.
|
|
|
67
67
|
|
|
68
68
|
## Step 4 — Implementation (Implementer role)
|
|
69
69
|
|
|
70
|
-
|
|
70
|
+
Adopt the `implementer` role as defined in `.gemini/agents/implementer.md`.
|
|
71
71
|
|
|
72
72
|
Keep model and migration changes together, avoid unrelated refactors, and
|
|
73
73
|
preserve the deployment order specified by architect.
|
|
@@ -76,8 +76,12 @@ preserve the deployment order specified by architect.
|
|
|
76
76
|
|
|
77
77
|
## Step 5 — Review (Reviewer role)
|
|
78
78
|
|
|
79
|
-
|
|
79
|
+
Adopt the `reviewer` role as defined in `.gemini/agents/reviewer.md`.
|
|
80
80
|
|
|
81
81
|
Block on missing migration tests, missing data-risk notes, undocumented
|
|
82
82
|
deployment sequencing, or model/migration drift.
|
|
83
|
+
|
|
84
|
+
## Next
|
|
85
|
+
|
|
86
|
+
Run `/cc:review` on the diff before merging.
|
|
83
87
|
"""
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
description = "implementation, testing, review, and documentation."
|
|
1
|
+
description = "Run the full feature workflow — task validation, technical design, implementation, testing, review, and documentation."
|
|
2
2
|
|
|
3
3
|
prompt = """
|
|
4
4
|
# Feature Workflow
|
|
@@ -7,6 +7,28 @@ Feature request: {{args}}
|
|
|
7
7
|
|
|
8
8
|
---
|
|
9
9
|
|
|
10
|
+
## Web interface scope
|
|
11
|
+
|
|
12
|
+
When the task concerns web layout, component states, feedback, motion, or a
|
|
13
|
+
requested UI audit, apply skill `web-design-engineering` from the installed skill
|
|
14
|
+
library. Use it during intake/discovery, design, test/implement, and review as
|
|
15
|
+
applicable; keep this workflow’s gates and TDD order. Framework presence alone
|
|
16
|
+
does not activate it; backend-only and native mobile work are excluded. Record
|
|
17
|
+
required visual checks as pending when unavailable. Keep findings in the existing
|
|
18
|
+
Review Report: contract failures in Spec Axis, technical issues in existing
|
|
19
|
+
subchecks, and aesthetic preferences as suggestions; do not add an axis.
|
|
20
|
+
|
|
21
|
+
## Android phone interface scope
|
|
22
|
+
|
|
23
|
+
When the task concerns concrete Jetpack Compose phone layout, component states,
|
|
24
|
+
interaction, accessibility, visual behavior, or a requested UI audit, apply skill
|
|
25
|
+
`android-ui-design`. Use it during design, test/implementation, and review as
|
|
26
|
+
applicable while keeping this workflow's gates and TDD order. Kotlin, Compose,
|
|
27
|
+
framework, or dependency presence alone does not activate it; non-UI Android work
|
|
28
|
+
stays with the general `android` skill. Audit-only requests remain read-only, and
|
|
29
|
+
unavailable visual or emulator checks remain pending rather than claimed complete.
|
|
30
|
+
|
|
31
|
+
|
|
10
32
|
## Step 0 — CCEP Bootstrap
|
|
11
33
|
|
|
12
34
|
Command: `feature` (fixed for this workflow — do not infer from user text)
|
|
@@ -49,7 +71,7 @@ Record a Repo Map artifact before intake.
|
|
|
49
71
|
|
|
50
72
|
## Step 2 — Task Card validation (Task Coach role)
|
|
51
73
|
|
|
52
|
-
|
|
74
|
+
Adopt the `task-coach` role as defined in `.gemini/agents/task-coach.md`.
|
|
53
75
|
|
|
54
76
|
Produce a complete Task Card. The Task Card is ready when it contains: title,
|
|
55
77
|
type, risk classification, scope, context, acceptance criteria, and constraints.
|
|
@@ -64,7 +86,7 @@ continuing.**
|
|
|
64
86
|
|
|
65
87
|
## Step 3 — Technical Plan (Architect role)
|
|
66
88
|
|
|
67
|
-
|
|
89
|
+
Adopt the `architect` role as defined in `.gemini/agents/architect.md`.
|
|
68
90
|
|
|
69
91
|
Produce a Technical Plan that covers:
|
|
70
92
|
|
|
@@ -82,7 +104,7 @@ not proceed to implementation until the plan is approved.**
|
|
|
82
104
|
|
|
83
105
|
## Step 4 — Test coverage (Tester role)
|
|
84
106
|
|
|
85
|
-
|
|
107
|
+
Adopt the `tester` role as defined in `.gemini/agents/tester.md`.
|
|
86
108
|
|
|
87
109
|
Use the Implementation Summary and the Task Card.
|
|
88
110
|
|
|
@@ -95,7 +117,7 @@ Use the Implementation Summary and the Task Card.
|
|
|
95
117
|
|
|
96
118
|
## Step 5 — Implementation (Implementer role)
|
|
97
119
|
|
|
98
|
-
|
|
120
|
+
Adopt the `implementer` role as defined in `.gemini/agents/implementer.md`.
|
|
99
121
|
|
|
100
122
|
Use the approved Technical Plan and the Task Card from the steps above.
|
|
101
123
|
Implementer creates a Git Worktree before touching any file; all edits happen inside it.
|
|
@@ -110,7 +132,7 @@ Implementer creates a Git Worktree before touching any file; all edits happen in
|
|
|
110
132
|
|
|
111
133
|
## Step 6 — Code review (Reviewer role)
|
|
112
134
|
|
|
113
|
-
|
|
135
|
+
Adopt the `reviewer` role as defined in `.gemini/agents/reviewer.md`.
|
|
114
136
|
|
|
115
137
|
Use the complete diff and the Task Card.
|
|
116
138
|
|
|
@@ -124,7 +146,7 @@ they are resolved and the diff is re-reviewed.
|
|
|
124
146
|
|
|
125
147
|
## Step 7 — Documentation (Docs role)
|
|
126
148
|
|
|
127
|
-
|
|
149
|
+
Adopt the `docs` role as defined in `.gemini/agents/docs.md`.
|
|
128
150
|
|
|
129
151
|
Invoke this step only if any of the following changed:
|
|
130
152
|
|
|
@@ -150,4 +172,8 @@ Report the following:
|
|
|
150
172
|
|
|
151
173
|
The feature is complete only when: all tests pass, no CRITICAL review findings
|
|
152
174
|
remain, and documentation reflects the implemented behavior.
|
|
175
|
+
|
|
176
|
+
## Next
|
|
177
|
+
|
|
178
|
+
Run `/cc:review` on the diff before merging.
|
|
153
179
|
"""
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
description = "validation, implementation, testing, and optional review."
|
|
1
|
+
description = "Run the bug fix workflow — risk-based routing through task validation, implementation, testing, and optional review."
|
|
2
2
|
|
|
3
3
|
prompt = """
|
|
4
4
|
# Bug Fix Workflow
|
|
@@ -15,6 +15,28 @@ Provide the following information in {{args}}:
|
|
|
15
15
|
|
|
16
16
|
---
|
|
17
17
|
|
|
18
|
+
## Web interface scope
|
|
19
|
+
|
|
20
|
+
When the task concerns web layout, component states, feedback, motion, or a
|
|
21
|
+
requested UI audit, apply skill `web-design-engineering` from the installed skill
|
|
22
|
+
library. Use it during intake/discovery, design, test/implement, and review as
|
|
23
|
+
applicable; keep this workflow’s gates and TDD order. Framework presence alone
|
|
24
|
+
does not activate it; backend-only and native mobile work are excluded. Record
|
|
25
|
+
required visual checks as pending when unavailable. Keep findings in the existing
|
|
26
|
+
Review Report: contract failures in Spec Axis, technical issues in existing
|
|
27
|
+
subchecks, and aesthetic preferences as suggestions; do not add an axis.
|
|
28
|
+
|
|
29
|
+
## Android phone interface scope
|
|
30
|
+
|
|
31
|
+
When the task concerns concrete Jetpack Compose phone layout, component states,
|
|
32
|
+
interaction, accessibility, visual behavior, or a requested UI audit, apply skill
|
|
33
|
+
`android-ui-design`. Use it during design, test/implementation, and review as
|
|
34
|
+
applicable while keeping this workflow's gates and TDD order. Kotlin, Compose,
|
|
35
|
+
framework, or dependency presence alone does not activate it; non-UI Android work
|
|
36
|
+
stays with the general `android` skill. Audit-only requests remain read-only, and
|
|
37
|
+
unavailable visual or emulator checks remain pending rather than claimed complete.
|
|
38
|
+
|
|
39
|
+
|
|
18
40
|
## Step 0 — CCEP Bootstrap
|
|
19
41
|
|
|
20
42
|
Command: `fix` (fixed for this workflow — do not infer from user text)
|
|
@@ -39,9 +61,6 @@ If `openspec status` reports an active change folder:
|
|
|
39
61
|
|
|
40
62
|
Local development: `bun run dev <same argv>`. Published package: `npx cc-codeconductor`.
|
|
41
63
|
|
|
42
|
-
Skills: `testing-tdd`, `evaluation`. Record `scorecard create --from-diff`.
|
|
43
|
-
A small fix still needs a Task Card and a failing regression test first.
|
|
44
|
-
|
|
45
64
|
---
|
|
46
65
|
|
|
47
66
|
|
|
@@ -56,7 +75,7 @@ Record a Repo Map artifact before intake.
|
|
|
56
75
|
|
|
57
76
|
## Step 2 — Task Card validation (Task Coach role)
|
|
58
77
|
|
|
59
|
-
|
|
78
|
+
Adopt the `task-coach` role as defined in `.gemini/agents/task-coach.md`.
|
|
60
79
|
|
|
61
80
|
Produce a Task Card that includes:
|
|
62
81
|
|
|
@@ -111,7 +130,7 @@ before continuing.**
|
|
|
111
130
|
|
|
112
131
|
## Step 4 — Regression tests (Tester role)
|
|
113
132
|
|
|
114
|
-
|
|
133
|
+
Adopt the `tester` role as defined in `.gemini/agents/tester.md`. Apply for all risk levels.
|
|
115
134
|
|
|
116
135
|
1. Write a regression test that reproduces the original bug and confirm it fails
|
|
117
136
|
before any fix (RED).
|
|
@@ -122,7 +141,7 @@ Invoke the `tester` subagent via the Task tool. Apply for all risk levels.
|
|
|
122
141
|
|
|
123
142
|
## Step 5a — Implementation, low-risk (Implementer role)
|
|
124
143
|
|
|
125
|
-
|
|
144
|
+
Adopt the `implementer` role as defined in `.gemini/agents/implementer.md`. Use the Task Card.
|
|
126
145
|
Implementer creates a Git Worktree before touching any file; all edits happen inside it.
|
|
127
146
|
|
|
128
147
|
1. Locate the defect using the reproduction steps.
|
|
@@ -134,7 +153,7 @@ Implementer creates a Git Worktree before touching any file; all edits happen in
|
|
|
134
153
|
|
|
135
154
|
## Step 5b — Implementation, medium/high-risk (Implementer role)
|
|
136
155
|
|
|
137
|
-
|
|
156
|
+
Adopt the `implementer` role as defined in `.gemini/agents/implementer.md`. Use the approved
|
|
138
157
|
Technical Plan and the Task Card.
|
|
139
158
|
Implementer creates a Git Worktree before touching any file; all edits happen inside it.
|
|
140
159
|
|
|
@@ -145,7 +164,7 @@ After implementation, run the full test suite.
|
|
|
145
164
|
|
|
146
165
|
## Step 6 — Review (Reviewer role) — medium/high-risk only
|
|
147
166
|
|
|
148
|
-
|
|
167
|
+
Adopt the `reviewer` role as defined in `.gemini/agents/reviewer.md`. Use the diff and Task
|
|
149
168
|
Card.
|
|
150
169
|
|
|
151
170
|
Produce a Review Report with CRITICAL / WARNING / SUGGESTION findings. If any
|
|
@@ -160,4 +179,11 @@ Report: Task Card, Implementation Summary, regression test added, Review Report
|
|
|
160
179
|
|
|
161
180
|
The fix is complete only when: the regression test passes, the full suite
|
|
162
181
|
passes, and no CRITICAL review findings remain.
|
|
182
|
+
|
|
183
|
+
Skills: `testing-tdd`, `evaluation`. Record `scorecard create --from-diff`.
|
|
184
|
+
A small fix still needs a Task Card and a failing regression test first.
|
|
185
|
+
|
|
186
|
+
## Next
|
|
187
|
+
|
|
188
|
+
Run `/cc:review` on the diff before merging.
|
|
163
189
|
"""
|