| name | first-principles |
| version | 2.0.0 |
| description | Use when facing complex problems requiring innovative solutions, when conventional approaches fail, when breaking down assumptions, or when user asks to 'think from first principles', 'get to the root', 'fundamentally rethink', 'what's the essence', 'strip away assumptions'. |
| category | analysis |
| complexity | high |
| typical_duration | 30min |
| dependencies | [] |
| benefits-from | ["goal-oriented"] |
| conflicts-with | [] |
| output_artifact | memory/artifacts/first-principles/ |
| allowed-tools | ["Read","Write","Bash","Grep","Glob"] |
| tags | ["创新思维","问题分析","架构设计","技术选型","成本优化"] |
第一性原理思维
前置协议
环境检测
PROJECT_ROOT=$(git rev-parse --show-toplevel 2>/dev/null || echo "unknown")
BRANCH=$(git branch --show-current 2>/dev/null || echo "unknown")
COMMIT=$(git rev-parse --short HEAD 2>/dev/null || echo "unknown")
echo "PROJECT: $PROJECT_ROOT"
echo "BRANCH: $BRANCH"
echo "COMMIT: $COMMIT"
前置技能检查
benefits-from 检查(推荐但非必须):
GOAL_ARTIFACT="memory/artifacts/goal-oriented/latest.json"
if [ -f "$GOAL_ARTIFACT" ]; then
echo "FOUND: goal-oriented artifact"
else
echo "INFO: No goal-oriented artifact found"
echo "Consider running /goal-oriented first for better context"
fi
工件目录初始化:
mkdir -p memory/artifacts/first-principles
用户意图确认
根据用户消息判断:
检查点:
意图分类: