شعار Hatch3r Gh Agentic Workflows

Hatch3r Gh Agentic Workflows

مؤسسة
hatch3r
hatch3r-gh-agentic-workflows

Sets up CI/CD agentic workflows for continuous AI-powered repository automation (GitHub Actions, Azure Pipelines, GitLab CI)

نظرة عامة

الناشرhatch3r
المستودعhatch3r
اسم المهارةhatch3r-gh-agentic-workflows
النجوم
26
التفريعات
7
الملفات المرفقة
2
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

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

استخدمها في TypingMind

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

يُحمّل النموذج مهارة Hatch3r Gh Agentic Workflows تلقائيًا بمجرد ورود طلب ذي صلة بها.

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

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

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

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

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

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

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

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

CI/CD Agentic Workflows Integration

Platform detection: Check platform in .hatch3r/hatch.json to determine which CI/CD system to use. Defaults to "github".

This skill guides setup for AI-powered CI/CD automation in hatch3r-managed projects. The core SKILL covers GitHub Actions (the default); non-GitHub platforms load on demand from references/.

Step 0 — Detect Ambiguity (P8 B1)

Before any work, scan the invocation for unresolved questions in scope, intent, acceptance criteria, target environment, or irreversibility. If any are found, ask the user via the platform-native question tool per agents/shared/user-question-protocol.md. Do not proceed under silent assumption. Default path, not an exception. Triggers for THIS skill: CI platform (GitHub Actions vs Azure Pipelines vs GitLab CI), AI engine (copilot vs claude vs codex), permission scope (read-only vs write), trigger pattern (schedule vs PR event vs manual), and cost-budget enforcement (token cap vs unbounded).

Fan-out Discipline (P8 B2)

Fan-out scales with task size; token cost never justifies serializing independent work (rules/hatch3r-fan-out-discipline.md P8 B2; agents/shared/efficiency-patterns.md). Emit sub_agents_spawned: { count, rationale, task_structure } in your output.

Progressive Disclosure (Anthropic 2026 skills spec)

Target platformFile to read
GitHub Actions (default)This file — read sections below
Azure DevOps Pipelinesreferences/azure-devops.md
GitLab CI/CDreferences/gitlab-ci.md

Load only the references file that matches platform in .hatch3r/hatch.json. Do not eagerly load all three.

Overview (GitHub Actions)

GitHub Agentic Workflows (technical preview, Feb 2026) bring AI agent orchestration into GitHub Actions. Agentic Workflows are markdown files in .github/workflows/ with YAML frontmatter that compile to GitHub Actions jobs. They support multiple AI engines (GitHub Copilot, Claude, OpenAI Codex) and use MCP for tool access.

Available Workflow Templates (GitHub)

1. Continuous Test Improvement

Automatically assess test coverage and add high-value tests.

yaml
# .github/workflows/hatch3r-continuous-testing.md
---
name: Continuous Test Improvement
on:
  schedule:
    - cron: '0 6 * * 1'
  workflow_dispatch:
engine: copilot
permissions:
  contents: read
  pull-requests: write
---

Analyze test coverage gaps and open PRs with new tests for uncovered critical paths.

2. Continuous Triage

Automatically summarize, label, and route new issues.

yaml
# .github/workflows/hatch3r-continuous-triage.md
---
name: Continuous Triage
on:
  issues:
    types: [opened]
engine: copilot
permissions:
  issues: write
---

When a new issue is opened, analyze it, apply labels from the hatch3r taxonomy (type:, priority:, area:*), and add a triage summary comment.

3. Continuous Documentation

Keep documentation aligned with code changes.

yaml
# .github/workflows/hatch3r-continuous-docs.md
---
name: Continuous Documentation
on:
  pull_request:
    types: [closed]
    branches: [{defaultBranch}]
engine: copilot
permissions:
  contents: write
  pull-requests: write
---

Replace {defaultBranch} with board.defaultBranch from .hatch3r/hatch.json (fallback: "main").

After a PR is merged, check if documentation needs updating and open a follow-up PR.

Security Considerations

  • Workflows run in sandboxed environments with minimal permissions
  • Use read-only defaults; only grant write permissions when needed
  • Review all AI-generated changes before merging
  • Network isolation and tool allowlisting are enforced by the runtime

Integration with hatch3r

  • hatch3r's label taxonomy (type:, executor:, priority:*) aligns with agentic triage
  • The hatch3r-testability (CQ5) agent's patterns can inform continuous testing workflows
  • The hatch3r-docs-writer agent's patterns can inform continuous documentation
  • Board management commands complement continuous triage

Setup (GitHub)

  1. Enable GitHub Agentic Workflows in your repository settings
  2. Create workflow files in .github/workflows/ using the templates above
  3. Configure the AI engine (copilot is default, claude and codex are alternatives)
  4. Set appropriate permissions for each workflow
  5. Monitor workflow runs in the Actions tab

For Azure DevOps setup: see references/azure-devops.md. For GitLab setup: see references/gitlab-ci.md.

Verification Steps (GitHub)

  1. Syntax check: gh workflow view {name} or the Actions web UI
  2. Dry run: gh workflow run {name} → gh run watch
  3. Output review: Check the AI-generated output (PR, comment, label) for quality and correctness.
  4. Permission audit: Verify the workflow cannot access resources beyond its declared permissions.
  5. Idempotency: Run the workflow twice on the same input — it should not create duplicate artifacts.
  6. Error handling: Trigger with invalid/edge-case input — workflow should fail gracefully with clear error.

Platform-equivalent verification for ADO/GitLab: see the platform reference files.

Monitoring (GitHub)

  • Execution tracking: gh run list --workflow={name}
  • Failure alerts: Settings → Notifications → Actions
  • Cost awareness: Monitor AI token usage per workflow run. Set spending limits in org settings.
  • Quality metrics: Track success rate, output acceptance rate (merged PRs / total), mean time per run.

Error Handling

  • Workflow file has YAML syntax errors: Validate the workflow file locally before pushing (e.g., actionlint for GitHub Actions). Fix all reported errors before committing.
  • AI engine produces low-quality or empty output: Add explicit context to the workflow prompt (file references, examples, constraints). If the output is still poor after enrichment, switch to a more capable model.
  • Workflow runs exceed cost or time limits: Add timeout-minutes to the workflow, scope file references to reduce context size, and add concurrency groups to prevent parallel runs.

Troubleshooting

SymptomLikely CauseFix
Workflow doesn't triggerIncorrect on: event or branch filterVerify event type matches, check branch protection rules
AI output is empty/poorInsufficient context in workflow bodyAdd more context, reference specific files, include examples
Permission deniedMissing or insufficient permissionsAdd required permissions in frontmatter, check org policies
MCP tool failsServer not available or misconfiguredVerify MCP server is accessible, check auth tokens
Rate limitingToo many workflow runsAdd concurrency groups, reduce trigger frequency
Workflow hangsLarge repo context or slow AI responseSet timeout-minutes, scope file references

Rollback (GitHub)

If a workflow produces undesirable results:

  1. Disable immediately: gh workflow disable {name} or toggle in repo Settings → Actions
  2. Revert outputs: Close AI-generated PRs, remove applied labels, revert merged changes if needed.
  3. Diagnose: gh run view {run-id} --log
  4. Fix and re-enable: Update the workflow file, test via manual dispatch, then re-enable.

Platform-equivalent rollback for ADO/GitLab: see the platform reference files.

Definition of Done

  • Workflow/pipeline file created in the platform-appropriate location (.github/workflows/, azure-pipelines/, .gitlab-ci.yml)
  • Engine/runner configured with appropriate model or agent selection
  • Permissions scoped to minimum required (read-only defaults, write only where needed)
  • MCP tool access configured if needed (with allowlisting)
  • Trigger events appropriate for the workflow's purpose
  • Manual trigger included for testing (workflow_dispatch / manual pipeline run / manual pipeline trigger)
  • Workflow tested via manual dispatch with expected outcomes verified
  • Monitoring configured (platform notifications or Slack integration)
  • Documentation updated (README or CONTRIBUTING) to describe the new workflow

References

  • Workflow syntax for GitHub Actions — accessed 2026-05-31, official-docs (GitHub). Source for the on: triggers, permissions: scoping, workflow_dispatch, and timeout-minutes / concurrency controls in the templates.
  • GitHub Agentic Workflows — accessed 2026-05-31, official-docs (GitHub Next). Source for the technical-preview status, markdown-with-frontmatter compile model, and multi-engine (Copilot/Claude/Codex) + MCP tool-access claims in the Overview.

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

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

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

ماذا تفعل مهارة الذكاء الاصطناعي Hatch3r Gh Agentic Workflows؟

Sets up CI/CD agentic workflows for continuous AI-powered repository automation (GitHub Actions, Azure Pipelines, GitLab CI)

لماذا تستخدم Hatch3r Gh Agentic Workflows على TypingMind؟

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

كيف أثبّت Hatch3r Gh Agentic Workflows في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/hatch3r/hatch3r/tree/main/skills/hatch3r-gh-agentic-workflows. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Hatch3r Gh Agentic Workflows؟

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

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Hatch3r Gh Agentic Workflows؟

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

هل مهارة الذكاء الاصطناعي Hatch3r Gh Agentic Workflows مجانية؟

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

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

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

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

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

عرض الكل

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

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