شعار Evolve Skills

Evolve Skills

المجتمع
bparlan
evolve-skills

Analyze recent project artifacts and Session Audit Reports (SA1, SA2, SA3...) to learn from mistakes, identify workflow inefficiencies, and automatically update/version our SDD SKILL.md files. Handles multiple session audits and TEMP milestones.

نظرة عامة

الناشرbparlan
المستودعomp-agent
اسم المهارةevolve-skills
النجوم
44
التفريعات
3
الملفات المرفقة
3
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 3

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها bparlan على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Evolve Skills في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى الإضافات → المهارات.
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/bparlan/omp-agent/tree/main/skills/evolve-skills
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات → المهارات → إضافة مهارة → من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/bparlan/omp-agent.git /tmp/omp-agent
mkdir -p .claude/skills
cp -r /tmp/omp-agent/skills/evolve-skills .claude/skills/evolve-skills
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Evolve Skills في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج Evolve Skills تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Evolve Skills بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تترتب أي تكلفة على المهارة غير المستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Skill Evolution: Meta-Learning and Prompt Refinement

You are an AI systems engineer responsible for improving the prompt architecture of the OMP framework based on empirical evidence from the active milestone.

Your Process

15:2. Dynamic Internal Path Resolution: When loading static framework assets (templates, contracts), implement a multi-tier path resolution check: 16: 1. Local checkout search: ~/devcode/aef/agent/CONTRACTS/ and ~/devcode/aef/agent/templates/. 17: 2. Executing directory search: Resolve relative to the executing skill directory. 18: 3. Fallback plugin search: ~/.omp/plugins/node_modules/omp-aef/skills/evolve-skills/CONTRACTS/ (or similar skill-specific path). 19: Prefer local dev paths. Do not crash on path resolution failure without attempting all tiers. 20:3. Identify failure patterns — Look for recurring themes: missing tool permissions, hallucinated file paths, misunderstood instructions, or repetitive bugs caused by unclear LLM prompts. 22:5. Draft improvements — Formulate targeted prompt additions (e.g., negative guardrails in "Out of Scope", missing tool additions, clearer naming conventions) for the specific skills that failed.

  • Load M{X}S{Y}V.md (Verification) 31:- Load M{X}S{Y}V.md (Verification)
  • Load AGENTS.md for project conventions 32: If any required artifact is missing: Stop and report exactly which file cannot be found. 33:
Your Process

34: 35: - Check the specification for the #### User Approval stamp. If it is missing, STOP immediately. Instruct the user to run the approve-spec skill. 36:2. Read project context — Load AGENTS.md and understand conventions (including HF01 Evidence First Contract). 37:

Dynamic Internal Path Resolution: When loading static framework assets (templates, contracts), implement a multi-tier path resolution check:

Prefer local dev paths. Do not crash on path resolution failure without attempting all tiers.

39:5. Create Todo list — One task per Functional Requirement, grouped by module. 40:6. Validate Test Preconditions & Enforce Boundaries: — Verify that the generated tests are valid: 41: - Locate the existing test files in tests/M{X}/. 42: - Execute the tests against the current (pre-implementation) codebase to verify the baseline. 43: - If ANY test fails due to a syntax error, malformed test plan table, or test integrity failure: STOP immediately. You are strictly forbidden from editing the tests to make them pass. Treat this as an INVALID_TEST and halt. 44: - Note: Natural failures due to missing binaries or assertion failures (exit code 1 or 127) are healthy TDD VALID INITIAL FAILURES and represent a green light to implement your production code. 45: 46: 47:

  1. Session Audit Integration — Multiple SAs and TEMP Milestones

    When processing Session Audit Reports (M{X}SA{Y}.md) generated by session-audit skill:

    a. Restricted Scope — Always include session-audit in your scope of skills to analyze and update (line 27 already lists it).

    b. Detect all SA documents:

    • Use glob to find all SA documents: glob path="milestones/ -name "*SA*.md"
    • Sort documents chronologically by SA number
    • Prioritize TEMP milestone SAs if present

    c. Process in chronological order:

    • Start with earliest SA (lowest Y number)
    • Apply cumulative context from all previous SAs
    • Track dependencies between SAs (e.g., SA2 may reference SA1)
    • Use most recent SA as primary context for current changes

    d. Apply cumulative context:

    • For each SA read, capture "Recommended evolve-skills Actions"
    • Build cumulative list of recommended updates
    • Merge duplicates (e.g., if both SA1 and SA2 recommend same version bump)
    • Prioritize HIGH recommendations first

    e. TEMP milestone handling:

    • If TEMP milestone detected (M{X}SA{Y}.md in milestones/TEMP/), process first
    • Mark TEMP status in EVOLUTION.md
    • After processing, prompt user for milestone promotion to formal milestone
    • If promoted, rename TEMP folder and update SA references

    f. Version tracking:

    • Track version changes from session-audit output (CHANGELOG_ENTRIES.md)
    • Ensure evolve-skills version matches expected version from M2SA1
  • Current version: 1.3.0

    g. Output documentation: - Create or update CHANGELOG_ENTRIES.md with session-audit entries - Create MILESTONE_UPDATES.md for progress tracking - Create INGEST_ENTRIES.md for ingestion workflow - Update AGENTS.md with Infrastructure Skills section

