Skillpedia
المهام والمشاريع28k · #9871

planning-with-files

ما الذي تفعله

تحتفظ هذه المهارة بخطة المهمة والنتائج وسجل التقدم كملفات markdown في مساحة عمل Kiro الخاصة بك، وتربطها بملفات التوجيه حتى يراها الوكيل. وهي مناسبة لمن يستخدم Kiro في مهام متعددة الخطوات تستمر لفترة طويلة.

متى تستخدمها

  • ✓عندما تستخدم Kiro وتريد حفظ خطة مهمة طويلة على القرص.
  • ✓عندما تريد أن تُبقي ملفات التوجيه ملفات التخطيط داخل سياق الوكيل.
  • ✓عندما تحتاج مهمة متعددة الخطوات إلى حفظ التقدم حتى تستأنف لاحقًا.

رابط المهارة

https://github.com/OthmanAdi/planning-with-files/blob/master/.kiro/skills/planning-with-files/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/OthmanAdi/planning-with-files/blob/master/.kiro/skills/planning-with-files/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“أنا أستخدم Kiro لميزة تحتاج إلى عدة أسابيع. جهّز ملفات التخطيط وأبقها ضمن السياق حتى تتابع تقدمنا.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

ينشئ سكربت التهيئة ملفات الخطة والنتائج والتقدم في مساحة العمل، إضافة إلى ملف توجيه يشير إليها. يحدّث الوكيل الملفات مع تقدم العمل، ولا تُثبَّت أي خطافات خلفية.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Planning with Files (Kiro)

Work like Manus: use persistent markdown as your working memory on disk while the model context behaves like volatile RAM. Deep background: references/manus-principles.md.

Kiro complements this with:

  • Agent Skills (this file) — progressive disclosure when the task matches the description.
  • Steering — after bootstrap, .kiro/steering/planning-context.md uses inclusion: auto and #[[file:.kiro/plan/…]] live references (Steering docs).

Hooks are not bundled: project-level hooks affect every chat in the workspace. Prefer this skill + steering + the reminder block below.


STEP 0 — Bootstrap (once per workspace)

From the workspace root:

sh .kiro/skills/planning-with-files/assets/scripts/bootstrap.sh

Windows (PowerShell):

pwsh -ExecutionPolicy RemoteSigned -File .kiro/skills/planning-with-files/assets/scripts/bootstrap.ps1

Creates:

  • .kiro/plan/task_plan.md, findings.md, progress.md
  • .kiro/steering/planning-context.md (auto + #[[file:.kiro/plan/…]])

Idempotent: existing files are not overwritten.

Import as a workspace skill (optional): Kiro → Agent Steering & Skills → Import a skill → choose this planning-with-files folder (Skills docs).


STEP 1 — Persistent reminder (after skill activation)

Append the following block to the end of your reply, and repeat it at the end of subsequent replies while this planning session is active:

[Planning Active] Before each turn, read .kiro/plan/task_plan.md and .kiro/plan/progress.md to restore context.


STEP 2 — Read plan every turn (while active)

  1. Read .kiro/plan/task_plan.md — goal, phases, status
  2. Read .kiro/plan/progress.md — recent actions
  3. Use .kiro/plan/findings.md for research and decisions

If .kiro/plan/ is missing, run STEP 0.


STEP 3: Project-file catchup (after a long gap or suspected drift)

Summaries and planning-file mtimes (compare with git diff --stat if needed). This helper does not read Kiro or other agent transcript stores:

$(command -v python3 || command -v python) \
  .kiro/skills/planning-with-files/assets/scripts/session-catchup.py "$(pwd)"

Windows:

python .kiro/skills/planning-with-files/assets/scripts/session-catchup.py (Get-Location)

Then reconcile planning files with the actual codebase.


Optional — Phase checklist

From workspace root (defaults to .kiro/plan/task_plan.md):

sh .kiro/skills/planning-with-files/assets/scripts/check-complete.sh
pwsh -File .kiro/skills/planning-with-files/assets/scripts/check-complete.ps1

New plan creation contract

For a new Kiro task, run STEP 0 bootstrap before implementation. Set PWF_SKILL_DIR to the directory containing this SKILL.md, then run from the workspace root:

sh "$PWF_SKILL_DIR/assets/scripts/bootstrap.sh"
# After filling in the selected plan, validate its explicit path:
sh "$PWF_SKILL_DIR/assets/scripts/check-complete.sh" --validate .kiro/plan/task_plan.md

PowerShell equivalents are assets/scripts/bootstrap.ps1 and assets/scripts/check-complete.ps1 -Validate -PlanFile .kiro/plan/task_plan.md.

Keep each phase as ### Phase N: Name with exactly one **Status:** pending, **Status:** in_progress, or **Status:** complete line. A ## Phases checklist or numbered summary alone is not trackable. Preserve these markers when tailoring the generated plan; do not replace the skeleton with a compact custom format. Validation must succeed before substantive work and after changing phase structure. This checks format, not task completion or attestation.

Reuse existing plans without overwriting them. If an existing plan fails validation, report the issue for its owner to review; do not automatically rewrite it. If helpers cannot run, copy the shipped template exactly and state that native validation is unavailable.

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 resul
الأسئلة الشائعة

هل يثبت خطافات؟

لا. تقول المهارة إن الخطافات غير مضمّنة، وتعتمد بدلًا من ذلك على ملفات المهارة والتوجيه.

كيف يُضبط؟

تشغّل سكربت التهيئة مرة واحدة من جذر مساحة العمل، ولا تُستبدل الملفات الموجودة.

هل أستطيع استيرادها كمهارة لمساحة العمل؟

نعم. يستطيع خيار Import a skill في Kiro تحميل المجلد.

التفاصيل

الوصف الأصلي من المؤلف

Persistent file-based planning for multi-step AI-agent work. Keeps task_plan.md, findings.md, and progress.md on disk; Kiro skill instructions and steering state read selected project planning context. Recovery reads project planning files and their timestamps only, not agent transcript stores. This adapter registers no Stop hook, never requests continuation, and never runs commands declared in Markdown. The skill has no network upload path. Use for research or work needing 5+ tool calls.

repo: OthmanAdi/planning-with-files

الشعبية

نجوم GitHub
28k
الترتيب
#9871
الترخيص
MIT
آخر تحديث
30‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة