@pzy560117/codex-harness 0.1.4 → 0.1.5
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 +1 -1
- package/package-source/AGENTS.md +48 -0
- package/package-source/PACKAGE.md +49 -0
- package/package-source/README.md +85 -0
- package/package-source/docs/codex-harness-engineering/templates/AGENTS.md +51 -0
- package/package-source/docs/codex-harness-engineering/templates/bootstrap-codex-harness.ps1 +780 -0
- package/package-source/docs/codex-harness-engineering/templates/ci/AGENTS.md +15 -0
- package/package-source/docs/codex-harness-engineering/templates/ci/github-action-codex-review.yml +110 -0
- package/package-source/docs/codex-harness-engineering/templates/ci/github-action-codex-task.yml +46 -0
- package/package-source/docs/codex-harness-engineering/templates/config/AGENTS.md +19 -0
- package/package-source/docs/codex-harness-engineering/templates/config/agents/architect.toml +18 -0
- package/package-source/docs/codex-harness-engineering/templates/config/agents/backend-worker.toml +15 -0
- package/package-source/docs/codex-harness-engineering/templates/config/agents/docs-researcher.toml +14 -0
- package/package-source/docs/codex-harness-engineering/templates/config/agents/docs-worker.toml +16 -0
- package/package-source/docs/codex-harness-engineering/templates/config/agents/explorer.toml +15 -0
- package/package-source/docs/codex-harness-engineering/templates/config/agents/failure-triage.toml +19 -0
- package/package-source/docs/codex-harness-engineering/templates/config/agents/frontend-worker.toml +15 -0
- package/package-source/docs/codex-harness-engineering/templates/config/agents/harness-writer.toml +16 -0
- package/package-source/docs/codex-harness-engineering/templates/config/agents/planner.toml +16 -0
- package/package-source/docs/codex-harness-engineering/templates/config/agents/readonly-research.toml +14 -0
- package/package-source/docs/codex-harness-engineering/templates/config/agents/reviewer.toml +14 -0
- package/package-source/docs/codex-harness-engineering/templates/config/agents/security-reviewer.toml +16 -0
- package/package-source/docs/codex-harness-engineering/templates/config/agents/stage1-reviewer.toml +16 -0
- package/package-source/docs/codex-harness-engineering/templates/config/agents/stage2-reviewer.toml +17 -0
- package/package-source/docs/codex-harness-engineering/templates/config/agents/test-planner.toml +18 -0
- package/package-source/docs/codex-harness-engineering/templates/config/agents/test-runner.toml +15 -0
- package/package-source/docs/codex-harness-engineering/templates/config/agents/visual-reviewer.toml +16 -0
- package/package-source/docs/codex-harness-engineering/templates/config/codex-agent-roles.md +24 -0
- package/package-source/docs/codex-harness-engineering/templates/config/codex-config.toml +38 -0
- package/package-source/docs/codex-harness-engineering/templates/config/codex-readme.md +67 -0
- package/package-source/docs/codex-harness-engineering/templates/config/env-check.ps1 +44 -0
- package/package-source/docs/codex-harness-engineering/templates/config/env.example +13 -0
- package/package-source/docs/codex-harness-engineering/templates/config/global-AGENTS.md +40 -0
- package/package-source/docs/codex-harness-engineering/templates/config/global-config.toml +19 -0
- package/package-source/docs/codex-harness-engineering/templates/config/mcp-config.toml +38 -0
- package/package-source/docs/codex-harness-engineering/templates/config/rules/agents.md +118 -0
- package/package-source/docs/codex-harness-engineering/templates/config/rules/coding-style.md +57 -0
- package/package-source/docs/codex-harness-engineering/templates/config/rules/constitution.md +290 -0
- package/package-source/docs/codex-harness-engineering/templates/config/rules/git.rules +41 -0
- package/package-source/docs/codex-harness-engineering/templates/config/rules/harness.rules +29 -0
- package/package-source/docs/codex-harness-engineering/templates/config/rules/patterns.md +59 -0
- package/package-source/docs/codex-harness-engineering/templates/config/rules/safety.rules +35 -0
- package/package-source/docs/codex-harness-engineering/templates/config/rules/testing.md +34 -0
- package/package-source/docs/codex-harness-engineering/templates/context/AGENTS.md +19 -0
- package/package-source/docs/codex-harness-engineering/templates/context/API_MAP.md +18 -0
- package/package-source/docs/codex-harness-engineering/templates/context/CHANGELOG_AI.md +11 -0
- package/package-source/docs/codex-harness-engineering/templates/context/CURRENT_TASK.md +114 -0
- package/package-source/docs/codex-harness-engineering/templates/context/DB_SCHEMA.md +14 -0
- package/package-source/docs/codex-harness-engineering/templates/context/DECISIONS.md +12 -0
- package/package-source/docs/codex-harness-engineering/templates/context/KNOWN_ISSUES.md +12 -0
- package/package-source/docs/codex-harness-engineering/templates/context/PROJECT_CONTEXT.md +14 -0
- package/package-source/docs/codex-harness-engineering/templates/context/architecture-brief.md +58 -0
- package/package-source/docs/codex-harness-engineering/templates/context/dev-plan.md +166 -0
- package/package-source/docs/codex-harness-engineering/templates/context/feature-pack.md +101 -0
- package/package-source/docs/codex-harness-engineering/templates/context/repo-map.md +102 -0
- package/package-source/docs/codex-harness-engineering/templates/context/service-dependency-matrix.yaml +25 -0
- package/package-source/docs/codex-harness-engineering/templates/contracts/AGENTS.md +17 -0
- package/package-source/docs/codex-harness-engineering/templates/contracts/README.md +24 -0
- package/package-source/docs/codex-harness-engineering/templates/contracts/openapi.yaml +182 -0
- package/package-source/docs/codex-harness-engineering/templates/contracts/orval.config.ts +20 -0
- package/package-source/docs/codex-harness-engineering/templates/contracts/prism-usage.md +41 -0
- package/package-source/docs/codex-harness-engineering/templates/design/AGENTS.md +21 -0
- package/package-source/docs/codex-harness-engineering/templates/design/ai-image-brief.md +122 -0
- package/package-source/docs/codex-harness-engineering/templates/design/assets/README.md +24 -0
- package/package-source/docs/codex-harness-engineering/templates/design/component-map.md +45 -0
- package/package-source/docs/codex-harness-engineering/templates/design/design-brief.md +183 -0
- package/package-source/docs/codex-harness-engineering/templates/design/design-tokens.json +88 -0
- package/package-source/docs/codex-harness-engineering/templates/design/frontend-architecture.md +165 -0
- package/package-source/docs/codex-harness-engineering/templates/design/image-to-frontend-spec.md +120 -0
- package/package-source/docs/codex-harness-engineering/templates/design/screen-states.md +157 -0
- package/package-source/docs/codex-harness-engineering/templates/design/ui-image-review.md +60 -0
- package/package-source/docs/codex-harness-engineering/templates/design/visual-parity-review.md +124 -0
- package/package-source/docs/codex-harness-engineering/templates/docs/AGENTS.md +19 -0
- package/package-source/docs/codex-harness-engineering/templates/docs/architecture-constraints.md +97 -0
- package/package-source/docs/codex-harness-engineering/templates/docs/code-semantics-and-navigation.md +54 -0
- package/package-source/docs/codex-harness-engineering/templates/docs/code-style-and-naming.md +116 -0
- package/package-source/docs/codex-harness-engineering/templates/docs/demo-readme.md +73 -0
- package/package-source/docs/codex-harness-engineering/templates/docs/directory-structure-template.md +88 -0
- package/package-source/docs/codex-harness-engineering/templates/docs/env-and-deployment-template.md +60 -0
- package/package-source/docs/codex-harness-engineering/templates/docs/frontend-quality-rules.md +165 -0
- package/package-source/docs/codex-harness-engineering/templates/docs/governance-auto-repair.md +82 -0
- package/package-source/docs/codex-harness-engineering/templates/docs/harness-architecture.md +78 -0
- package/package-source/docs/codex-harness-engineering/templates/docs/install-manifest-governance.md +307 -0
- package/package-source/docs/codex-harness-engineering/templates/docs/knowledge-architecture.md +241 -0
- package/package-source/docs/codex-harness-engineering/templates/docs/knowledge-import.md +108 -0
- package/package-source/docs/codex-harness-engineering/templates/docs/knowledge-lint.md +98 -0
- package/package-source/docs/codex-harness-engineering/templates/docs/mcp-knowledge-governance.md +24 -0
- package/package-source/docs/codex-harness-engineering/templates/docs/new-project-checklist.md +7 -0
- package/package-source/docs/codex-harness-engineering/templates/docs/new-project-usage.md +216 -0
- package/package-source/docs/codex-harness-engineering/templates/docs/project-agents-template.md +211 -0
- package/package-source/docs/codex-harness-engineering/templates/docs/prompt-knowledge-integration.md +100 -0
- package/package-source/docs/codex-harness-engineering/templates/docs/regression-rules.md +47 -0
- package/package-source/docs/codex-harness-engineering/templates/docs/requirement-prep-kit/README.md +3 -0
- package/package-source/docs/codex-harness-engineering/templates/docs/rule-governance.md +98 -0
- package/package-source/docs/codex-harness-engineering/templates/docs/service-dependency-matrix.md +70 -0
- package/package-source/docs/codex-harness-engineering/templates/docs/spec-to-ui-to-code-workflow.md +196 -0
- package/package-source/docs/codex-harness-engineering/templates/docs/task-session-strategy.md +133 -0
- package/package-source/docs/codex-harness-engineering/templates/docs/team-knowledge-sync.md +187 -0
- package/package-source/docs/codex-harness-engineering/templates/docs/trace-format.md +86 -0
- package/package-source/docs/codex-harness-engineering/templates/governance/AGENTS.md +18 -0
- package/package-source/docs/codex-harness-engineering/templates/governance/branch-protection-checklist.md +50 -0
- package/package-source/docs/codex-harness-engineering/templates/governance/feedback-evolution-loop.md +55 -0
- package/package-source/docs/codex-harness-engineering/templates/governance/retry-budget.yaml +30 -0
- package/package-source/docs/codex-harness-engineering/templates/governance/risk-levels.yaml +53 -0
- package/package-source/docs/codex-harness-engineering/templates/governance/sandbox-policy.md +13 -0
- package/package-source/docs/codex-harness-engineering/templates/hooks/AGENTS.md +15 -0
- package/package-source/docs/codex-harness-engineering/templates/hooks/hook-stop-verify.ps1 +871 -0
- package/package-source/docs/codex-harness-engineering/templates/hooks/hooks.json +40 -0
- package/package-source/docs/codex-harness-engineering/templates/knowledge/AGENTS.md +16 -0
- package/package-source/docs/codex-harness-engineering/templates/knowledge/catalog.md +6 -0
- package/package-source/docs/codex-harness-engineering/templates/knowledge/decisions/DECISION-HARNESS-001.md +39 -0
- package/package-source/docs/codex-harness-engineering/templates/knowledge/guidelines/GUIDELINE-RULES-001.md +30 -0
- package/package-source/docs/codex-harness-engineering/templates/knowledge/knowledge-catalog.md +41 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/.specify/memory/constitution.md +72 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/.specify/scripts/powershell/check-prerequisites.ps1 +148 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/.specify/scripts/powershell/common.ps1 +137 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/.specify/scripts/powershell/create-new-feature.ps1 +279 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/.specify/scripts/powershell/setup-plan.ps1 +61 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/.specify/scripts/powershell/update-agent-context.ps1 +448 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/.specify/templates/agent-file-template.md +28 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/.specify/templates/checklist-template.md +40 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/.specify/templates/e2e-plan-template.md +38 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/.specify/templates/plan-template.md +393 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/.specify/templates/spec-template.md +307 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/.specify/templates/tasks-template.md +244 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/AGENTS.md +19 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/architecture/constraints.md +98 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/AGENTS.md +25 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/README.md +198 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/START-HERE.md +66 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/agent-ecosystem-practices.md +140 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/best-practices.md +267 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/codex-global-rules-example.md +292 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/AGENTS.md +14 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/goal-templates.md +380 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/AGENTS.md +14 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/README.md +64 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/contracts/openapi.yaml +25 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/contracts/orval.config.ts +20 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/docs/design/ai-image-brief.md +44 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/docs/design/component-map.md +17 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/docs/design/design-brief.md +58 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/docs/design/frontend-architecture.md +107 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/docs/design/image-to-frontend-spec.md +72 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/docs/design/screen-states.md +25 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/docs/design/ui-image-review.md +38 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/docs/product/difficulty-research.md +39 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/docs/product/page-inventory.md +5 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/docs/product/prd-lite.md +41 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/docs/product/requirement-interface-matrix.md +32 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/docs/product/state-matrix.yaml +14 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/packages/api-client/generated/model/Ticket.ts +6 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/packages/api-client/generated/ticket-api.ts +35 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/packages/api-client/http-client.ts +8 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/packages/ui/TicketFilterBar.tsx +72 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/plans/features/ticket-filter.dev-plan.md +48 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/progress.txt +1 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/stories/TicketFilterBar.stories.tsx +33 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/task.json +54 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/traces/DEMO-TICKET-FILTER-001-20260422-120000.json +74 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/examples/ticket-filter-demo/verify.ps1 +42 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/global-rules-and-bootstrap.md +415 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/goal-harness-integration-guide.md +364 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/implementation-flow.md +290 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/implementation-guide.md +25 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/knowledge-surface-map.md +186 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/mode-matrix.md +57 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/new-project-usage.md +176 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/project-agents-template.md +168 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/spec-to-ui-to-code-workflow.md +196 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/superpowers-codex-solo-builder-playbook.md +676 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/AGENTS.md +22 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/context/AGENTS.md +14 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/context/API_MAP.md +18 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/context/CURRENT_TASK.md +89 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/context/dev-plan.md +166 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/contracts/AGENTS.md +14 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/contracts/README.md +24 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/contracts/prism-usage.md +41 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/design/AGENTS.md +14 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/design/component-map.md +45 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/design/design-brief.md +183 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/design/design-tokens.json +88 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/design/frontend-architecture.md +165 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/design/image-to-frontend-spec.md +120 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/design/screen-states.md +157 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/design/visual-parity-review.md +124 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/docs/AGENTS.md +14 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/docs/env-and-deployment-template.md +60 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/docs/frontend-quality-rules.md +161 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/docs/regression-rules.md +47 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/docs/trace-format.md +86 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/product/AGENTS.md +14 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/product/prd-lite.md +166 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/product/state-matrix.yaml +116 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/prompts/AGENTS.md +14 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/prompts/implement-one-task.md +150 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/prompts/repair-one-finding.md +70 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/spec/11-security-design.md +43 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/spec/AGENTS.md +14 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/testing/AGENTS.md +14 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/testing/EVIDENCE_PROTOCOL.md +54 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/testing/NATURAL_LANGUAGE_TEST_CASES.md +690 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/testing/REGRESSION_PLAN.md +28 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/testing/TEST_STRATEGY.md +98 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/testing/TRACEABILITY_MATRIX.md +23 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/codex-harness-engineering/templates/testing/verify-matrix.md +51 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/AGENTS.md +165 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/CHANGELOG.md +149 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/CLAUDE.md +61 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/CODE_OF_CONDUCT.md +83 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/CONTRIBUTING.md +465 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/README.md +1390 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/SECURITY.md +53 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/SPONSORING.md +43 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/SPONSORS.md +59 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/TROUBLESHOOTING.md +446 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/agents/architect.md +232 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/agents/build-error-resolver.md +119 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/agents/chief-of-staff.md +155 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/agents/code-reviewer.md +238 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/agents/cpp-build-resolver.md +91 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/agents/cpp-reviewer.md +79 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/agents/database-reviewer.md +94 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/agents/doc-updater.md +110 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/agents/docs-lookup.md +68 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/agents/e2e-runner.md +110 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/agents/go-build-resolver.md +95 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/agents/go-reviewer.md +83 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/agents/harness-optimizer.md +35 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/agents/java-build-resolver.md +154 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/agents/java-reviewer.md +105 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/agents/kotlin-build-resolver.md +119 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/agents/loop-operator.md +37 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/agents/planner.md +215 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/agents/python-reviewer.md +106 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/agents/pytorch-build-resolver.md +122 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/agents/refactor-cleaner.md +92 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/agents/rust-build-resolver.md +149 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/agents/rust-reviewer.md +95 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/agents/security-reviewer.md +112 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/agents/tdd-guide.md +96 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/agents/typescript-reviewer.md +122 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/aside.md +173 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/build-fix.md +64 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/checkpoint.md +78 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/claw.md +51 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/code-review.md +43 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/context-budget.md +29 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/cpp-build.md +173 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/cpp-review.md +140 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/cpp-test.md +257 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/docs.md +32 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/e2e.md +389 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/eval.md +122 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/evolve.md +194 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/go-build.md +183 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/go-review.md +156 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/go-test.md +274 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/gradle-build.md +72 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/harness-audit.md +72 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/instinct-export.md +67 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/instinct-import.md +117 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/instinct-status.md +59 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/kotlin-build.md +176 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/kotlin-review.md +144 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/kotlin-test.md +315 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/learn-eval.md +117 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/learn.md +70 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/loop-start.md +33 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/loop-status.md +25 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/model-route.md +27 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/multi-backend.md +162 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/multi-execute.md +321 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/multi-frontend.md +162 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/multi-plan.md +278 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/plan.md +118 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/pm2.md +283 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/projects.md +39 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/promote.md +41 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/prompt-optimize.md +37 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/prune.md +31 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/python-review.md +319 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/quality-gate.md +30 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/refactor-clean.md +83 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/resume-session.md +154 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/rules-distill.md +11 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/rust-build.md +189 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/rust-review.md +146 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/rust-test.md +311 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/setup-pm.md +83 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/skill-create.md +176 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/skill-health.md +54 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/tdd.md +330 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/test-coverage.md +69 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/update-codemaps.md +73 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/update-docs.md +86 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/commands/verify.md +60 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/contexts/dev.md +23 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/contexts/research.md +30 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/contexts/review.md +25 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/examples/CLAUDE.md +100 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/examples/django-api-CLAUDE.md +308 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/examples/go-microservice-CLAUDE.md +267 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/examples/rust-api-CLAUDE.md +285 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/examples/saas-nextjs-CLAUDE.md +166 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/examples/user-CLAUDE.md +118 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/hooks/README.md +220 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/plugins/README.md +89 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/the-openclaw-guide.md +471 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/ecc-zh-CN/the-security-guide.md +206 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/external-knowledge/README.md +60 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/external-knowledge/app/Mobile_App_Production_Readiness_Framework_/347/247/273/345/212/250/347/253/257/345/205/250/345/271/263/345/217/260/347/224/237/344/272/247/345/217/257/344/270/212/347/272/277/350/247/204/350/214/203.md +2457 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/external-knowledge/app/catalog.md +33 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/external-knowledge/architecture.md +358 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/external-knowledge/common/AI_Coding_Production_Control_Framework_AI/345/206/231/345/256/214/347/232/204/344/273/243/347/240/201/345/246/202/344/275/225/344/270/215/345/244/261/346/216/247.md +2055 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/external-knowledge/common/catalog.md +34 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/external-knowledge/initial-content.md +296 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/external-knowledge/integration-roadmap.md +221 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/harness/architecture-constraints.md +95 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/harness/code-semantics-and-navigation.md +17 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/harness/code-style-and-naming.md +116 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/harness/frontend-quality-rules.md +138 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/harness/governance-auto-repair.md +82 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/harness/mcp-knowledge-governance.md +24 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/harness/service-dependency-matrix.md +55 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/docs/harness/speckit-requirements-gate.md +260 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/root/PACKAGE.md +49 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/root/README.md +52 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/root/init-project.ps1 +51 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/root/install-agent-here.ps1 +57 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/root/install-agent.ps1 +2506 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/root/install-user.ps1 +29 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/rules/agents.md +115 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/rules/coding-style.md +57 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/rules/constitution.md +290 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/rules/git.rules +41 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/rules/harness.rules +29 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/rules/patterns.md +59 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/rules/safety.rules +35 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/rules/testing.md +34 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/scripts/ai-workflow/check-ai-sync-drift.ps1 +205 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/scripts/ai-workflow/sync-ai-config-to-targets.ps1 +826 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/scripts/ai-workflow/sync-targets.example.json +35 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/scripts/harness/harness-governance-check.ps1 +864 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/HOW_TO_USE_SKILLS.md +91 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/academic-mermaid-diagrams/SKILL.md +172 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/ai-config-git-sync/SKILL.md +152 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/ai-config-git-sync/references/command-recipes.md +92 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/ai-ui-prompts/SKILL.md +350 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/allure-report/SKILL.md +230 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/allure-report/examples/usage.md +99 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/allure-report/scripts/view-allure.ps1 +28 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/api-auto-testing/SKILL.md +329 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/api-contract-template/SKILL.md +88 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/api-design/SKILL.md +139 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/api-integration/SKILL.md +302 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/architect/SKILL.md +211 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/auto-commit/SKILL.md +324 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/backend-patterns/SKILL.md +582 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/baseline-ui/SKILL.md +85 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/better-icons/SKILL.md +129 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/brand-design-md/README.md +215 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/brand-design-md/SKILL.md +191 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/browser-e2e-testing/SKILL.md +305 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/build-error-resolver/SKILL.md +532 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/build-fix/SKILL.md +34 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/business-rule-spec/SKILL.md +99 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/celery-tasks/SKILL.md +95 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/checkpoint/SKILL.md +79 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/cicd/SKILL.md +167 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/claude-openrouter-clash-debug/SKILL.md +100 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/claude-openrouter-clash-debug/references/windows-openrouter-clash-playbook.md +94 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/claude-openrouter-clash-debug/scripts/diagnose-openrouter-route.ps1 +282 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/claude-openrouter-clash-debug/scripts/ensure-openrouter-rule.ps1 +101 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/clickhouse-io/SKILL.md +429 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/code-review/SKILL.md +171 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/code-reviewer/SKILL.md +104 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/coding-standards/SKILL.md +520 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/consistency-checklist/SKILL.md +57 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/continuous-learning/SKILL.md +80 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/continuous-learning/config.json +18 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/continuous-learning/evaluate-session.sh +60 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/core-rules/SKILL.md +78 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/data-flow-spec/SKILL.md +63 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/database/SKILL.md +147 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/deep-interview/SKILL.md +154 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/django-drf/SKILL.md +97 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/doc-updater/SKILL.md +452 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/docker/SKILL.md +216 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/docx/SKILL.md +105 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/e2e/SKILL.md +364 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/e2e-runner/SKILL.md +708 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/error-handling/SKILL.md +245 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/eval/SKILL.md +125 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/eval-harness/SKILL.md +226 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/example-skill/README.md +37 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/example-skill/SKILL.md +141 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/example-skill/examples/usage.md +76 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/example-skill/resources/config.json +21 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/example-skill/scripts/helper.py +24 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/exception-handling-spec/SKILL.md +88 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/find-skill/SKILL.md +95 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/fixing-accessibility/SKILL.md +136 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/fixing-metadata/SKILL.md +111 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/fixing-motion-performance/SKILL.md +151 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/frontend-design/SKILL.md +58 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/frontend-first-workflow/SKILL.md +187 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/frontend-patterns/SKILL.md +631 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/fullstack-workflow/SKILL.md +85 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/git-workflow/SKILL.md +108 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/git-xianyu-analyzer/SKILL.md +346 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/git-xianyu-analyzer/scripts/download_images.py +112 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/github-research/SKILL.md +213 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/glue-coding/SKILL.md +389 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/glue-coding-workflow/SKILL.md +230 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/harness-surface-sync/SKILL.md +204 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/harness-surface-sync/references/current-repo-sync-matrix.md +150 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/harness-surface-sync/references/stale-patterns.md +65 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/impeccable/agents/openai.yaml +4 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/impeccable/reference/adapt.md +190 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/impeccable/reference/animate.md +173 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/impeccable/reference/audit.md +134 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/impeccable/reference/bolder.md +113 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/impeccable/reference/brand.md +104 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/impeccable/reference/clarify.md +174 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/impeccable/reference/cognitive-load.md +106 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/impeccable/reference/color-and-contrast.md +105 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/impeccable/reference/colorize.md +154 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/impeccable/reference/craft.md +138 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/impeccable/reference/critique.md +213 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/impeccable/reference/delight.md +302 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/impeccable/reference/distill.md +111 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/impeccable/reference/document.md +427 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/impeccable/reference/extract.md +70 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/impeccable/reference/harden.md +347 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/impeccable/reference/heuristics-scoring.md +234 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/impeccable/reference/interaction-design.md +195 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/impeccable/reference/layout.md +141 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/impeccable/reference/live.md +513 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/impeccable/reference/motion-design.md +99 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/impeccable/reference/onboard.md +234 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/impeccable/reference/optimize.md +258 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/impeccable/reference/overdrive.md +130 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/impeccable/reference/personas.md +178 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/impeccable/reference/polish.md +232 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/impeccable/reference/product.md +62 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/impeccable/reference/quieter.md +99 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/impeccable/reference/responsive-design.md +114 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/impeccable/reference/shape.md +136 -0
- package/package-source/docs/codex-harness-engineering/templates/package-assets/skills/impeccable/reference/spatial-design.md +100 -0
- package/package-source/install-manifest.json +523 -0
- package/package-source/install-manifest.schema.json +80 -0
- package/package-source/tools/install/ai-workflow/check-ai-sync-drift.ps1 +205 -0
- package/package-source/tools/install/ai-workflow/sync-ai-config-to-targets.ps1 +826 -0
- package/package-source/tools/install/ai-workflow/sync-targets.example.json +35 -0
- package/package-source/tools/install/bootstrap-codex-harness.ps1 +776 -0
- package/package-source/tools/install/env-check.ps1 +40 -0
- package/package-source/tools/install/init-project.ps1 +51 -0
- package/package-source/tools/install/install-agent-here.ps1 +57 -0
- package/package-source/tools/install/install-agent.ps1 +2513 -0
- package/package-source/tools/install/install-user.ps1 +29 -0
- package/package.json +1 -1
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
# Brand register
|
|
2
|
+
|
|
3
|
+
When design IS the product: brand sites, landing pages, marketing surfaces, campaign pages, portfolios, long-form content, about pages. The deliverable is the design itself — a visitor's impression is the thing being made.
|
|
4
|
+
|
|
5
|
+
The register spans every genre. A tech brand (Stripe, Linear, Vercel). A luxury brand (a hotel, a fashion house). A consumer product (a restaurant, a travel site, a CPG packaging page). A creative studio, an agency portfolio, a band's album page. They all share the stance — *communicate, not transact* — and diverge wildly in aesthetic. Don't collapse them into a single look.
|
|
6
|
+
|
|
7
|
+
## The brand slop test
|
|
8
|
+
|
|
9
|
+
If someone could look at this and say "AI made that" without hesitation, it's failed. The bar is distinctiveness — a visitor should ask "how was this made?", not "which AI made this?"
|
|
10
|
+
|
|
11
|
+
Brand isn't a neutral register. AI-generated landing pages have flooded the internet, and average is no longer findable. Restraint without intent now reads as mediocre, not refined. Brand surfaces need a POV, a specific audience, a willingness to risk strangeness. Go big or go home.
|
|
12
|
+
|
|
13
|
+
**The second slop test: aesthetic lane.** Before committing to moves, name the reference. A Klim-style specimen page is one lane; Stripe-minimal is another; Liquid-Death-acid-maximalism is another. Don't drift into editorial-magazine aesthetics on a brief that isn't editorial. A hiking brand with Cormorant italic drop caps has the wrong register within the register.
|
|
14
|
+
|
|
15
|
+
## Typography
|
|
16
|
+
|
|
17
|
+
### Font selection procedure
|
|
18
|
+
|
|
19
|
+
Every project. Never skip.
|
|
20
|
+
|
|
21
|
+
1. Read the brief. Write three concrete brand-voice words — not "modern" or "elegant," but "warm and mechanical and opinionated" or "calm and clinical and careful." Physical-object words.
|
|
22
|
+
2. List the three fonts you'd reach for by reflex. If any appear in the reflex-reject list below, reject them — they are training-data defaults and they create monoculture.
|
|
23
|
+
3. Browse a real catalog (Google Fonts, Pangram Pangram, Future Fonts, Adobe Fonts, ABC Dinamo, Klim, Velvetyne) with the three words in mind. Find the font for the brand as a *physical object* — a museum caption, a 1970s terminal manual, a fabric label, a cheap-newsprint children's book, a concert poster, a receipt from a mid-century diner. Reject the first thing that "looks designy."
|
|
24
|
+
4. Cross-check. "Elegant" is not necessarily serif. "Technical" is not necessarily sans. "Warm" is not Fraunces. If the final pick lines up with the original reflex, start over.
|
|
25
|
+
|
|
26
|
+
### Reflex-reject list
|
|
27
|
+
|
|
28
|
+
Training-data defaults. Ban list — look further:
|
|
29
|
+
|
|
30
|
+
Fraunces · Newsreader · Lora · Crimson · Crimson Pro · Crimson Text · Playfair Display · Cormorant · Cormorant Garamond · Syne · IBM Plex Mono · IBM Plex Sans · IBM Plex Serif · Space Mono · Space Grotesk · Inter · DM Sans · DM Serif Display · DM Serif Text · Outfit · Plus Jakarta Sans · Instrument Sans · Instrument Serif
|
|
31
|
+
|
|
32
|
+
### Pairing and voice
|
|
33
|
+
|
|
34
|
+
Distinctive + refined is the goal — the specific shape depends on the brand:
|
|
35
|
+
|
|
36
|
+
- **Editorial / long-form / luxury**: display serif + sans body (a magazine shape).
|
|
37
|
+
- **Tech / dev tools / fintech**: one committed sans, usually; custom-tight tracking, strong weight contrast inside a single family.
|
|
38
|
+
- **Consumer / food / travel**: warmer pairings, often a humanist sans plus a script or display serif.
|
|
39
|
+
- **Creative studios / agencies**: rule-breaking welcome — mono-only, or display-only, or custom-drawn type as voice.
|
|
40
|
+
|
|
41
|
+
Two families minimum is the rule *only* when the voice needs it. A single well-chosen family with committed weight/size contrast is stronger than a timid display+body pair.
|
|
42
|
+
|
|
43
|
+
Vary across projects. If the last brief was a serif-display landing page, this one isn't.
|
|
44
|
+
|
|
45
|
+
### Scale
|
|
46
|
+
|
|
47
|
+
Modular scale, fluid `clamp()` for headings, ≥1.25 ratio between steps. Flat scales (1.1× apart) read as uncommitted.
|
|
48
|
+
|
|
49
|
+
Light text on dark backgrounds: add 0.05–0.1 to line-height. Light type reads as lighter weight and needs more breathing room.
|
|
50
|
+
|
|
51
|
+
## Color
|
|
52
|
+
|
|
53
|
+
Brand surfaces have permission for Committed, Full palette, and Drenched strategies. Use them. A single saturated color spread across a hero is not excess — it's voice. A beige-and-muted-slate landing page ignores the register.
|
|
54
|
+
|
|
55
|
+
- Name a real reference before picking a strategy. "Klim Type Foundry #ff4500 orange drench", "Stripe purple-on-white restraint", "Liquid Death acid-green full palette", "Mailchimp yellow full palette", "Condé Nast Traveler muted navy restraint", "Vercel pure black monochrome". Unnamed ambition becomes beige.
|
|
56
|
+
- Palette IS voice. A calm brand and a restless brand should not share palette mechanics.
|
|
57
|
+
- When the strategy is Committed or Drenched, the color is load-bearing. Don't hedge with neutrals around the edges — commit.
|
|
58
|
+
- Don't converge across projects. If the last brand surface was restrained-on-cream, this one is not.
|
|
59
|
+
|
|
60
|
+
## Layout
|
|
61
|
+
|
|
62
|
+
- Asymmetric compositions are one option. Break the grid intentionally for emphasis.
|
|
63
|
+
- Fluid spacing with `clamp()` that breathes on larger viewports. Vary for rhythm — generous separations, tight groupings.
|
|
64
|
+
- Alternative: a strict, visible grid as the voice (brutalist / Swiss / tech-spec aesthetics). Either asymmetric or rigorously-gridded can be "designed" — the failure mode is splitting the difference into a generic centered stack.
|
|
65
|
+
- Don't default to centering everything. Left-aligned with asymmetric layouts feels more designed; a strict grid reads as confident structure. A centered-stack hero with icon-title-subtitle cards reads as template.
|
|
66
|
+
- When cards ARE the right affordance, use `grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))` — breakpoint-free responsiveness.
|
|
67
|
+
|
|
68
|
+
## Imagery
|
|
69
|
+
|
|
70
|
+
Brand surfaces lean on imagery. A restaurant, hotel, magazine, or product landing page without any imagery reads as incomplete, not as restrained. A solid-color rectangle where a hero image should go is worse than a representative stock photo.
|
|
71
|
+
|
|
72
|
+
**When the brief implies imagery (restaurants, hotels, magazines, photography, hobbyist communities, food, travel, fashion, product), you must ship imagery.** Zero images is a bug, not a design choice. "Restraint" is not an excuse.
|
|
73
|
+
|
|
74
|
+
- **For greenfield work without local assets, use stock imagery** — Unsplash is the default. The URL shape is `https://images.unsplash.com/photo-{id}?auto=format&fit=crop&w=1600&q=80`. Pick real Unsplash photo IDs you're confident exist (`photo-1559339352-11d035aa65de`, `photo-1590490360182-c33d57733427`, etc.); if unsure, pick fewer photos but don't substitute colored `<div>` placeholders.
|
|
75
|
+
- **Search for the brand's physical object**, not the generic category: "handmade pasta on a scratched wooden table" beats "Italian food"; "cypress trees above a limestone hotel facade at dusk" beats "luxury hotel".
|
|
76
|
+
- **One decisive photo beats five mediocre ones.** Hero imagery should commit to a mood; padding with more stock doesn't rescue an indecisive one.
|
|
77
|
+
- **Alt text is part of the voice.** "Coastal fettuccine, hand-cut, served on the terrace" beats "pasta dish".
|
|
78
|
+
|
|
79
|
+
Tech / dev-tool brands are the exception where zero imagery can be correct — a developer landing page often carries its voice through typography, code samples, diagrams. Know which kind of brand you're working on.
|
|
80
|
+
|
|
81
|
+
## Motion
|
|
82
|
+
|
|
83
|
+
- One well-orchestrated page-load with staggered reveals beats scattered micro-interactions — when the brand invites it. Tech-minimal brands often skip entrance motion entirely; the restraint is the voice.
|
|
84
|
+
- For collapsing/expanding sections, transition `grid-template-rows` rather than `height`.
|
|
85
|
+
|
|
86
|
+
## Brand bans (on top of the shared absolute bans)
|
|
87
|
+
|
|
88
|
+
- Monospace as lazy shorthand for "technical / developer." If the brand isn't technical, mono reads as costume.
|
|
89
|
+
- Large rounded-corner icons above every heading. Screams template.
|
|
90
|
+
- Single-family pages that picked the family by reflex, not voice. (A single family chosen deliberately is fine.)
|
|
91
|
+
- All-caps body copy. Reserve caps for short labels and headings.
|
|
92
|
+
- Timid palettes and average layouts. Safe = invisible.
|
|
93
|
+
- Zero imagery on a brief that implies imagery (restaurant, hotel, food, travel, fashion, photography, hobbyist). Colored blocks where a hero photo belongs.
|
|
94
|
+
- Defaulting to editorial-magazine aesthetics (display serif + italic + drop caps + broadsheet grid) on briefs that aren't magazine-shaped. Editorial is ONE aesthetic lane, not the default brand aesthetic.
|
|
95
|
+
|
|
96
|
+
## Brand permissions
|
|
97
|
+
|
|
98
|
+
Brand can afford things product can't. Take them.
|
|
99
|
+
|
|
100
|
+
- Ambitious first-load motion. Reveals, scroll-triggered transitions, typographic choreography.
|
|
101
|
+
- Single-purpose viewports. One dominant idea per fold, long scroll, deliberate pacing.
|
|
102
|
+
- Typographic risk. Enormous display type, unexpected italic cuts, mixed cases, hand-drawn headlines, a single oversize word as a hero.
|
|
103
|
+
- Unexpected color strategies. Palette IS voice — a calm brand and a restless brand should not share palette mechanics.
|
|
104
|
+
- Art direction per section. Different sections can have different visual worlds if the narrative demands it. Consistency of voice beats consistency of treatment.
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
> **Additional context needed**: audience technical level and users' mental state in context.
|
|
2
|
+
|
|
3
|
+
Identify and improve unclear, confusing, or poorly written interface text to make the product easier to understand and use.
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Assess Current Copy
|
|
9
|
+
|
|
10
|
+
Identify what makes the text unclear or ineffective:
|
|
11
|
+
|
|
12
|
+
1. **Find clarity problems**:
|
|
13
|
+
- **Jargon**: Technical terms users won't understand
|
|
14
|
+
- **Ambiguity**: Multiple interpretations possible
|
|
15
|
+
- **Passive voice**: "Your file has been uploaded" vs "We uploaded your file"
|
|
16
|
+
- **Length**: Too wordy or too terse
|
|
17
|
+
- **Assumptions**: Assuming user knowledge they don't have
|
|
18
|
+
- **Missing context**: Users don't know what to do or why
|
|
19
|
+
- **Tone mismatch**: Too formal, too casual, or inappropriate for situation
|
|
20
|
+
|
|
21
|
+
2. **Understand the context**:
|
|
22
|
+
- Who's the audience? (Technical? General? First-time users?)
|
|
23
|
+
- What's the user's mental state? (Stressed during error? Confident during success?)
|
|
24
|
+
- What's the action? (What do we want users to do?)
|
|
25
|
+
- What's the constraint? (Character limits? Space limitations?)
|
|
26
|
+
|
|
27
|
+
**CRITICAL**: Clear copy helps users succeed. Unclear copy creates frustration, errors, and support tickets.
|
|
28
|
+
|
|
29
|
+
## Plan Copy Improvements
|
|
30
|
+
|
|
31
|
+
Create a strategy for clearer communication:
|
|
32
|
+
|
|
33
|
+
- **Primary message**: What's the ONE thing users need to know?
|
|
34
|
+
- **Action needed**: What should users do next (if anything)?
|
|
35
|
+
- **Tone**: How should this feel? (Helpful? Apologetic? Encouraging?)
|
|
36
|
+
- **Constraints**: Length limits, brand voice, localization considerations
|
|
37
|
+
|
|
38
|
+
**IMPORTANT**: Good UX writing is invisible. Users should understand immediately without noticing the words.
|
|
39
|
+
|
|
40
|
+
## Improve Copy Systematically
|
|
41
|
+
|
|
42
|
+
Refine text across these common areas:
|
|
43
|
+
|
|
44
|
+
### Error Messages
|
|
45
|
+
**Bad**: "Error 403: Forbidden"
|
|
46
|
+
**Good**: "You don't have permission to view this page. Contact your admin for access."
|
|
47
|
+
|
|
48
|
+
**Bad**: "Invalid input"
|
|
49
|
+
**Good**: "Email addresses need an @ symbol. Try: name@example.com"
|
|
50
|
+
|
|
51
|
+
**Principles**:
|
|
52
|
+
- Explain what went wrong in plain language
|
|
53
|
+
- Suggest how to fix it
|
|
54
|
+
- Don't blame the user
|
|
55
|
+
- Include examples when helpful
|
|
56
|
+
- Link to help/support if applicable
|
|
57
|
+
|
|
58
|
+
### Form Labels & Instructions
|
|
59
|
+
**Bad**: "DOB (MM/DD/YYYY)"
|
|
60
|
+
**Good**: "Date of birth" (with placeholder showing format)
|
|
61
|
+
|
|
62
|
+
**Bad**: "Enter value here"
|
|
63
|
+
**Good**: "Your email address" or "Company name"
|
|
64
|
+
|
|
65
|
+
**Principles**:
|
|
66
|
+
- Use clear, specific labels (not generic placeholders)
|
|
67
|
+
- Show format expectations with examples
|
|
68
|
+
- Explain why you're asking (when not obvious)
|
|
69
|
+
- Put instructions before the field, not after
|
|
70
|
+
- Keep required field indicators clear
|
|
71
|
+
|
|
72
|
+
### Button & CTA Text
|
|
73
|
+
**Bad**: "Click here" | "Submit" | "OK"
|
|
74
|
+
**Good**: "Create account" | "Save changes" | "Got it, thanks"
|
|
75
|
+
|
|
76
|
+
**Principles**:
|
|
77
|
+
- Describe the action specifically
|
|
78
|
+
- Use active voice (verb + noun)
|
|
79
|
+
- Match user's mental model
|
|
80
|
+
- Be specific ("Save" is better than "OK")
|
|
81
|
+
|
|
82
|
+
### Help Text & Tooltips
|
|
83
|
+
**Bad**: "This is the username field"
|
|
84
|
+
**Good**: "Choose a username. You can change this later in Settings."
|
|
85
|
+
|
|
86
|
+
**Principles**:
|
|
87
|
+
- Add value (don't just repeat the label)
|
|
88
|
+
- Answer the implicit question ("What is this?" or "Why do you need this?")
|
|
89
|
+
- Keep it brief but complete
|
|
90
|
+
- Link to detailed docs if needed
|
|
91
|
+
|
|
92
|
+
### Empty States
|
|
93
|
+
**Bad**: "No items"
|
|
94
|
+
**Good**: "No projects yet. Create your first project to get started."
|
|
95
|
+
|
|
96
|
+
**Principles**:
|
|
97
|
+
- Explain why it's empty (if not obvious)
|
|
98
|
+
- Show next action clearly
|
|
99
|
+
- Make it welcoming, not dead-end
|
|
100
|
+
|
|
101
|
+
### Success Messages
|
|
102
|
+
**Bad**: "Success"
|
|
103
|
+
**Good**: "Settings saved! Your changes will take effect immediately."
|
|
104
|
+
|
|
105
|
+
**Principles**:
|
|
106
|
+
- Confirm what happened
|
|
107
|
+
- Explain what happens next (if relevant)
|
|
108
|
+
- Be brief but complete
|
|
109
|
+
- Match the user's emotional moment (celebrate big wins)
|
|
110
|
+
|
|
111
|
+
### Loading States
|
|
112
|
+
**Bad**: "Loading..." (for 30+ seconds)
|
|
113
|
+
**Good**: "Analyzing your data... this usually takes 30-60 seconds"
|
|
114
|
+
|
|
115
|
+
**Principles**:
|
|
116
|
+
- Set expectations (how long?)
|
|
117
|
+
- Explain what's happening (when it's not obvious)
|
|
118
|
+
- Show progress when possible
|
|
119
|
+
- Offer escape hatch if appropriate ("Cancel")
|
|
120
|
+
|
|
121
|
+
### Confirmation Dialogs
|
|
122
|
+
**Bad**: "Are you sure?"
|
|
123
|
+
**Good**: "Delete 'Project Alpha'? This can't be undone."
|
|
124
|
+
|
|
125
|
+
**Principles**:
|
|
126
|
+
- State the specific action
|
|
127
|
+
- Explain consequences (especially for destructive actions)
|
|
128
|
+
- Use clear button labels ("Delete project" not "Yes")
|
|
129
|
+
- Don't overuse confirmations (only for risky actions)
|
|
130
|
+
|
|
131
|
+
### Navigation & Wayfinding
|
|
132
|
+
**Bad**: Generic labels like "Items" | "Things" | "Stuff"
|
|
133
|
+
**Good**: Specific labels like "Your projects" | "Team members" | "Settings"
|
|
134
|
+
|
|
135
|
+
**Principles**:
|
|
136
|
+
- Be specific and descriptive
|
|
137
|
+
- Use language users understand (not internal jargon)
|
|
138
|
+
- Make hierarchy clear
|
|
139
|
+
- Consider information scent (breadcrumbs, current location)
|
|
140
|
+
|
|
141
|
+
## Apply Clarity Principles
|
|
142
|
+
|
|
143
|
+
Every piece of copy should follow these rules:
|
|
144
|
+
|
|
145
|
+
1. **Be specific**: "Enter email" not "Enter value"
|
|
146
|
+
2. **Be concise**: Cut unnecessary words (but don't sacrifice clarity)
|
|
147
|
+
3. **Be active**: "Save changes" not "Changes will be saved"
|
|
148
|
+
4. **Be human**: "Oops, something went wrong" not "System error encountered"
|
|
149
|
+
5. **Be helpful**: Tell users what to do, not just what happened
|
|
150
|
+
6. **Be consistent**: Use same terms throughout (don't vary for variety)
|
|
151
|
+
|
|
152
|
+
**NEVER**:
|
|
153
|
+
- Use jargon without explanation
|
|
154
|
+
- Blame users ("You made an error" → "This field is required")
|
|
155
|
+
- Be vague ("Something went wrong" without explanation)
|
|
156
|
+
- Use passive voice unnecessarily
|
|
157
|
+
- Write overly long explanations (be concise)
|
|
158
|
+
- Use humor for errors (be empathetic instead)
|
|
159
|
+
- Assume technical knowledge
|
|
160
|
+
- Vary terminology (pick one term and stick with it)
|
|
161
|
+
- Repeat information (headers restating intros, redundant explanations)
|
|
162
|
+
- Use placeholders as the only labels (they disappear when users type)
|
|
163
|
+
|
|
164
|
+
## Verify Improvements
|
|
165
|
+
|
|
166
|
+
Test that copy improvements work:
|
|
167
|
+
|
|
168
|
+
- **Comprehension**: Can users understand without context?
|
|
169
|
+
- **Actionability**: Do users know what to do next?
|
|
170
|
+
- **Brevity**: Is it as short as possible while remaining clear?
|
|
171
|
+
- **Consistency**: Does it match terminology elsewhere?
|
|
172
|
+
- **Tone**: Is it appropriate for the situation?
|
|
173
|
+
|
|
174
|
+
Remember: You're a clarity expert with excellent communication skills. Write like you're explaining to a smart friend who's unfamiliar with the product. Be clear, be helpful, be human.
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
# Cognitive Load Assessment
|
|
2
|
+
|
|
3
|
+
Cognitive load is the total mental effort required to use an interface. Overloaded users make mistakes, get frustrated, and leave. This reference helps identify and fix cognitive overload.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Three Types of Cognitive Load
|
|
8
|
+
|
|
9
|
+
### Intrinsic Load — The Task Itself
|
|
10
|
+
Complexity inherent to what the user is trying to do. You can't eliminate this, but you can structure it.
|
|
11
|
+
|
|
12
|
+
**Manage it by**:
|
|
13
|
+
- Breaking complex tasks into discrete steps
|
|
14
|
+
- Providing scaffolding (templates, defaults, examples)
|
|
15
|
+
- Progressive disclosure — show what's needed now, hide the rest
|
|
16
|
+
- Grouping related decisions together
|
|
17
|
+
|
|
18
|
+
### Extraneous Load — Bad Design
|
|
19
|
+
Mental effort caused by poor design choices. **Eliminate this ruthlessly** — it's pure waste.
|
|
20
|
+
|
|
21
|
+
**Common sources**:
|
|
22
|
+
- Confusing navigation that requires mental mapping
|
|
23
|
+
- Unclear labels that force users to guess meaning
|
|
24
|
+
- Visual clutter competing for attention
|
|
25
|
+
- Inconsistent patterns that prevent learning
|
|
26
|
+
- Unnecessary steps between user intent and result
|
|
27
|
+
|
|
28
|
+
### Germane Load — Learning Effort
|
|
29
|
+
Mental effort spent building understanding. This is *good* cognitive load — it leads to mastery.
|
|
30
|
+
|
|
31
|
+
**Support it by**:
|
|
32
|
+
- Progressive disclosure that reveals complexity gradually
|
|
33
|
+
- Consistent patterns that reward learning
|
|
34
|
+
- Feedback that confirms correct understanding
|
|
35
|
+
- Onboarding that teaches through action, not walls of text
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## Cognitive Load Checklist
|
|
40
|
+
|
|
41
|
+
Evaluate the interface against these 8 items:
|
|
42
|
+
|
|
43
|
+
- [ ] **Single focus**: Can the user complete their primary task without distraction from competing elements?
|
|
44
|
+
- [ ] **Chunking**: Is information presented in digestible groups (≤4 items per group)?
|
|
45
|
+
- [ ] **Grouping**: Are related items visually grouped together (proximity, borders, shared background)?
|
|
46
|
+
- [ ] **Visual hierarchy**: Is it immediately clear what's most important on the screen?
|
|
47
|
+
- [ ] **One thing at a time**: Can the user focus on a single decision before moving to the next?
|
|
48
|
+
- [ ] **Minimal choices**: Are decisions simplified (≤4 visible options at any decision point)?
|
|
49
|
+
- [ ] **Working memory**: Does the user need to remember information from a previous screen to act on the current one?
|
|
50
|
+
- [ ] **Progressive disclosure**: Is complexity revealed only when the user needs it?
|
|
51
|
+
|
|
52
|
+
**Scoring**: Count the failed items. 0–1 failures = low cognitive load (good). 2–3 = moderate (address soon). 4+ = high cognitive load (critical fix needed).
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
## The Working Memory Rule
|
|
57
|
+
|
|
58
|
+
**Humans can hold ≤4 items in working memory at once** (Miller's Law revised by Cowan, 2001).
|
|
59
|
+
|
|
60
|
+
At any decision point, count the number of distinct options, actions, or pieces of information a user must simultaneously consider:
|
|
61
|
+
- **≤4 items**: Within working memory limits — manageable
|
|
62
|
+
- **5–7 items**: Pushing the boundary — consider grouping or progressive disclosure
|
|
63
|
+
- **8+ items**: Overloaded — users will skip, misclick, or abandon
|
|
64
|
+
|
|
65
|
+
**Practical applications**:
|
|
66
|
+
- Navigation menus: ≤5 top-level items (group the rest under clear categories)
|
|
67
|
+
- Form sections: ≤4 fields visible per group before a visual break
|
|
68
|
+
- Action buttons: 1 primary, 1–2 secondary, group the rest in a menu
|
|
69
|
+
- Dashboard widgets: ≤4 key metrics visible without scrolling
|
|
70
|
+
- Pricing tiers: ≤3 options (more causes analysis paralysis)
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
## Common Cognitive Load Violations
|
|
75
|
+
|
|
76
|
+
### 1. The Wall of Options
|
|
77
|
+
**Problem**: Presenting 10+ choices at once with no hierarchy.
|
|
78
|
+
**Fix**: Group into categories, highlight recommended, use progressive disclosure.
|
|
79
|
+
|
|
80
|
+
### 2. The Memory Bridge
|
|
81
|
+
**Problem**: User must remember info from step 1 to complete step 3.
|
|
82
|
+
**Fix**: Keep relevant context visible, or repeat it where it's needed.
|
|
83
|
+
|
|
84
|
+
### 3. The Hidden Navigation
|
|
85
|
+
**Problem**: User must build a mental map of where things are.
|
|
86
|
+
**Fix**: Always show current location (breadcrumbs, active states, progress indicators).
|
|
87
|
+
|
|
88
|
+
### 4. The Jargon Barrier
|
|
89
|
+
**Problem**: Technical or domain language forces translation effort.
|
|
90
|
+
**Fix**: Use plain language. If domain terms are unavoidable, define them inline.
|
|
91
|
+
|
|
92
|
+
### 5. The Visual Noise Floor
|
|
93
|
+
**Problem**: Every element has the same visual weight — nothing stands out.
|
|
94
|
+
**Fix**: Establish clear hierarchy: one primary element, 2–3 secondary, everything else muted.
|
|
95
|
+
|
|
96
|
+
### 6. The Inconsistent Pattern
|
|
97
|
+
**Problem**: Similar actions work differently in different places.
|
|
98
|
+
**Fix**: Standardize interaction patterns. Same type of action = same type of UI.
|
|
99
|
+
|
|
100
|
+
### 7. The Multi-Task Demand
|
|
101
|
+
**Problem**: Interface requires processing multiple simultaneous inputs (reading + deciding + navigating).
|
|
102
|
+
**Fix**: Sequence the steps. Let the user do one thing at a time.
|
|
103
|
+
|
|
104
|
+
### 8. The Context Switch
|
|
105
|
+
**Problem**: User must jump between screens/tabs/modals to gather info for a single decision.
|
|
106
|
+
**Fix**: Co-locate the information needed for each decision. Reduce back-and-forth.
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
# Color & Contrast
|
|
2
|
+
|
|
3
|
+
## Color Spaces: Use OKLCH
|
|
4
|
+
|
|
5
|
+
**Stop using HSL.** Use OKLCH (or LCH) instead. It's perceptually uniform, meaning equal steps in lightness *look* equal—unlike HSL where 50% lightness in yellow looks bright while 50% in blue looks dark.
|
|
6
|
+
|
|
7
|
+
The OKLCH function takes three components: `oklch(lightness chroma hue)` where lightness is 0-100%, chroma is roughly 0-0.4, and hue is 0-360. To build a primary color and its lighter / darker variants, hold the chroma+hue roughly constant and vary the lightness — but **reduce chroma as you approach white or black**, because high chroma at extreme lightness looks garish.
|
|
8
|
+
|
|
9
|
+
The hue you pick is a brand decision and should not come from a default. Do not reach for blue (hue 250) or warm orange (hue 60) by reflex — those are the dominant AI-design defaults, not the right answer for any specific brand.
|
|
10
|
+
|
|
11
|
+
## Building Functional Palettes
|
|
12
|
+
|
|
13
|
+
### Tinted Neutrals
|
|
14
|
+
|
|
15
|
+
**Pure gray is dead.** A neutral with zero chroma feels lifeless next to a colored brand. Add a tiny chroma value (0.005-0.015) to all your neutrals, hued toward whatever your brand color is. The chroma is small enough not to read as "tinted" consciously, but it creates subconscious cohesion between brand color and UI surfaces.
|
|
16
|
+
|
|
17
|
+
The hue you tint toward should come from THIS project's brand, not from a "warm = friendly, cool = tech" formula. If your brand color is teal, your neutrals lean toward teal. If your brand color is amber, they lean toward amber. The point is cohesion with the SPECIFIC brand, not a stock palette.
|
|
18
|
+
|
|
19
|
+
**Avoid** the trap of always tinting toward warm orange or always tinting toward cool blue. Those are the two laziest defaults and they create their own monoculture across projects.
|
|
20
|
+
|
|
21
|
+
### Palette Structure
|
|
22
|
+
|
|
23
|
+
A complete system needs:
|
|
24
|
+
|
|
25
|
+
| Role | Purpose | Example |
|
|
26
|
+
|------|---------|---------|
|
|
27
|
+
| **Primary** | Brand, CTAs, key actions | 1 color, 3-5 shades |
|
|
28
|
+
| **Neutral** | Text, backgrounds, borders | 9-11 shade scale |
|
|
29
|
+
| **Semantic** | Success, error, warning, info | 4 colors, 2-3 shades each |
|
|
30
|
+
| **Surface** | Cards, modals, overlays | 2-3 elevation levels |
|
|
31
|
+
|
|
32
|
+
**Skip secondary/tertiary unless you need them.** Most apps work fine with one accent color. Adding more creates decision fatigue and visual noise.
|
|
33
|
+
|
|
34
|
+
### The 60-30-10 Rule (Applied Correctly)
|
|
35
|
+
|
|
36
|
+
This rule is about **visual weight**, not pixel count:
|
|
37
|
+
|
|
38
|
+
- **60%**: Neutral backgrounds, white space, base surfaces
|
|
39
|
+
- **30%**: Secondary colors—text, borders, inactive states
|
|
40
|
+
- **10%**: Accent—CTAs, highlights, focus states
|
|
41
|
+
|
|
42
|
+
The common mistake: using the accent color everywhere because it's "the brand color." Accent colors work *because* they're rare. Overuse kills their power.
|
|
43
|
+
|
|
44
|
+
## Contrast & Accessibility
|
|
45
|
+
|
|
46
|
+
### WCAG Requirements
|
|
47
|
+
|
|
48
|
+
| Content Type | AA Minimum | AAA Target |
|
|
49
|
+
|--------------|------------|------------|
|
|
50
|
+
| Body text | 4.5:1 | 7:1 |
|
|
51
|
+
| Large text (18px+ or 14px bold) | 3:1 | 4.5:1 |
|
|
52
|
+
| UI components, icons | 3:1 | 4.5:1 |
|
|
53
|
+
| Non-essential decorations | None | None |
|
|
54
|
+
|
|
55
|
+
**The gotcha**: Placeholder text still needs 4.5:1. That light gray placeholder you see everywhere? Usually fails WCAG.
|
|
56
|
+
|
|
57
|
+
### Dangerous Color Combinations
|
|
58
|
+
|
|
59
|
+
These commonly fail contrast or cause readability issues:
|
|
60
|
+
|
|
61
|
+
- Light gray text on white (the #1 accessibility fail)
|
|
62
|
+
- **Gray text on any colored background**—gray looks washed out and dead on color. Use a darker shade of the background color, or transparency
|
|
63
|
+
- Red text on green background (or vice versa)—8% of men can't distinguish these
|
|
64
|
+
- Blue text on red background (vibrates visually)
|
|
65
|
+
- Yellow text on white (almost always fails)
|
|
66
|
+
- Thin light text on images (unpredictable contrast)
|
|
67
|
+
|
|
68
|
+
### Never Use Pure Gray or Pure Black
|
|
69
|
+
|
|
70
|
+
Pure gray (`oklch(50% 0 0)`) and pure black (`#000`) don't exist in nature—real shadows and surfaces always have a color cast. Even a chroma of 0.005-0.01 is enough to feel natural without being obviously tinted. (See tinted neutrals example above.)
|
|
71
|
+
|
|
72
|
+
### Testing
|
|
73
|
+
|
|
74
|
+
Don't trust your eyes. Use tools:
|
|
75
|
+
|
|
76
|
+
- [WebAIM Contrast Checker](https://webaim.org/resources/contrastchecker/)
|
|
77
|
+
- Browser DevTools → Rendering → Emulate vision deficiencies
|
|
78
|
+
- [Polypane](https://polypane.app/) for real-time testing
|
|
79
|
+
|
|
80
|
+
## Theming: Light & Dark Mode
|
|
81
|
+
|
|
82
|
+
### Dark Mode Is Not Inverted Light Mode
|
|
83
|
+
|
|
84
|
+
You can't just swap colors. Dark mode requires different design decisions:
|
|
85
|
+
|
|
86
|
+
| Light Mode | Dark Mode |
|
|
87
|
+
|------------|-----------|
|
|
88
|
+
| Shadows for depth | Lighter surfaces for depth (no shadows) |
|
|
89
|
+
| Dark text on light | Light text on dark (reduce font weight) |
|
|
90
|
+
| Vibrant accents | Desaturate accents slightly |
|
|
91
|
+
| White backgrounds | Never pure black—use dark gray (oklch 12-18%) |
|
|
92
|
+
|
|
93
|
+
In dark mode, depth comes from surface lightness, not shadow. Build a 3-step surface scale where higher elevations are lighter (e.g. 15% / 20% / 25% lightness). Use the SAME hue and chroma as your brand color (whatever it is for THIS project — do not reach for blue) and only vary the lightness. Reduce body text weight slightly (e.g. 350 instead of 400) because light text on dark reads as heavier than dark text on light.
|
|
94
|
+
|
|
95
|
+
### Token Hierarchy
|
|
96
|
+
|
|
97
|
+
Use two layers: primitive tokens (`--blue-500`) and semantic tokens (`--color-primary: var(--blue-500)`). For dark mode, only redefine the semantic layer—primitives stay the same.
|
|
98
|
+
|
|
99
|
+
## Alpha Is A Design Smell
|
|
100
|
+
|
|
101
|
+
Heavy use of transparency (rgba, hsla) usually means an incomplete palette. Alpha creates unpredictable contrast, performance overhead, and inconsistency. Define explicit overlay colors for each context instead. Exception: focus rings and interactive states where see-through is needed.
|
|
102
|
+
|
|
103
|
+
---
|
|
104
|
+
|
|
105
|
+
**Avoid**: Relying on color alone to convey information. Creating palettes without clear roles for each color. Using pure black (#000) for large areas. Skipping color blindness testing (8% of men affected).
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
> **Additional context needed**: existing brand colors.
|
|
2
|
+
|
|
3
|
+
Strategically introduce color to designs that are too monochromatic, gray, or lacking in visual warmth and personality.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Register
|
|
8
|
+
|
|
9
|
+
Brand: palette IS voice. Pick a color strategy first per SKILL.md (Restrained / Committed / Full palette / Drenched) and follow its dosage. Committed, Full palette, and Drenched deliberately exceed the ≤10% rule — that rule is Restrained only. Unexpected combinations are allowed; a dominant color can own the page when the chosen strategy calls for it.
|
|
10
|
+
|
|
11
|
+
Product: semantic-first and almost always Restrained. Accent color is reserved for primary action, current selection, and state indicators — not decoration. Every color has a consistent meaning across every screen.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Assess Color Opportunity
|
|
16
|
+
|
|
17
|
+
Analyze the current state and identify opportunities:
|
|
18
|
+
|
|
19
|
+
1. **Understand current state**:
|
|
20
|
+
- **Color absence**: Pure grayscale? Limited neutrals? One timid accent?
|
|
21
|
+
- **Missed opportunities**: Where could color add meaning, hierarchy, or delight?
|
|
22
|
+
- **Context**: What's appropriate for this domain and audience?
|
|
23
|
+
- **Brand**: Are there existing brand colors we should use?
|
|
24
|
+
|
|
25
|
+
2. **Identify where color adds value**:
|
|
26
|
+
- **Semantic meaning**: Success (green), error (red), warning (yellow/orange), info (blue)
|
|
27
|
+
- **Hierarchy**: Drawing attention to important elements
|
|
28
|
+
- **Categorization**: Different sections, types, or states
|
|
29
|
+
- **Emotional tone**: Warmth, energy, trust, creativity
|
|
30
|
+
- **Wayfinding**: Helping users navigate and understand structure
|
|
31
|
+
- **Delight**: Moments of visual interest and personality
|
|
32
|
+
|
|
33
|
+
If any of these are unclear from the codebase, ask the user directly to clarify what you cannot infer.
|
|
34
|
+
|
|
35
|
+
**CRITICAL**: More color ≠ better. Strategic color beats rainbow vomit every time. Every color should have a purpose.
|
|
36
|
+
|
|
37
|
+
## Plan Color Strategy
|
|
38
|
+
|
|
39
|
+
Create a purposeful color introduction plan:
|
|
40
|
+
|
|
41
|
+
- **Color palette**: What colors match the brand/context? (Choose 2-4 colors max beyond neutrals)
|
|
42
|
+
- **Dominant color**: Which color owns 60% of colored elements?
|
|
43
|
+
- **Accent colors**: Which colors provide contrast and highlights? (30% and 10%)
|
|
44
|
+
- **Application strategy**: Where does each color appear and why?
|
|
45
|
+
|
|
46
|
+
**IMPORTANT**: Color should enhance hierarchy and meaning, not create chaos. Less is more when it matters more.
|
|
47
|
+
|
|
48
|
+
## Introduce Color Strategically
|
|
49
|
+
|
|
50
|
+
Add color systematically across these dimensions:
|
|
51
|
+
|
|
52
|
+
### Semantic Color
|
|
53
|
+
- **State indicators**:
|
|
54
|
+
- Success: Green tones (emerald, forest, mint)
|
|
55
|
+
- Error: Red/pink tones (rose, crimson, coral)
|
|
56
|
+
- Warning: Orange/amber tones
|
|
57
|
+
- Info: Blue tones (sky, ocean, indigo)
|
|
58
|
+
- Neutral: Gray/slate for inactive states
|
|
59
|
+
|
|
60
|
+
- **Status badges**: Colored backgrounds or borders for states (active, pending, completed, etc.)
|
|
61
|
+
- **Progress indicators**: Colored bars, rings, or charts showing completion or health
|
|
62
|
+
|
|
63
|
+
### Accent Color Application
|
|
64
|
+
- **Primary actions**: Color the most important buttons/CTAs
|
|
65
|
+
- **Links**: Add color to clickable text (maintain accessibility)
|
|
66
|
+
- **Icons**: Colorize key icons for recognition and personality
|
|
67
|
+
- **Headers/titles**: Add color to section headers or key labels
|
|
68
|
+
- **Hover states**: Introduce color on interaction
|
|
69
|
+
|
|
70
|
+
### Background & Surfaces
|
|
71
|
+
- **Tinted backgrounds**: Replace pure gray (`#f5f5f5`) with warm neutrals (`oklch(97% 0.01 60)`) or cool tints (`oklch(97% 0.01 250)`)
|
|
72
|
+
- **Colored sections**: Use subtle background colors to separate areas
|
|
73
|
+
- **Gradient backgrounds**: Add depth with subtle, intentional gradients (not generic purple-blue)
|
|
74
|
+
- **Cards & surfaces**: Tint cards or surfaces slightly for warmth
|
|
75
|
+
|
|
76
|
+
**Use OKLCH for color**: It's perceptually uniform, meaning equal steps in lightness *look* equal. Great for generating harmonious scales.
|
|
77
|
+
|
|
78
|
+
### Data Visualization
|
|
79
|
+
- **Charts & graphs**: Use color to encode categories or values
|
|
80
|
+
- **Heatmaps**: Color intensity shows density or importance
|
|
81
|
+
- **Comparison**: Color coding for different datasets or timeframes
|
|
82
|
+
|
|
83
|
+
### Borders & Accents
|
|
84
|
+
- **Hairline borders**: 1px colored borders on full perimeter (not side-stripes — see the absolute ban on `border-left/right > 1px`)
|
|
85
|
+
- **Underlines**: Color underlines for emphasis or active states
|
|
86
|
+
- **Dividers**: Subtle colored dividers instead of gray lines
|
|
87
|
+
- **Focus rings**: Colored focus indicators matching brand
|
|
88
|
+
- **Surface tints**: A 4-8% background wash of the accent color instead of a stripe
|
|
89
|
+
|
|
90
|
+
**NEVER**: `border-left` or `border-right` greater than 1px as a colored accent stripe. This is one of the three absolute bans in the parent skill. If you want to mark a card as "active" or "warning", use a full hairline border, a background tint, a leading glyph, or a numbered prefix — not a side stripe.
|
|
91
|
+
|
|
92
|
+
### Typography Color
|
|
93
|
+
- **Colored headings**: Use brand colors for section headings (maintain contrast)
|
|
94
|
+
- **Highlight text**: Color for emphasis or categories
|
|
95
|
+
- **Labels & tags**: Small colored labels for metadata or categories
|
|
96
|
+
|
|
97
|
+
### Decorative Elements
|
|
98
|
+
- **Illustrations**: Add colored illustrations or icons
|
|
99
|
+
- **Shapes**: Geometric shapes in brand colors as background elements
|
|
100
|
+
- **Gradients**: Colorful gradient overlays or mesh backgrounds
|
|
101
|
+
- **Blobs/organic shapes**: Soft colored shapes for visual interest
|
|
102
|
+
|
|
103
|
+
## Balance & Refinement
|
|
104
|
+
|
|
105
|
+
Ensure color addition improves rather than overwhelms:
|
|
106
|
+
|
|
107
|
+
### Maintain Hierarchy
|
|
108
|
+
- **Dominant color** (60%): Primary brand color or most used accent
|
|
109
|
+
- **Secondary color** (30%): Supporting color for variety
|
|
110
|
+
- **Accent color** (10%): High contrast for key moments
|
|
111
|
+
- **Neutrals** (remaining): Gray/black/white for structure
|
|
112
|
+
|
|
113
|
+
### Accessibility
|
|
114
|
+
- **Contrast ratios**: Ensure WCAG compliance (4.5:1 for text, 3:1 for UI components)
|
|
115
|
+
- **Don't rely on color alone**: Use icons, labels, or patterns alongside color
|
|
116
|
+
- **Test for color blindness**: Verify red/green combinations work for all users
|
|
117
|
+
|
|
118
|
+
### Cohesion
|
|
119
|
+
- **Consistent palette**: Use colors from defined palette, not arbitrary choices
|
|
120
|
+
- **Systematic application**: Same color meanings throughout (green always = success)
|
|
121
|
+
- **Temperature consistency**: Warm palette stays warm, cool stays cool
|
|
122
|
+
|
|
123
|
+
**NEVER**:
|
|
124
|
+
- Use every color in the rainbow (choose 2-4 colors beyond neutrals)
|
|
125
|
+
- Apply color randomly without semantic meaning
|
|
126
|
+
- Put gray text on colored backgrounds—it looks washed out; use a darker shade of the background color or transparency instead
|
|
127
|
+
- Use pure gray for neutrals—add subtle color tint (warm or cool) for sophistication
|
|
128
|
+
- Use pure black (`#000`) or pure white (`#fff`) for large areas
|
|
129
|
+
- Violate WCAG contrast requirements
|
|
130
|
+
- Use color as the only indicator (accessibility issue)
|
|
131
|
+
- Make everything colorful (defeats the purpose)
|
|
132
|
+
- Default to purple-blue gradients (AI slop aesthetic)
|
|
133
|
+
|
|
134
|
+
## Verify Color Addition
|
|
135
|
+
|
|
136
|
+
Test that colorization improves the experience:
|
|
137
|
+
|
|
138
|
+
- **Better hierarchy**: Does color guide attention appropriately?
|
|
139
|
+
- **Clearer meaning**: Does color help users understand states/categories?
|
|
140
|
+
- **More engaging**: Does the interface feel warmer and more inviting?
|
|
141
|
+
- **Still accessible**: Do all color combinations meet WCAG standards?
|
|
142
|
+
- **Not overwhelming**: Is color balanced and purposeful?
|
|
143
|
+
|
|
144
|
+
Remember: Color is emotional and powerful. Use it to create warmth, guide attention, communicate meaning, and express personality. But restraint and strategy matter more than saturation and variety. Be colorful, but be intentional.
|
|
145
|
+
|
|
146
|
+
## Live-mode signature params
|
|
147
|
+
|
|
148
|
+
When invoked from live mode, each variant MUST declare a `color-amount` param so the user can dial between a restrained accent and a drenched surface without regeneration. Author the variant's CSS against `var(--p-color-amount, 0.5)` — typically as the alpha multiplier on backgrounds, or as a scaling factor on the chroma axis in an OKLCH expression. 0 = neutral/monochrome, 1 = full saturation / dominant coverage.
|
|
149
|
+
|
|
150
|
+
```json
|
|
151
|
+
{"id":"color-amount","kind":"range","min":0,"max":1,"step":0.05,"default":0.5,"label":"Color amount"}
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
Layer 1-2 variant-specific params on top: palette selection (`steps` with named options), temperature warmth, or tint vs. true color. See `reference/live.md` for the full params contract.
|