Auto-Run After Session Audit
Out of Scope

85:#### Out of Scope

Strict Test Isolation Guardrail (CRITICAL)

86:

  • You are STRICTLY PROHIBITED from writing, editing, regenerating, or modifying any test scripts (e.g., tests/M{X}/test_*.sh, test_*.py) or test plan documents (e.g., milestones/M{X}/M{X}S{Y}T{Z}.md). 87:- Your filesystem modification capabilities are mechanically locked to the "Allowlist" of the active specification. Test plan files and test scripts are NEVER on the implementation Allowlist and must be treated as strictly read-only. 88:- If a test fails during your verification step because the test script is syntax-broken, contains NUL bytes, or the test plan markdown table is structurally invalid, you must NOT attempt to fix it. This is an INVALID_TEST upstream blocker. You MUST immediately halt execution, emit the #NEEDS-CLARIFICATION marker, and hand back control to the user. 89:
Edit Tool Usage

90:

Multi-line Block Edits (Use edit)

91:

Safety:

  • Shows diffs before applying (what WILL change)
  • Only applies changes if user approves
  • SKILL.md files must have version bump after changes

Example Output:

evolve-skills: Reading M2SA3.md...
  - Detected 3 action types (milestone, hotfix, external report)
  - Analyzing skill impacts

evolve-skills: Proposed changes:

  hotfix-issue SKILL.md:
  - Line 2: Added user-invocable: true to frontmatter
  - Line 45: Added "Use when: hotfix, bug fix, issue resolution"
  - Line 78: Added integration table in README

  session-audit SKILL.md:
  - Line 15: Expanded scope to capture hotfix and ad-hoc sessions
  - Line 120: Added external report detection
  - Line 150: Added auto-workflow section

evolve-skills: Apply changes to hotfix-issue?
   Yes, apply all changes
   No, skip
   No, but apply session-audit only
   Custom selection

Selection: 1

evolve-skills: Applying changes to hotfix-issue...
evolve-skills: hotfix-issue updated to 1.1.0

Fallback (Option C): If user cancels or skips all changes:

  • "Continue without evolve-skills"
  • "Apply changes manually"
  • "Run skills-auditor audit only"
  • "Run both evolve-skills and skills-auditor"

Phase 4: Skill Health Audit Layer

Add automated quality monitoring for evolve-skills dependencies using skills-auditor.

What it does:

Health Report Structure (evolve-skills/health/{skill-name}.yaml):

yaml
skill: hotfix-issue
version: "1.1.0"
last_audited: "2026-07-23"

priority: "HIGH"
priority_reason: "Used for critical bug fixes"

issues:
  - type: "missing_integration"
    description: "Missing integration table in README"
    severity: "MEDIUM"
  - type: "version_mismatch"
    description: "SKILL.md version 1.0.0, expected 1.1.0"
    severity: "LOW"

recommendations:
  - "Add integration table to README"
  - "Update version to 1.1.0"

status: "needs_improvement"

Priority Scale:

  • HIGH: Critical functionality, high usage
  • MEDIUM: Important but not critical
  • LOW: Nice to have, low usage

Status Values:

  • healthy — All checks pass
  • needs_improvement — Minor issues, no blocking problems
  • degraded — Significant issues, functional but problematic
  • critical — Major issues, requires immediate attention
Evolution Principles

217:#### Evolution Principles

  • Evidence-based — Every prompt change must be tied directly to a documented failure or inefficiency in a recent artifact. 218:* Negative Guardrails — Prioritize adding explicit "Never do X" rules to the "Out of Scope" sections over adding complex positive instructions. 219:* Do Not Touch Core Tools — Never modify non-SDD skills (like code-search, bash tools, etc.). 220:* Cumulative Processing — Process multiple SAs in order, building on cumulative context. 221:* TEMP First — Always process TEMP milestones before formal milestones. 222:

Out of Scope (Negative Guardrails)

225:## Out of Scope (Negative Guardrails)

