skills/dimon94/devflow-constitution-quick-ref/SKILL.md
Quick reference guide to CC-DevFlow Constitution v2.0.0 with links to full text. Covers all 10 Articles and Phase -1 Gates.
npx skillsauth add aiskillstore/marketplace devflow-constitution-quick-refInstall 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.
Provide quick summaries of all 10 Constitutional Articles with links to full Constitution document. This skill does NOT duplicate the complete Constitution text.
Full Constitution: .claude/rules/project-constitution.md v2.0.0
Version: v2.0.0 Effective Date: 2025-01-10 Authority: Supreme Priority, Inviolable, Persistent, Universal Scope: All requirements, all stages, all agents
Quality is the non-negotiable baseline.
❌ "TODO later: Add email verification"
❌ "// Simplified for now, will complete in v2"
❌ "defer to v2"
For Details: See .claude/rules/project-constitution.md#article-i-quality-first-质量至上
Maintain codebase uniformity and predictability.
❌ class BaseController {} // Over-abstraction
❌ function helperManager() {} // Vague naming
❌ 800-line file // Exceeds limit
For Details: See .claude/rules/project-constitution.md#article-ii-architectural-consistency-架构一致性
Security is foundational, not an afterthought.
❌ const API_KEY = "sk-abc123..." // Hardcoded
❌ const PASSWORD = "admin123" // Hardcoded
For Details: See .claude/rules/project-constitution.md#article-iii-security-first-安全优先
Performance is user experience; proactive optimization required.
❌ loadAllUsers() // Loads 1M users into memory
❌ nested loops over same dataset // O(n²)
❌ no connection.close() // Resource leak
For Details: See .claude/rules/project-constitution.md#article-iv-performance-accountability-性能责任
Code must be understandable, modifiable, and extensible.
❌ // Commented-out code block // Dead code
❌ Unused import statements // Dead code
❌ 800-line function // Exceeds limit
For Details: See .claude/rules/project-constitution.md#article-v-maintainability-可维护性
Tests define behavior; implementation makes tests pass.
assert True, test actual behavior)Phase 2: Write Tests FIRST ⚠️
→ All tests MUST fail initially
→ TEST VERIFICATION CHECKPOINT
Phase 3: Write Implementation
→ Goal: Make tests pass
For Details: See .claude/rules/project-constitution.md#article-vi-test-first-development-测试优先开发
Default to simplicity; complexity requires justification.
❌ 5 projects in scope # Exceeds limit
❌ Adding new framework for simple task # Over-dependency
❌ Custom ORM wrapper # Unnecessary abstraction
For Details: See .claude/rules/project-constitution.md#article-vii-simplicity-gate-简单性闸门
Prefer concrete code over abstractions until three+ use cases proven.
❌ class BaseController {} // Premature abstraction
❌ GenericRepository<T> // Generic layer
❌ Custom framework wrapper // Over-abstraction
For Details: See .claude/rules/project-constitution.md#article-viii-anti-abstraction-反抽象化
Test contracts/integrations before internal logic.
1. Contract tests (API contracts, GraphQL)
2. Integration tests (DB, external APIs)
3. E2E tests (critical user paths)
4. Unit tests (internal logic)
For Details: See .claude/rules/project-constitution.md#article-ix-integration-first-testing-集成优先测试
Prevent scope creep; enforce strict requirement boundaries.
❌ PRD.md: "User Registration (also add social login)" # Scope creep
❌ Adding unplanned features during /flow-dev # Feature expansion
For Details: See .claude/rules/project-constitution.md#article-x-requirement-boundary-需求边界
Executed by: planner agent BEFORE generating EPIC and TASKS
Documented in: EPIC.md contains "Phase -1 Gates" check section
For Details: See planner agent Phase -1 Gates Enforcement Sequence
| Article | Real-time Guardrail | Phase Gate | Batch Validation | Pre-push | |---------|---------------------|------------|------------------|----------| | I | constitution-guardian | prd/tech/epic Exit | validate-constitution.sh | ✓ | | II | — | Phase -1 (planner) | validate-constitution.sh | — | | III | constitution-guardian | — | validate-constitution.sh | ✓ | | IV | — | — | validate-constitution.sh (QA) | — | | V | — | — | Linting + code review | — | | VI | devflow-tdd-enforcer | TEST VERIFICATION | validate-constitution.sh | — | | VII | — | Phase -1 (planner) | validate-constitution.sh | — | | VIII | — | Phase -1 (planner) | validate-constitution.sh | — | | IX | — | Phase -1 (planner) | validate-constitution.sh | — | | X | — | PRD generation | validate-scope-boundary.sh | — |
Answer: ❌ NO (Article I.1 - No Partial Implementation) Guardrail: constitution-guardian blocks save Alternative: Complete implementation now, or remove from scope
Answer: ❌ NO (Article II.3, VIII.2 - Anti-Abstraction) Phase Gate: Phase -1 Gates block EPIC generation Alternative: Use framework directly (Express, FastAPI)
Answer: ❌ NO (Article III.1 - No Hardcoded Secrets) Guardrail: constitution-guardian blocks save Alternative: Use .env file with dotenv library
Answer: ❌ NO (Article VI.1 - TDD Mandate) Guardrail: devflow-tdd-enforcer blocks TASKS.md edit Sequence: Write failing test FIRST, then implementation
Answer: ❌ NO (Article X.1 - Requirement Boundary) Enforcement: prd-writer agent Anti-Expansion mandate Alternative: Create separate REQ-ID for social login
This skill does NOT contain:
This skill ONLY contains:
Rationale: Avoid duplication ("不重不漏" principle). Constitution document owns full text, this skill owns quick reference and routing.
development
Apple Human Interface Guidelines for content display components. Use this skill when the user asks about charts component, collection view, image view, web view, color well, image well, activity view, lockup, data visualization, content display, displaying images, rendering web content, color pickers, or presenting collections of items in Apple apps. Also use when the user says how should I display charts, what's the best way to show images, should I use a web view, how do I build a grid of items, what component shows media, or how do I present a share sheet. Cross-references: hig-foundations for color/typography/accessibility, hig-patterns for data visualization patterns, hig-components-layout for structural containers, hig-platforms for platform-specific component behavior.
tools
Automate HelpDesk tasks via Rube MCP (Composio): list tickets, manage views, use canned responses, and configure custom fields. Always search tools first for current schemas.
testing
Expert Haskell engineer specializing in advanced type systems, pure functional design, and high-reliability software. Use PROACTIVELY for type-level programming, concurrency, and architecture guidance.
tools
GraphQL gives clients exactly the data they need - no more, no less. One endpoint, typed schema, introspection. But the flexibility that makes it powerful also makes it dangerous. Without proper controls, clients can craft queries that bring down your server. This skill covers schema design, resolvers, DataLoader for N+1 prevention, federation for microservices, and client integration with Apollo/urql. Key insight: GraphQL is a contract. The schema is the API documentation. Design it carefully.