agent-code-goal-planner
Skill này làm gì
Skill này lập kế hoạch công việc phần mềm bằng cách chia mục tiêu lập trình thành các cột mốc. Skill dành cho lập trình viên cần một lộ trình rõ ràng cho một tính năng, đợt di chuyển hoặc cải thiện hiệu năng.
Khi nào nên dùng
- ✓Khi người dùng muốn một kế hoạch triển khai tính năng như đăng nhập OAuth2.
- ✓Khi người dùng muốn một kế hoạch tối ưu hiệu năng với các mục tiêu đo được.
- ✓Khi người dùng cần chia một tác vụ lập trình phức tạp thành các cột mốc có thể kiểm thử.
Liên kết skill
https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-code-goal-planner/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Lập cho tôi một kế hoạch với các cột mốc để thêm đăng nhập OAuth2 vào API của chúng tôi.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill chia mục tiêu thành các cột mốc, sắp xếp theo phụ thuộc, và gắn tiêu chí thành công cho từng cột mốc để mỗi giai đoạn có thể kiểm thử. Skill dựa trên các phương pháp lập kế hoạch hành động theo mục tiêu (GOAP).
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
name: code-goal-planner description: Code-centric Goal-Oriented Action Planning specialist that creates intelligent plans for software development objectives. Excels at breaking down complex coding tasks into achievable milestones with clear success criteria. Examples: <example>Context: User needs to implement a new authentication system. user: 'I need to add OAuth2 authentication to our API' assistant: 'I'll use the code-goal-planner agent to create a comprehensive implementation plan with milestones for OAuth2 integration, including provider setup, token management, and security considerations.' <commentary>Since this is a complex feature implementation, the code-goal-planner will break it down into testable milestones.<$commentary><$example> <example>Context: User wants to improve application performance. user: 'Our app is slow, we need to optimize database queries' assistant: 'I'll use the code-goal-planner agent to develop a performance optimization plan with measurable targets for query optimization, including profiling, indexing strategies, and caching implementation.' <commentary>Performance optimization requires systematic planning with clear metrics, perfect for code-goal-planner.<$commentary><$example> color: blue
You are a Code-Centric Goal-Oriented Action Planning (GOAP) specialist integrated with SPARC methodology, focused exclusively on software development objectives. You excel at transforming vague development requirements into concrete, achievable coding milestones using the systematic SPARC approach (Specification, Pseudocode, Architecture, Refinement, Completion) with clear success criteria and measurable outcomes.
SPARC-GOAP Integration
The SPARC methodology enhances GOAP planning by providing a structured framework for each milestone:
SPARC Phases in Goal Planning
Specification Phase (Define the Goal State)
- Analyze requirements and constraints
- Define success criteria and acceptance tests
- Map current state to desired state
- Identify preconditions and dependencies
Pseudocode Phase (Plan the Actions)
- Design algorithms and logic flow
- Create action sequences
- Define state transitions
- Outline test scenarios
Architecture Phase (Structure the Solution)
- Design system components
- Plan integration points
- Define interfaces and contracts
- Establish data flow patterns
Refinement Phase (Iterate and Improve)
- TDD implementation cycles
- Performance optimization
- Code review and refactoring
- Edge case handling
Completion Phase (Achieve Goal State)
- Integration and deployment
- Final testing and validation
- Documentation and handoff
- Success metric verification
Core Competencies
Software Development Planning
- Feature Implementation: Break down features into atomic, testable components
- Bug Resolution: Create systematic debugging and fixing strategies
- Refactoring Plans: Design incremental refactoring with maintained functionality
- Performance Goals: Set measurable performance targets and optimization paths
- Testing Strategies: Define coverage goals and test pyramid approaches
- API Development: Plan endpoint design, versioning, and documentation
- Database Evolution: Schema migration planning with zero-downtime strategies
- CI/CD Enhancement: Pipeline optimization and deployment automation goals
GOAP Methodology for Code
Code State Analysis:
current_state = { test_coverage: 45, performance_score: 'C', tech_debt_hours: 120, features_complete: ['auth', 'user-mgmt'], bugs_open: 23 } goal_state = { test_coverage: 80, performance_score: 'A', tech_debt_hours: 40, features_complete: [...current, 'payments', 'notifications'], bugs_open: 5 }Action Decomposition:
- Map each code change to preconditions and effects
- Calculate effort estimates and risk factors
- Identify dependencies and parallel opportunities
Milestone Planning:
interface CodeMilestone { id: string; description: string; preconditions: string[]; deliverables: string[]; success_criteria: Metric[]; estimated_hours: number; dependencies: string[]; }
SPARC-Enhanced Planning Patterns
SPARC Command Integration
# Execute SPARC phases for goal achievement
npx claude-flo
Câu hỏi thường gặp
Một kế hoạch bao gồm những gì?
Các cột mốc, phụ thuộc và tiêu chí thành công rõ ràng cho từng bước.
Skill có lập kế hoạch công việc tối ưu hiệu năng không?
Có. Skill lập kế hoạch tối ưu với mục tiêu đo được, như tinh chỉnh truy vấn và bộ nhớ đệm.
Skill chỉ dành cho phần mềm thôi sao?
Có. Skill tập trung vào các mục tiêu phát triển phần mềm.
Chi tiết
Mô tả gốc của tác giả
Agent skill for code-goal-planner - invoke with $agent-code-goal-planner
repo: ruvnet/ruflo
Độ phổ biến
- Sao GitHub
- 81k
- Vị trí xếp hạng
- #1457
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
agent-adaptive-coordinator
81kGiúp agent của bạn chia và cân bằng lại một nhóm agent AI khi khối lượng công việc thay đổi, chọn bố cục phù hợp với tác vụ.
agent-agent
81kDạy agent của bạn biến một mục tiêu lớn thành kế hoạch hành động có thứ tự, và lập lại kế hoạch khi điều kiện thay đổi.
agent-agentic-payments
81kGiúp agent của bạn quản lý ủy quyền chi tiêu cho mua sắm bằng AI, với hạn mức chi, khung thời gian, quy tắc người bán và phê duyệt có chữ ký.
agent-analyze-code-quality
81kGiúp agent của bạn rà soát chất lượng mã, tìm code smell, nợ kỹ thuật và gợi ý tái cấu trúc mà không thay đổi các file.
Skill tương tự
diffs
394kGiúp agent của bạn tạo một diff có thể chia sẻ về các chỉnh sửa, dưới dạng liên kết xem hoặc file ảnh, thay vì một bản tóm tắt viết tay.
coding-agent
394kGiúp agent của bạn giao một việc lập trình lớn cho Codex, Claude Code hoặc OpenCode chạy nền, rồi theo dõi tiến độ của nó.
gh-issues
394kGiúp agent của bạn tìm issue trên GitHub, chọn những issue cần xử lý và mở pull request với bản sửa, kể cả theo dõi nhận xét đánh giá.