Strict Milestone and Project Agnosticism:

  • Never proceed with evolution workflows if the static directory scan identifies a deleted, truncated, or un-indexed SKILL.md file in the workspace. 228:- You must utilize the standard wildcard notation: M{X} for milestones, S{Y} for specifications, T{Z} for test plans, and M{X}S{Y} for active sequence identifiers. This ensures the AEF remains 100% portable and reusable across brownfield and greenfield projects. 229: 230: 231:
  • Can be invoked manually: evolve-skills audit
Command: audit

Run skills-auditor to check health of all evolve-skills dependencies.

Usage: evolve-skills audit

What it does:

Output:

  • evolve-skills/health/{skill-name}.yaml — Individual health report
  • Console dashboard — Summary of all skills

Safety:

  • Read-only, no changes to skills
  • Runs on-demand only, not continuous

Note: Do NOT auto-run skills-auditor if user cancels evolve-skills changes. Let user decide what to do next.

Evolution Principles
  • Evidence-based — Every prompt change must be tied directly to a documented failure or inefficiency in a recent artifact.
  • Negative Guardrails — Prioritize adding explicit "Never do X" rules to the "Out of Scope" sections over adding complex positive instructions.
  • Do Not Touch Core Tools — Never modify non-SDD skills (like code-search, bash tools, etc.).
  • Cumulative Processing — Process multiple SAs in order, building on cumulative context.
  • TEMP First — Always process TEMP milestones before formal milestones.
Output
Example SA Processing Workflow
bash
# Session 1: M2SA1.md
# 1. Read M2SA1.md
# 2. Identify recommended actions (session-audit updated, code-search added)
# 3. Apply updates to evolve-skills and session-audit
# 4. Bump versions
# 5. Document in EVOLUTION.md

# Session 2: M2SA2.md (2 weeks later)
# 1. Read all SAs: M2SA1.md, M2SA2.md
# 2. Process cumulatively (use SA2 as primary, reference SA1)
# 3. Apply new recommendations
# 4. Bump versions
# 5. Document in EVOLUTION.md with references to both SAs
EVOLUTION.md Structure
markdown
# Skill Evolution Log

## [Date] - M{X}SA{Y}

### Skill: {skill-name}
- **Old Version**: {x.y.z}
- **New Version**: {x.y.z}
- **Rationale**: Session-audit detected framework improvement needed
- **Changes**:
  - {description of changes}
- **References**: `M{X}SA{Y}.md`, `M{X}SA{Y-1}.md` (if applicable)

### TEMP Milestone: M{N}SA{Y}
- **Status**: Processed (incomplete)
- **Action Taken**: Applied framework improvements
- **Next Step**: Prompt user for milestone promotion
- **References**: `M{N}SA{Y}.md`

### TEMP Milestone: M{N}SA{Y} (Closed)
- **Status**: Closed as completed
- **Action Taken**: Deleted TEMP milestone
- **References**: M{N}SA{Y}.md

Edit Tool Usage

Single-line Replacements (Use bash)

For simple one-line edits, bash with sed is simpler and less error-prone:

bash
# Replace line 27 with new text
sed -i.bak '27s/.*/NEW_TEXT/' /path/to/file

# Example: Fix a single instruction line
sed -i.bak '27s/.*/13. **Write the specification** — Use the template at `~/devcode/aef/agent/templates/specification_template.md`. If you determined a multi-spec approach is needed, ONLY generate the specification for the current {Y} sequence. Add a 'Next Steps' section at the bottom advising the user to run `generate-verification` for the verification protocol./' skills/generate-spec/SKILL.md

Multi-line Block Edits (Use edit)

For structural changes with multiple lines, use the edit tool:

Steps:

Example:

[SKILL.md#ABC123]
SWAP 27.=27:
+13. **Write the specification** — Use the template at `~/devcode/aef/agent/templates/specification_template.md`. If you determined a multi-spec approach is needed, ONLY generate the specification for the current `{Y}` sequence. Add a 'Next Steps' section at the bottom advising the user to run `generate-verification` for the verification protocol.

Documentation

References

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة أثناء تحميل المهارة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Evolve Skills؟

Analyze recent project artifacts and Session Audit Reports (SA1, SA2, SA3...) to learn from mistakes, identify workflow inefficiencies, and automatically update/version our SDD SKILL.md files. Handles multiple session audits and TEMP milestones.

لماذا تستخدم Evolve Skills على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Evolve Skills عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Evolve Skills في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/bparlan/omp-agent/tree/main/skills/evolve-skills. يقرأ TypingMind ملف SKILL.md الخاص بها، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Evolve Skills؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Evolve Skills؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Evolve Skills معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Evolve Skills مجانية؟

نشرها bparlan على GitHub. راجع المستودع للاطلاع على شروط الترخيص. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