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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cc-prototype
|
|
3
|
-
description:
|
|
3
|
+
description: Disposable spike in an isolated worktree. Not a merge candidate.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# prototype
|
|
@@ -39,4 +39,4 @@ Invoke `implementer` in a Git worktree that is not a merge candidate. Label the
|
|
|
39
39
|
|
|
40
40
|
## Completion
|
|
41
41
|
|
|
42
|
-
Report bounds, worktree path, and what was learned. Recommend
|
|
42
|
+
Report bounds, worktree path, and what was learned. Recommend `$cc-feature` or `$cc-fix` if the spike should become real work.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cc-refactor
|
|
3
|
-
description: test verification, risk-based implementation, and scope enforcement.
|
|
3
|
+
description: Run the refactor workflow — mandatory architectural justification, test verification, risk-based implementation, and scope enforcement.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# refactor
|
|
@@ -50,7 +50,7 @@ Command: `refactor` (fixed for this workflow — do not infer from user text)
|
|
|
50
50
|
|
|
51
51
|
## Step 1 — Architectural justification (Architect role)
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
Adopt the `architect` role as defined in `AGENTS.md`. Always invoke this step
|
|
54
54
|
first, regardless of risk level. A refactor without a written justification is
|
|
55
55
|
scope creep in disguise.
|
|
56
56
|
|
|
@@ -99,7 +99,7 @@ Proceed to Step 3b.
|
|
|
99
99
|
|
|
100
100
|
## Step 3a — Implementation, low-risk (Implementer role)
|
|
101
101
|
|
|
102
|
-
|
|
102
|
+
Adopt the `implementer` role as defined in `AGENTS.md`. Use the approved
|
|
103
103
|
Refactor Plan.
|
|
104
104
|
Implementer creates a Git Worktree before touching any file; all edits happen inside it.
|
|
105
105
|
|
|
@@ -139,7 +139,7 @@ regression. **STOP and report.**
|
|
|
139
139
|
|
|
140
140
|
## Step 5 — Code review (Reviewer role) — medium/high-risk only
|
|
141
141
|
|
|
142
|
-
|
|
142
|
+
Adopt the `reviewer` role as defined in `AGENTS.md`. Use the diff and Refactor
|
|
143
143
|
Plan.
|
|
144
144
|
|
|
145
145
|
Verify:
|
|
@@ -161,3 +161,7 @@ and after, Review Report (if applicable).
|
|
|
161
161
|
The refactor is complete only when: all pre-existing tests still pass, the
|
|
162
162
|
implementation matches the approved plan exactly, and no CRITICAL review
|
|
163
163
|
findings remain.
|
|
164
|
+
|
|
165
|
+
## Next
|
|
166
|
+
|
|
167
|
+
Run `$cc-review` on the diff before merging.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cc-review
|
|
3
|
-
description: CRITICAL, WARNING, and SUGGESTION findings; CRITICAL findings block merge.
|
|
3
|
+
description: Run a structured code review — produces a Review Report with CRITICAL, WARNING, and SUGGESTION findings; CRITICAL findings block merge.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# review
|
|
@@ -20,6 +20,28 @@ Specify what to review. Accepted formats:
|
|
|
20
20
|
|
|
21
21
|
---
|
|
22
22
|
|
|
23
|
+
## Web interface scope
|
|
24
|
+
|
|
25
|
+
When the task concerns web layout, component states, feedback, motion, or a
|
|
26
|
+
requested UI audit, apply skill `web-design-engineering` from the installed skill
|
|
27
|
+
library. Use it during intake/discovery, design, test/implement, and review as
|
|
28
|
+
applicable; keep this workflow’s gates and TDD order. Framework presence alone
|
|
29
|
+
does not activate it; backend-only and native mobile work are excluded. Record
|
|
30
|
+
required visual checks as pending when unavailable. Keep findings in the existing
|
|
31
|
+
Review Report: contract failures in Spec Axis, technical issues in existing
|
|
32
|
+
subchecks, and aesthetic preferences as suggestions; do not add an axis.
|
|
33
|
+
|
|
34
|
+
## Android phone interface scope
|
|
35
|
+
|
|
36
|
+
When the task concerns concrete Jetpack Compose phone layout, component states,
|
|
37
|
+
interaction, accessibility, visual behavior, or a requested UI audit, apply skill
|
|
38
|
+
`android-ui-design`. Use it during design, test/implementation, and review as
|
|
39
|
+
applicable while keeping this workflow's gates and TDD order. Kotlin, Compose,
|
|
40
|
+
framework, or dependency presence alone does not activate it; non-UI Android work
|
|
41
|
+
stays with the general `android` skill. Audit-only requests remain read-only, and
|
|
42
|
+
unavailable visual or emulator checks remain pending rather than claimed complete.
|
|
43
|
+
|
|
44
|
+
|
|
23
45
|
## Step 0 — CCEP Bootstrap
|
|
24
46
|
|
|
25
47
|
Command: `review` (fixed for this workflow — do not infer from user text)
|
|
@@ -58,7 +80,7 @@ Show the diff summary (files changed, lines added/removed) before proceeding.
|
|
|
58
80
|
|
|
59
81
|
## Step 2 — Code review (Reviewer role)
|
|
60
82
|
|
|
61
|
-
|
|
83
|
+
Adopt the `reviewer` role as defined in `AGENTS.md`.
|
|
62
84
|
|
|
63
85
|
Evaluate the diff against the following checklist:
|
|
64
86
|
|
|
@@ -150,3 +172,7 @@ npx cc-codeconductor scorecard regression
|
|
|
150
172
|
```
|
|
151
173
|
|
|
152
174
|
Map merge recommendation to scorecard verdict. Record outcome for trend tracking.
|
|
175
|
+
|
|
176
|
+
## Next
|
|
177
|
+
|
|
178
|
+
Approved: merge. Blocked: return the findings to `$cc-fix` or `$cc-feature`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cc-security
|
|
3
|
-
description: security-* skills, authorization gate, risk-based routing, hardening, and review.
|
|
3
|
+
description: Run the authorized defensive security workflow — domain security-* skills, authorization gate, risk-based routing, hardening, and review.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# security
|
|
@@ -180,3 +180,7 @@ resolved.
|
|
|
180
180
|
Report: Task Card, Implementation Summary, regression test added, Review Report
|
|
181
181
|
(if applicable). The task is complete only when: the regression test passes, the
|
|
182
182
|
full suite passes, and no CRITICAL review findings remain.
|
|
183
|
+
|
|
184
|
+
## Next
|
|
185
|
+
|
|
186
|
+
Run `$cc-review` on the diff before merging.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cc-spec-mutation
|
|
3
|
-
description: into an immutable Gherkin contract (SHA-256 frozen), implement under the three laws of TDD, pass a judge audit, and merge only if every mutant dies.
|
|
3
|
+
description: Spec-locked TDD with a mutation-testing gate — refine the intent into an immutable Gherkin contract (SHA-256 frozen), implement under the three laws of TDD, pass a judge audit, and merge only if every mutant dies.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# spec-mutation
|
|
@@ -40,7 +40,7 @@ If `openspec status` reports an active change folder:
|
|
|
40
40
|
1. Run: `npx cc-codeconductor openspec validate --output json`
|
|
41
41
|
2. Run: `npx cc-codeconductor openspec analyze --output json`
|
|
42
42
|
3. If analyze `stop` is true or any finding is CRITICAL, stop. Do not delegate to implementer.
|
|
43
|
-
4. Next command spelling on this runner:
|
|
43
|
+
4. Next command spelling on this runner: `$cc-spec-mutation`
|
|
44
44
|
|
|
45
45
|
Local development: `bun run dev <same argv>`. Published package: `npx cc-codeconductor`.
|
|
46
46
|
|
|
@@ -103,7 +103,7 @@ aborts the pipeline with scorecard 0 (Specification Gaming).
|
|
|
103
103
|
|
|
104
104
|
## Stage 3 — TDD under the three laws (`tdd_craftsman`)
|
|
105
105
|
|
|
106
|
-
Delegates to the
|
|
106
|
+
Delegates to the `$cc-tdd-cycle` state machine (`tddCycleStateMachine` in
|
|
107
107
|
`domain/loop`). Evidence must be captured with `captureTddSuiteEvidence` — do
|
|
108
108
|
not hand-edit JSON under `.codeconductor/evidence/`.
|
|
109
109
|
|
|
@@ -190,3 +190,7 @@ The orchestrator keeps a persistent counter per Task Card. If the
|
|
|
190
190
|
- [ ] Judge verdict PASS (compile clean, traceability complete, scope clean).
|
|
191
191
|
- [ ] Mutation runner exits 0 with `total_mutants_killed == total_points`.
|
|
192
192
|
- [ ] Scorecard records the kill rate and iteration count (≤ 3).
|
|
193
|
+
|
|
194
|
+
## Next
|
|
195
|
+
|
|
196
|
+
Run `$cc-review` on the diff before merging.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cc-tdd-cycle
|
|
3
|
-
description: test first, implement the minimum code to pass it, then refactor with the suite green.
|
|
3
|
+
description: Run a structured Red-Green-Refactor TDD cycle — write a failing test first, implement the minimum code to pass it, then refactor with the suite green.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# tdd-cycle
|
|
@@ -40,7 +40,7 @@ If `openspec status` reports an active change folder:
|
|
|
40
40
|
1. Run: `npx cc-codeconductor openspec validate --output json`
|
|
41
41
|
2. Run: `npx cc-codeconductor openspec analyze --output json`
|
|
42
42
|
3. If analyze `stop` is true or any finding is CRITICAL, stop. Do not delegate to implementer.
|
|
43
|
-
4. Next command spelling on this runner:
|
|
43
|
+
4. Next command spelling on this runner: `$cc-tdd-cycle`
|
|
44
44
|
|
|
45
45
|
Local development: `bun run dev <same argv>`. Published package: `npx cc-codeconductor`.
|
|
46
46
|
|
|
@@ -74,7 +74,7 @@ Do not advance phases until that evidence exists.
|
|
|
74
74
|
|
|
75
75
|
## Phase 1 — RED (Tester role)
|
|
76
76
|
|
|
77
|
-
|
|
77
|
+
Adopt the `tester` role as defined in `AGENTS.md`.
|
|
78
78
|
|
|
79
79
|
### 1a — Scope clarification
|
|
80
80
|
|
|
@@ -130,7 +130,7 @@ confirmation.**
|
|
|
130
130
|
|
|
131
131
|
## Phase 2 — GREEN (Implementer role)
|
|
132
132
|
|
|
133
|
-
|
|
133
|
+
Adopt the `implementer` role as defined in `AGENTS.md`.
|
|
134
134
|
|
|
135
135
|
### 2a — Read the failing test before writing any code
|
|
136
136
|
|
|
@@ -177,7 +177,7 @@ confirmation.**
|
|
|
177
177
|
|
|
178
178
|
## Phase 3 — REFACTOR (Implementer role, then Reviewer role)
|
|
179
179
|
|
|
180
|
-
|
|
180
|
+
Adopt the `implementer` role as defined in `AGENTS.md`.
|
|
181
181
|
|
|
182
182
|
### 3a — Assess what needs cleaning
|
|
183
183
|
|
|
@@ -208,7 +208,7 @@ change and investigate.
|
|
|
208
208
|
|
|
209
209
|
### 3d — Review (Reviewer role)
|
|
210
210
|
|
|
211
|
-
|
|
211
|
+
Adopt the `reviewer` role as defined in `AGENTS.md`.
|
|
212
212
|
|
|
213
213
|
Review only the refactored code against these axes:
|
|
214
214
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cc-test-plan
|
|
3
|
-
description: unit, integration, contract, and edge cases without writing implementation code.
|
|
3
|
+
description: Generate a structured test plan for a feature or module — covers unit, integration, contract, and edge cases without writing implementation code.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# test-plan
|
|
@@ -52,7 +52,7 @@ question and wait for the answer.
|
|
|
52
52
|
|
|
53
53
|
## Step 2 — Test plan generation (Tester role, planning mode)
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
Adopt the `tester` role as defined in `AGENTS.md`.
|
|
56
56
|
|
|
57
57
|
Produce a test plan document — not test code. The plan will be used as input
|
|
58
58
|
when tests are actually written.
|
|
@@ -151,3 +151,7 @@ Deliver the complete Test Plan document. Save it as
|
|
|
151
151
|
|
|
152
152
|
This command produces a plan, not test files. No production code and no test
|
|
153
153
|
code is written during this command.
|
|
154
|
+
|
|
155
|
+
## Next
|
|
156
|
+
|
|
157
|
+
Implement against this plan with `$cc-tdd-cycle` or `$cc-feature`.
|
|
@@ -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
|
|
@@ -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.
|
|
@@ -5,7 +5,7 @@ model: "{{MODEL}}"
|
|
|
5
5
|
readonly: true
|
|
6
6
|
is_background: false
|
|
7
7
|
---
|
|
8
|
-
# Agent Contract — complexity-auditor
|
|
8
|
+
# Agent Contract — complexity-auditor v1.0.0
|
|
9
9
|
|
|
10
10
|
You are the Complexity Auditor — the code quality gate in the CodeConductor
|
|
11
11
|
framework. You analyze diffs for bloat, unnecessary abstractions, and non-native
|
|
@@ -5,7 +5,7 @@ model: "{{MODEL}}"
|
|
|
5
5
|
readonly: false
|
|
6
6
|
is_background: false
|
|
7
7
|
---
|
|
8
|
-
# Agent Contract — implementer
|
|
8
|
+
# Agent Contract — implementer v1.0.0
|
|
9
9
|
|
|
10
10
|
## Role
|
|
11
11
|
|
|
@@ -142,7 +142,7 @@ criteria:
|
|
|
142
142
|
|
|
143
143
|
---
|
|
144
144
|
|
|
145
|
-
## Post-implementation evaluation (
|
|
145
|
+
## Post-implementation evaluation (v1.0.0)
|
|
146
146
|
|
|
147
147
|
When the orchestrator invokes the Evaluation Gate, wait for scorecard verdict
|
|
148
148
|
before considering the task complete. On **REVISE**, address findings and re-run
|
|
@@ -5,7 +5,7 @@ model: "{{MODEL}}"
|
|
|
5
5
|
readonly: true
|
|
6
6
|
is_background: false
|
|
7
7
|
---
|
|
8
|
-
# Agent Contract — orchestrator
|
|
8
|
+
# Agent Contract — orchestrator v1.0.0
|
|
9
9
|
|
|
10
10
|
## Role
|
|
11
11
|
|
|
@@ -255,7 +255,7 @@ routes the agents through an iterative feedback loop:
|
|
|
255
255
|
|
|
256
256
|
---
|
|
257
257
|
|
|
258
|
-
## Evaluation Gate (
|
|
258
|
+
## Evaluation Gate (v1.0.0)
|
|
259
259
|
|
|
260
260
|
After each agent completes a deliverable on **medium** or **high** risk tasks:
|
|
261
261
|
|
|
@@ -266,7 +266,7 @@ After each agent completes a deliverable on **medium** or **high** risk tasks:
|
|
|
266
266
|
5. Record outcome: `npx cc-codeconductor scorecard record --task <id> --verdict PASS|REVISE|REJECT --score <n>`
|
|
267
267
|
6. Route on verdict: **REVISE** → prior agent with findings; **REJECT** → `task-coach`
|
|
268
268
|
|
|
269
|
-
Include `contract_version:
|
|
269
|
+
Include `contract_version: v1.0.0` in scorecard metadata.
|
|
270
270
|
|
|
271
271
|
---
|
|
272
272
|
|
|
@@ -5,7 +5,7 @@ model: "{{MODEL}}"
|
|
|
5
5
|
readonly: true
|
|
6
6
|
is_background: false
|
|
7
7
|
---
|
|
8
|
-
# Agent Contract — reviewer
|
|
8
|
+
# Agent Contract — reviewer v1.0.0
|
|
9
9
|
|
|
10
10
|
## Role
|
|
11
11
|
|
|
@@ -204,7 +204,7 @@ Apply these detailed checks based on the detected stack:
|
|
|
204
204
|
|
|
205
205
|
---
|
|
206
206
|
|
|
207
|
-
## Scorecard integration (
|
|
207
|
+
## Scorecard integration (v1.0.0)
|
|
208
208
|
|
|
209
209
|
When the orchestrator requests evaluation, produce scores for all 8 criteria in
|
|
210
210
|
`docs/agent-scorecard.md`:
|
|
@@ -213,7 +213,7 @@ When the orchestrator requests evaluation, produce scores for all 8 criteria in
|
|
|
213
213
|
2. Minimal diff (20%)
|
|
214
214
|
3. Tests present and passing (15%)
|
|
215
215
|
4. No regressions (15%)
|
|
216
|
-
5. Code conventions (
|
|
216
|
+
5. Code conventions (5%)
|
|
217
217
|
6. Documentation updated (5%)
|
|
218
218
|
7. Context discipline (5%)
|
|
219
219
|
8. Complexity diffusion / cc-gain (5%)
|
|
@@ -222,7 +222,7 @@ When the orchestrator requests evaluation, produce scores for all 8 criteria in
|
|
|
222
222
|
|
|
223
223
|
Map review verdict to scorecard verdict: `approved` → PASS, `approved with warnings` → REVISE (if warnings are material), `blocked` → REJECT.
|
|
224
224
|
|
|
225
|
-
Invoke skill `evaluation` and run `scorecard record` with agent `reviewer`, model used, and `contract_version:
|
|
225
|
+
Invoke skill `evaluation` and run `scorecard record` with agent `reviewer`, model used, and `contract_version: v1.0.0`.
|
|
226
226
|
|
|
227
227
|
---
|
|
228
228
|
|