.claude/skills/ck-predict/SKILL.md
5 expert personas debate proposed changes before implementation. Catches architectural, security, performance, and UX issues early. Use before major features or risky changes.
npx skillsauth add quanganh208/cookmate ck:predictInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Five expert personas independently analyze a proposed change, then debate conflicts to produce a consensus verdict before a single line of code is written.
ck:debug for bugs, ck:plan for already-decided tasks)| Persona | Focus | Core Questions | |---------|-------|----------------| | Architect | System design, scalability, coupling | Does this fit the architecture? Will it scale? What new coupling does it introduce? | | Security | Attack surface, data protection, auth | What can be abused? Where is data exposed? Are auth boundaries respected? | | Performance | Latency, memory, queries, bundle size | What is the latency impact? N+1 queries? Memory leaks? Bundle bloat? | | UX | User experience, accessibility, error states | Is this intuitive? What does the error state look like? Accessible on mobile? | | Devil's Advocate | Hidden assumptions, simpler alternatives | Why not do nothing? What is the simplest alternative? Which assumption could be wrong? |
## Prediction Report: [proposal title]
## Verdict: GO | CAUTION | STOP
### Agreements (all personas align)
- [Point 1 — what they all agree on]
- [Point 2]
### Conflicts & Resolutions
| Topic | Architect | Security | Performance | UX | Devil's Advocate | Resolution |
|-------|-----------|----------|-------------|-----|-----------------|------------|
| [Issue] | [View] | [View] | [View] | [View] | [View] | [Recommendation] |
### Risk Summary
| Risk | Severity | Mitigation |
|------|----------|------------|
| [Risk description] | Critical/High/Medium/Low | [Concrete action] |
### Recommendations
1. [Action item — rationale]
2. [Action item — rationale]
3. [Action item — rationale]
| Verdict | Meaning | |---------|---------| | GO | All personas aligned, no critical risks, proceed with confidence | | CAUTION | Concerns exist but are manageable — mitigations identified, proceed carefully | | STOP | Critical unresolved issue found — needs redesign or more information before proceeding |
| Workflow Step | Skill | How |
|---------------|-------|-----|
| Deepen risk scenarios | ck:scenario | Feed Risk Summary rows as feature description |
| Create implementation plan | ck:plan | Attach Recommendations as constraints to planner |
| High-risk feature implementation | ck:cook | Reference CAUTION/STOP items as acceptance gates |
/ck:predict "Add WebSocket support for real-time notifications"
/ck:predict "Migrate authentication from JWT to session cookies"
/ck:predict "Add multi-tenancy to the database layer"
/ck:predict "Replace REST API with GraphQL" --files src/api/**/*.ts
development
Create, edit, analyze .docx Word documents. Use for document creation, tracked changes, comments, formatting preservation, text extraction, template modification.
development
Analyze codebase and manage project documentation — init, update, summarize.
development
Search library/framework documentation via llms.txt (context7.com). Use for API docs, GitHub repository analysis, technical documentation lookup, latest library features.
development
Deploy to Cloudflare (Workers, R2, D1), Docker, GCP (Cloud Run, GKE), Kubernetes (kubectl, Helm). Use for serverless, containers, CI/CD, GitOps, security audit.