agent-code-goal-planner
ما الذي تفعله
تخطط هذه المهارة لعمل البرمجة بتقسيم هدف برمجي إلى معالم. وهي للمطورين الذين يحتاجون إلى مسار واضح لميزة أو ترحيل أو تحسين أداء.
متى تستخدمها
- ✓عندما يريد أحد خطة لتنفيذ ميزة مثل تسجيل الدخول بـ OAuth2.
- ✓عندما يريد أحد خطة لتحسين الأداء بأهداف قابلة للقياس.
- ✓عندما يحتاج أحد إلى تقسيم مهمة برمجية معقدة إلى معالم قابلة للاختبار.
رابط المهارة
https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-code-goal-planner/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أعطني خطة بمعالم لإضافة تسجيل الدخول بـ OAuth2 إلى واجهتنا البرمجية.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تقسّم المهارة الهدف إلى معالم، وترتبها حسب التبعيات، وترفق بكل منها معايير نجاح حتى يمكن اختبار كل مرحلة. وتستند إلى أساليب التخطيط الموجه نحو الأهداف والإجراءات.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
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
الأسئلة الشائعة
ماذا تتضمن الخطة؟
معالم وتبعيات ومعايير نجاح واضحة لكل خطوة.
هل تخطط لعمل الأداء؟
نعم. تخطط المهارة للتحسينات بأهداف قابلة للقياس، مثل ضبط الاستعلامات والتخزين المؤقت.
هل هي للبرمجيات فقط؟
نعم. تركز المهارة على أهداف تطوير البرمجيات.
التفاصيل
الوصف الأصلي من المؤلف
Agent skill for code-goal-planner - invoke with $agent-code-goal-planner
repo: ruvnet/ruflo
الشعبية
- نجوم GitHub
- 81k
- الترتيب
- #1457
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
agent-adaptive-coordinator
81kيساعد وكيلك على تقسيم مجموعة من وكلاء الذكاء الاصطناعي وإعادة توزيعها مع تغير حجم العمل، واختيار تخطيط يناسب المهمة.
agent-agent
81kيعلّم وكيلك أن يحوّل هدفًا كبيرًا إلى خطة مرتبة من الإجراءات، وأن يعيد التخطيط عندما تتغير الظروف.
agent-agentic-payments
81kيساعد وكيلك على إدارة تفويضات الإنفاق للتسوق بالذكاء الاصطناعي، بحدود إنفاق وأطر زمنية وقواعد للتجار وموافقات موقعة.
agent-analyze-code-quality
81kيساعد وكيلك على مراجعة الشيفرة من حيث الجودة، فيجد روائح الشيفرة والديون التقنية واقتراحات إعادة الهيكلة دون تغيير الملفات.
مهارات مشابهة
diffs
394kيتيح لوكيلك إنتاج فرق تعديلات حقيقي يمكن مشاركته، كرابط عرض أو ملف صورة، بدلاً من ملخص مكتوب يدوياً.
coding-agent
394kيساعد وكيلك على تسليم مهمة برمجة كبيرة إلى Codex أو Claude Code أو OpenCode كعامل في الخلفية، ثم متابعة تقدمها.
gh-issues
394kيساعد وكيلك على إيجاد مشكلات GitHub واختيار ما ستعمل عليه، وفتح طلبات سحب بالإصلاحات، ومتابعة تعليقات المراجعة.