resolve-fixme
ما الذي تفعله
تعثر هذه المهارة على ملاحظات FIXME في الكود، وتقرأ كل كتلة تعليق كاملة، وتجمع الملاحظات المترابطة، وتنجز العمل الذي تصفه. وهي مخصصة للمطورين الذين تراكمت لديهم ملاحظات FIXME كثيرة.
متى تستخدمها
- ✓عندما تحتوي قاعدة الكود على تعليقات FIXME كثيرة تريد إزالتها.
- ✓عندما يصف تعليق FIXME عملاً يمتد عبر عدة ملفات.
- ✓عندما تريد قائمة بما يطلبه كل FIXME قبل إجراء أي تغيير.
رابط المهارة
https://github.com/tailcallhq/forgecode/blob/main/.forge/skills/resolve-fixme/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“هل يمكنك العثور على كل تعليقات FIXME في مشروعي وتنفيذ العمل الذي تصفه؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يشغّل الوكيل سكربت بحث عن ملاحظات FIXME، ويقرأ الكتلة الكاملة حول كل واحدة، ويجمع العناصر المترابطة، ثم يُجري التغييرات ويحذف الملاحظات التي أنجزها.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Resolve FIXME Comments
Workflow
1. Run the discovery script
Execute the script from the repository root to collect all FIXMEs with context:
bash .forge/skills/resolve-fixme/scripts/find-fixme.sh [PATH]
PATHis optional; omit it to search the entire working directory.- The script prints each FIXME with 2 lines of context before and 5 lines after, along with the exact file path and line number.
- Skips
.git/,target/,node_modules/, andvendor/. - Requires either
rg(ripgrep) orgrep+python3.
2. Expand each FIXME into its full instruction
Do not rely on the discovery output alone.
For every hit:
- Open the file and read around the reported line.
- Expand the FIXME to include the entire comment block.
- Treat all consecutive related comment lines as part of the same instruction.
Important:
- A FIXME may be multiline. The line containing
FIXMEis often only the beginning. - The real instruction may continue on following comment lines and may contain the actual implementation details.
- Do not interpret or edit a FIXME until you have read the full block.
For each expanded FIXME, capture:
- file path
- start line and end line of the full comment block
- a short summary of what that FIXME is asking for
3. Consolidate related FIXMEs across files
Before editing code, review all expanded FIXMEs together.
Many FIXMEs describe different facets of the same underlying task across multiple files. For example:
- one file may describe a domain type that needs to be introduced
- another may describe a parameter that should disappear once that type exists
- another may describe a service, repo, or UI update needed to complete the same refactor
Group such FIXMEs into a single implementation task.
When grouping, look for:
- shared vocabulary
- references to the same type, service, repo, parameter, or feature
- comments that clearly describe prerequisite and follow-up changes in different files
- comments that only make sense when read together
For each group, produce one consolidated understanding of the task:
- all files and line ranges involved
- the complete implementation required across the group
- the order in which the changes should be made
Do not resolve grouped FIXMEs one file at a time in isolation. Resolve the whole task consistently.
4. Implement every FIXME completely
Every FIXME must be resolved. There is no skip path.
Work through each grouped task until the underlying implementation is complete:
- Read any additional files needed to understand the design.
- Create or modify the required code, types, services, repos, tests, configs, or templates.
- Propagate the change through every affected file in the group.
- Remove each FIXME comment only after the work it describes has actually been implemented.
Critical rule: Never delete or rewrite a FIXME comment unless the underlying implementation is finished. The comment is a record of required work. Removing it before completing that work is a failure.
If the FIXME implies a larger refactor, do the refactor. If it requires creating new supporting code, create it. Do not stop at the first local change if the comment clearly implies additional follow-through elsewhere.
5. Verify
After resolving all FIXMEs:
- Run the project's standard verification step:
cargo insta test --accept
- Re-run the discovery script:
bash .forge/skills/resolve-fixme/scripts/find-fixme.sh [PATH]
- Confirm that no FIXME comments remain in the targeted scope.
Notes
- Prefer targeted fixes, but do not under-scope the work when multiple FIXMEs describe one larger task.
- Read broadly before editing when the intent is ambiguous.
- Consistency matters more than locality: grouped FIXMEs should lead to one coherent implementation.
- The job is not to clean up comments. The job is to complete the implementation those comments are pointing at.
الأسئلة الشائعة
هل يتخطى بعض المجلدات؟
نعم. يتخطى مجلدات مثل .git ومخرجات البناء وnode_modules وvendor.
ماذا لو امتد FIXME على عدة أسطر؟
يقرأ الوكيل كتلة التعليق كاملة، لأن التعليمات قد تكمل في أسطر لاحقة.
هل أستطيع حصر البحث في مجلد واحد؟
نعم. يمكنك تمرير مسار حتى يغطي البحث ذلك المجلد فقط.
التفاصيل
الوصف الأصلي من المؤلف
Find all FIXME comments across the codebase and fully implement the work they describe. Use when the user asks to fix, resolve, or address FIXME comments, or when running the "fixme" command. Runs a discovery script to find every FIXME, expands multiline comment blocks, groups related FIXMEs across files into a single implementation task, completes the full underlying code changes, removes the FIXME comments only after the work is done, and verifies that no FIXMEs remain.
repo: tailcallhq/forgecode
الشعبية
- نجوم GitHub
- 7.6k
- الترتيب
- #13115
- الترخيص
- Apache-2.0
- آخر تحديث
- 1/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
create-agent
7.6kيعلّم وكيلك كيف ينشئ وكلاء مخصصين لتطبيق Forge البرمجي أو يعدّلهم، محفوظين كملفات Markdown مع إعداداتهم في الأعلى.
create-command
7.6kيعلّم وكيلك كيف ينشئ أوامر قابلة لإعادة الاستخدام في تطبيق Forge البرمجي، مكتوبة كخطوات Markdown تُنفَّذ بالترتيب.
create-github-issue
7.6kيساعد وكيلك على فتح بلاغ في GitHub يتبع قالب المستودع الخاص به، مع الحقول والوسوم الصحيحة.
create-plan
7.6kيساعد وكيلك على كتابة خطة تنفيذ مفصلة لمهمة معقدة، تتضمن الخطوات والمخاطر والبدائل، قبل أي تغيير في الكود.
مهارات مشابهة
diffs
394kيتيح لوكيلك إنتاج فرق تعديلات حقيقي يمكن مشاركته، كرابط عرض أو ملف صورة، بدلاً من ملخص مكتوب يدوياً.
coding-agent
394kيساعد وكيلك على تسليم مهمة برمجة كبيرة إلى Codex أو Claude Code أو OpenCode كعامل في الخلفية، ثم متابعة تقدمها.
gh-issues
394kيساعد وكيلك على إيجاد مشكلات GitHub واختيار ما ستعمل عليه، وفتح طلبات سحب بالإصلاحات، ومتابعة تعليقات المراجعة.