planning-with-files
ما الذي تفعله
تساعد هذه المهارة في تنظيم المهام المعقدة بحفظ المعلومات المهمة في ملفات نصية. تعمل كذاكرة خارجية للذكاء الاصطناعي، لضمان ألا يُنسى شيء.
متى تستخدمها
- ✓عند بدء مشروع كبير يتكون من خطوات متعددة.
- ✓عندما تحتاج إلى البحث وحفظ الاكتشافات المهمة.
- ✓لتتبع تقدم مهمة طويلة.
رابط المهارة
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/planning-with-files/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أحتاج إلى تنظيم مشروع تطوير موقع إلكتروني. من فضلك أنشئ ملفات التخطيط اللازمة.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
ينشئ الذكاء الاصطناعي ملفات مثل task_plan.md وfindings.md وprogress.md في مجلد مشروعك. ويستخدم هذه الملفات ليتذكر الخطة وما تم اكتشافه وما تم إنجازه.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Planning with Files
Work like Manus: Use persistent markdown files as your "working memory on disk."
Important: Where Files Go
When using this skill:
- Templates are stored in the skill directory at
${CLAUDE_PLUGIN_ROOT}/templates/ - Your planning files (
task_plan.md,findings.md,progress.md) should be created in your project directory — the folder where you're working
| Location | What Goes There |
|---|---|
Skill directory (${CLAUDE_PLUGIN_ROOT}/) |
Templates, scripts, reference docs |
| Your project directory | task_plan.md, findings.md, progress.md |
This ensures your planning files live alongside your code, not buried in the skill installation folder.
Quick Start
Before ANY complex task:
- Create
task_plan.mdin your project — Use templates/task_plan.md as reference - Create
findings.mdin your project — Use templates/findings.md as reference - Create
progress.mdin your project — Use templates/progress.md as reference - Re-read plan before decisions — Refreshes goals in attention window
- Update after each phase — Mark complete, log errors
Note: All three planning files should be created in your current working directory (your project root), not in the skill's installation folder.
The Core Pattern
Context Window = RAM (volatile, limited)
Filesystem = Disk (persistent, unlimited)
→ Anything important gets written to disk.
File Purposes
| File | Purpose | When to Update |
|---|---|---|
task_plan.md |
Phases, progress, decisions | After each phase |
findings.md |
Research, discoveries | After ANY discovery |
progress.md |
Session log, test results | Throughout session |
Critical Rules
1. Create Plan First
Never start a complex task without task_plan.md. Non-negotiable.
2. The 2-Action Rule
"After every 2 view/browser/search operations, IMMEDIATELY save key findings to text files."
This prevents visual/multimodal information from being lost.
3. Read Before Decide
Before major decisions, read the plan file. This keeps goals in your attention window.
4. Update After Act
After completing any phase:
- Mark phase status:
in_progress→complete - Log any errors encountered
- Note files created/modified
5. Log ALL Errors
Every error goes in the plan file. This builds knowledge and prevents repetition.
## Errors Encountered
| Error | Attempt | Resolution |
|-------|---------|------------|
| FileNotFoundError | 1 | Created default config |
| API timeout | 2 | Added retry logic |
6. Never Repeat Failures
if action_failed:
next_action != same_action
Track what you tried. Mutate the approach.
The 3-Strike Error Protocol
ATTEMPT 1: Diagnose & Fix
→ Read error carefully
→ Identify root cause
→ Apply targeted fix
ATTEMPT 2: Alternative Approach
→ Same error? Try different method
→ Different tool? Different library?
→ NEVER repeat exact same failing action
ATTEMPT 3: Broader Rethink
→ Question assumptions
→ Search for solutions
→ Consider updating the plan
AFTER 3 FAILURES: Escalate to User
→ Explain what you tried
→ Share the specific error
→ Ask for guidance
Read vs Write Decision Matrix
| Situation | Action | Reason |
|---|---|---|
| Just wrote a file | DON'T read | Content still in context |
| Viewed image/PDF | Write findings NOW | Multimodal → text before lost |
| Browser returned data | Write to file | Screenshots don't persist |
| Starting new phase | Read plan/findings | Re-orient if context stale |
| Error occurred | Read relevant file | Need current state to fix |
| Resuming after gap | Read all planning files | Recover state |
The 5-Question Reboot Test
If you can answer these, your context management is solid:
| Question | Answer Source |
|---|---|
| Where am I? | Current phase in task_plan.md |
| Where am I going? | Remaining phases |
| What's the goal? | Goal statement in plan |
| What have I learned? | findings.md |
| What have I done? | progress.md |
When to Use This Pattern
Use for:
- Multi-step tasks (3+ steps)
- Research tasks
- Building/creating projects
- Tasks spanning many tool calls
- Anything requiring organization
Skip for:
- Simple questions
- Single-file edits
- Quick lookups
Templates
…
الأسئلة الشائعة
أين تُنشأ هذه الملفات؟
تُنشأ ملفات التخطيط في مجلد مشروعك الذي تعمل فيه، وليس داخل مجلد المهارة نفسها.
لماذا نستخدم الملفات بدلاً من أن أطلب من الذكاء الاصطناعي التذكر؟
الملفات توفر ذاكرة دائمة وغير محدودة، أما ذاكرة الذكاء الاصطناعي، أي نافذة السياق، فهي محدودة ومؤقتة. وهذا يمنع ضياع المعلومات المهمة.
ماذا يحدث إذا أخطأ الذكاء الاصطناعي؟
يجب أن يسجل كل الأخطاء في ملفات التخطيط حتى يتعلم منها ولا يكررها. وإذا استمر الخطأ بعد عدة محاولات، سيطلب مساعدتك.
التفاصيل
الوصف الأصلي من المؤلف
Work like Manus: Use persistent markdown files as your \"working memory on disk.\
الشعبية
- نجوم GitHub
- 48k
- الترتيب
- #5454
- الترخيص
- MIT
- آخر تحديث
- 15/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
00-andruia-consultant
48kيساعد وكيلك على بدء مشاريع الذكاء الاصطناعي أو تحسينها. يحلل الكود ويقترح الأدوات ويُعد خطط عمل بالإسبانية.
007
48kيتيح لوكيلك إجراء تدقيقات أمنية ونمذجة التهديدات. مفيد لحماية المشاريع من الهجمات والثغرات الأمنية.
10-andruia-skill-smith
48kيساعد وكيلك على إنشاء أدوات الذكاء الاصطناعي أو تحسينها. يحدد طريقة عملها، ويكتب توثيقها، ويتحقق من بنيتها.
20-andruia-niche-intelligence
48kيتيح لوكيلك إعداد ملخص عن صناعة محددة. مفيد لفهم السياق والقواعد وأنماط الاستخدام والمخاطر لمشروع ما، باستخدام مصادر موثوقة.
مهارات مشابهة
knowledge-capture
394kتعلّم وكيلك حفظ القرارات والتفضيلات والحقائق المهمة في خزنة Knowledge كملاحظات قصيرة مع ذكر المصدر.
knowledge-claim-consolidation
394kيساعد وكيلك على تنظيم خزنة Knowledge بدمج الإفادات المكررة ونقلها إلى صفحات موضوعاتها الصحيحة، وإلغاء ما أصبح قديماً.
knowledge-correct
394kيتيح لوكيلك تصحيح إفادة أو صفحة محفوظة محددة في Knowledge أو سحبها بناءً على طلبك، مع الاحتفاظ بسجل لما تغيّر.