Agent Skills
› NeverSight/learn-skills.dev
› ac-feature-analyzer
ac-feature-analyzer
GitHub分析功能依赖关系、关键路径和阻塞项,确定最优构建顺序。用于映射功能关联、识别瓶颈、优化并行执行及预测完成时间,提升自主实现的效率。
Trigger Scenarios
需要确定功能实现的最优顺序时
检测功能间的依赖冲突或阻塞点时
计算关键路径以优化并行开发效率时
Install
npx skills add NeverSight/learn-skills.dev --skill ac-feature-analyzer -g -y
SKILL.md
Frontmatter
{
"name": "ac-feature-analyzer",
"description": "Analyze features and their dependencies. Use when mapping feature relationships, detecting blockers, optimizing build order, or identifying critical paths."
}
AC Feature Analyzer
Analyze features, dependencies, and critical paths for optimal implementation order.
Purpose
Analyzes feature relationships to determine optimal build order, identify blockers, and calculate critical paths for efficient autonomous implementation.
Quick Start
from scripts.feature_analyzer import FeatureAnalyzer
analyzer = FeatureAnalyzer(project_dir)
analysis = await analyzer.analyze()
print(analysis.critical_path)
print(analysis.next_feature)
Analysis Output
{
"dependency_graph": {
"auth-001": [],
"auth-002": ["auth-001"],
"api-001": ["auth-001", "data-001"]
},
"critical_path": ["data-001", "auth-001", "auth-002", "api-001"],
"blockers": {
"api-001": ["auth-001", "data-001"]
},
"categories": {
"authentication": {"total": 10, "completed": 3},
"api": {"total": 15, "completed": 0}
},
"next_features": ["data-001", "auth-003"],
"bottlenecks": ["auth-001"],
"parallel_opportunities": [
["ui-001", "ui-002", "ui-003"],
["test-001", "test-002"]
]
}
Analysis Types
Dependency Analysis
- Build dependency graph
- Detect circular dependencies
- Identify missing dependencies
- Calculate dependency depth
Critical Path
- Find longest dependency chain
- Identify features that block most others
- Calculate minimum completion time
- Optimize for parallel execution
Progress Analysis
- Track completion by category
- Identify stalled areas
- Calculate velocity
- Predict completion time
Blocker Detection
- Find blocked features
- Identify blocking features
- Suggest unblocking order
- Calculate blocker impact
Workflow
- Load: Read feature list
- Graph: Build dependency graph
- Analyze: Calculate paths and blockers
- Optimize: Determine optimal order
- Report: Output analysis results
Integration
- Input: Feature list from
ac-state-tracker - Output: Analysis for
ac-session-manager - Used by:
ac-complexity-assessor, orchestration skills
API Reference
See scripts/feature_analyzer.py for full implementation.
Version History
- e0220ca Current 2026-07-05 23:05


