Add new prompt-optimizer skill (v1.1.0) for transforming vague prompts into precise EARS specifications: New Features: - EARS (Easy Approach to Requirements Syntax) transformation with 5 patterns - 6-step optimization workflow (analyze, transform, theories, examples, enhance, present) - Domain theory grounding (40+ frameworks across 10 domains) - Role/Skills/Workflows/Examples/Formats prompt enhancement framework - Progressive disclosure with 4 bundled reference files Skill Improvements (v1.0.0 → v1.1.0): - Reduced SKILL.md from 369 to 195 lines (47% reduction) - Added advanced_techniques.md (325 lines) for complex scenarios - Added 4th complete example (password reset security) - Added attribution to 阿星AI工作室 (A-Xing AI Studio) - Enhanced reference loading guidance Marketplace Updates: - Updated marketplace to v1.11.0 (17 → 18 skills) - Updated all documentation (README.md, README.zh-CN.md, CLAUDE.md) - Added Chinese and English descriptions with attribution 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
6.1 KiB
Domain Theories for Prompt Enhancement
Purpose
When enhancing prompts, grounding the solution in established domain theories provides:
- Proven methodologies and frameworks
- Industry best practices
- Credibility and rigor
- Structured problem-solving approaches
Common Domain Theory Mappings
Productivity & Time Management
Applicable for: Task management apps, productivity tools, scheduling systems
Relevant Theories:
-
Getting Things Done (GTD) - David Allen
- Capture, Clarify, Organize, Reflect, Engage
- Next action principle
- Context-based task organization
-
Pomodoro Technique - Francesco Cirillo
- 25-minute focused work intervals
- Regular breaks
- Distraction management
-
Eisenhower Matrix
- Urgent/Important prioritization
- Four quadrants for task classification
-
Pareto Principle (80/20 Rule)
- Focus on high-impact activities
- Effort vs. outcome optimization
-
Timeboxing
- Fixed time allocations
- Deadline-driven focus
Behavior Change & Habit Formation
Applicable for: Health apps, learning platforms, goal-tracking systems
Relevant Theories:
-
BJ Fogg Behavior Model (B=MAT)
- Behavior = Motivation × Ability × Trigger
- Tiny habits principle
- Behavioral chains
-
Atomic Habits - James Clear
- 1% improvement philosophy
- Habit stacking
- Identity-based habits
-
Operant Conditioning
- Positive/negative reinforcement
- Reward schedules
- Immediate feedback loops
-
Self-Determination Theory
- Autonomy, competence, relatedness
- Intrinsic vs. extrinsic motivation
User Experience & Interface Design
Applicable for: UI/UX projects, web applications, mobile apps
Relevant Theories:
-
Hick's Law
- Choice overload reduction
- Decision time optimization
-
Fitts's Law
- Target size and distance relationship
- Touch target optimization
-
Miller's Law (7±2)
- Cognitive load management
- Chunking information
-
Jakob's Law
- Familiar design patterns
- User expectations
-
Progressive Disclosure
- Layered information architecture
- Complexity management
-
Gestalt Principles
- Proximity, similarity, closure
- Visual hierarchy
Gamification & Engagement
Applicable for: Learning apps, fitness trackers, social platforms
Relevant Theories:
-
Octalysis Framework - Yu-kai Chou
- 8 core drives of gamification
- White hat vs. black hat mechanics
-
Self-Determination Theory in Games
- Challenge and mastery
- Social connection
- Autonomy in gameplay
-
Flow Theory - Mihaly Csikszentmihalyi
- Skill-challenge balance
- Immediate feedback
- Clear goals
-
Variable Reward Schedules
- Unpredictability and anticipation
- Dopamine-driven engagement
Learning & Education
Applicable for: E-learning platforms, training systems, educational apps
Relevant Theories:
-
Bloom's Taxonomy
- Knowledge → Comprehension → Application → Analysis → Synthesis → Evaluation
- Learning objective hierarchy
-
Spaced Repetition
- Forgetting curve optimization
- Long-term memory consolidation
-
Active Recall
- Retrieval practice
- Testing effect
-
Cognitive Load Theory
- Intrinsic, extraneous, germane load
- Working memory limitations
-
Zone of Proximal Development
- Scaffolding
- Guided learning
Data Visualization & Analytics
Applicable for: Dashboard design, reporting tools, analytics platforms
Relevant Theories:
-
Tufte's Principles
- Data-ink ratio
- Chartjunk elimination
- Small multiples
-
Gestalt Principles for Data
- Pre-attentive attributes
- Visual encoding
-
Information Scent
- Navigation cues
- Progressive exploration
E-commerce & Conversion
Applicable for: Online stores, checkout flows, landing pages
Relevant Theories:
-
Cialdini's Principles of Persuasion
- Reciprocity, commitment, social proof
- Scarcity, authority, liking
-
AIDA Model
- Attention → Interest → Desire → Action
- Conversion funnel optimization
-
Paradox of Choice
- Option limitation
- Decision fatigue reduction
Information Architecture
Applicable for: Content-heavy sites, knowledge bases, documentation
Relevant Theories:
-
Information Foraging Theory
- Scent trails
- Cost-benefit of navigation
-
Card Sorting Principles
- User mental models
- Category optimization
-
LATCH Framework (Location, Alphabet, Time, Category, Hierarchy)
- Information organization patterns
Security & Trust
Applicable for: Authentication systems, privacy-sensitive apps, financial platforms
Relevant Theories:
-
Zero Trust Architecture
- Never trust, always verify
- Least privilege access
-
Defense in Depth
- Layered security controls
- Multiple fail-safes
-
Privacy by Design
- Proactive privacy measures
- User control over data
Accessibility
Applicable for: Inclusive design, government services, public platforms
Relevant Theories:
-
WCAG Principles (POUR)
- Perceivable, Operable, Understandable, Robust
-
Universal Design
- Equitable use
- Flexibility in use
- Simple and intuitive
How to Select Theories
- Identify the domain from user requirements
- Match to primary objective (engagement, learning, conversion, etc.)
- Select 2-4 relevant theories that complement each other
- Apply principles to specific features and workflows
- Cite theories in enhanced prompts to add credibility
Example Theory Selection
Requirement: "Build a habit tracker app"
Domain: Behavior Change & Habit Formation
Selected Theories:
- BJ Fogg Behavior Model (for trigger design)
- Atomic Habits (for habit stacking)
- Gamification (for motivation and rewards)
Application:
- Use tiny habits to lower barrier to entry
- Implement trigger notifications at optimal times
- Add streak tracking and badges for engagement
- Enable habit chains for compound behavior