تخطَّ إلى المحتوى
مهارةمستورديحتوي سكربتات

skill-writer

Create, synthesize, and iteratively improve agent skills following the Agent Skills specification. Use when asked to "create a skill", "write a skill", "synthesize sources into a skill", "improve a skill from positive/negative examples", "update a skill", or "maintain skill docs and registration". Handles source capture, precision passes, authoring, registration, and validation.

وصف مستورد لم يراجعه محرر بعد

جاء هذا العنصر من مستودعه الأصلي وفحصناه آلياً فقط، ولم يكتب له محرر وصفاً عربياً بعد. اقرأ محتواه بنفسك قبل أن تعتمد عليه. ولا تُفهرس هذه الصفحة في محركات البحث حتى تُراجَع.

التنزيل

اقرأ هذا قبل أن تنزّل

لا يشغّل تلقين أي شيء من هذا العنصر. لكن ما تنزّله يعمل على جهازك إن شغّلته أنت أو سمحت لكلود كود بتشغيله، فاقرأ الملفات أولاً.

  • في العنصر ملفات سكربت.

الملفات: 46 · الحجم: 137 ك.ب

نزّل ملف ZIP

يحمل الملف ترخيص المصدر الأصلي.

التثبيت

بعد التنزيل، شغّل الأمر في الطرفية. يسأل unzip قبل أن يستبدل أي ملف موجود.

  • لهذا المشروع

    يوضع في: .claude/skills/skill-writer/

    mkdir -p .claude/skills && unzip ~/Downloads/skill-writer.zip -d .claude/skills

  • لحسابك على الجهاز كله

    يوضع في: ~/.claude/skills/skill-writer/

    mkdir -p ~/.claude/skills && unzip ~/Downloads/skill-writer.zip -d ~/.claude/skills

التعليمات

Skill Writer

Use this as the single canonical workflow for skill creation and improvement. Primary success condition: maximize high-value input coverage before authoring while minimizing wasted runtime tokens.

Follow the workflow steps in order. Load only the reference files required for the step you are on. SKILL.md is the primary router: every bundled reference file should be flat under references/ and listed here with a direct "open when..." reason.

Core Workflow References

Open when you need to...Read
choose the minimum workflow path for create, update, iterate, or research-first workreferences/mode-selection.md
choose the simplest adequate execution shape before deciding filesreferences/execution-shapes.md
apply writing constraints for depth, concision, and portabilityreferences/design-principles.md
decide what belongs in SKILL.md, references/, SPEC.md, or supporting filesreferences/reference-architecture.md
create or update the maintenance contract for a skillreferences/spec-template.md
find missing high-signal sources, including history and regressionsreferences/source-discovery.md
adapt an upstream prompt, workflow, rubric, benchmark, or docs into a skillreferences/source-adaptation.md
run the full synthesis pass with coverage checks and source capturereferences/synthesis-path.md
author or update SKILL.md, SPEC.md, and supporting filesreferences/authoring-path.md
improve trigger language and false-positive/false-negative behaviorreferences/description-optimization.md
iterate from positive, negative, or fix examplesreferences/iteration-path.md
store persistent working and holdout examples for future revisionsreferences/iteration-evidence.md
choose a response template, schema, or output contractreferences/output-contracts.md
add or update evals for a skill's generated outputs or runtime behaviorreferences/skill-evals.md
troubleshoot overloaded layouts, hidden refs, or other structure failuresreferences/structure-troubleshooting.md
register the skill and run final validation checksreferences/registration-validation.md

Artifact Layout References

Open when you need to...Read
keep the whole skill inline in one coherent SKILL.mdreferences/layout-inline-skill.md
split optional deep knowledge into focused routed referencesreferences/layout-reference-backed-skill.md
add scripts for deterministic automation or validationreferences/layout-script-backed-workflow.md
define a skill that is usually invoked with explicit argumentsreferences/layout-argument-driven-skill.md
ship reusable templates, schemas, or other static assetsreferences/layout-asset-template-skill.md

Workflow Mechanic References

Open when you need to...Read
break a task into fixed ordered stepsreferences/workflow-prompt-chaining.md
classify requests and route them to different downstream pathsreferences/workflow-routing.md
split independent work into parallel units or votesreferences/workflow-parallel.md
discover work units dynamically and coordinate worker outputsreferences/workflow-orchestrator-workers.md
run validate-fix-repeat checks during authoring or executionreferences/workflow-validation-loops.md
validate a plan before executing a risky actionreferences/workflow-plan-validate-execute.md

Claude Code References

Open when you need to...Read
use Claude-specific frontmatter or invocation controlsreferences/claude-frontmatter-invocation.md
use Claude argument fields or substitution variablesreferences/claude-argument-substitutions.md
build a skill that runs in isolated context: forkreferences/claude-subagent-fork.md
build a skill that uses Claude hooks for deterministic enforcementreferences/claude-hook-backed.md
use Claude shell preprocessing for dynamic context injectionreferences/claude-dynamic-context.md

Example Profiles

Open when you need to...Read
see the expected depth for a documentation-heavy skillreferences/example-documentation-skill.md
see the expected depth for a workflow-process skillreferences/example-workflow-process-skill.md
see what a good routed skill looks likereferences/example-router-skill.md
see what a good subagent-fork skill looks likereferences/example-subagent-fork-skill.md
see what a good hook-backed skill looks likereferences/example-hook-backed-skill.md

Step 1: Resolve target, path, and shape

  1. Resolve the intended operation (create, update, synthesize, iterate) and inspect workspace prior art before choosing where files belong.
  2. Choose the target skill root from observed conventions. If the canonical location is still unclear after inspection, ask one direct question before editing files.
  3. Read references/mode-selection.md to choose the minimum required workflow paths.
  4. Read references/execution-shapes.md to choose the primary execution shape.
  5. Default to the simplest adequate shape. If selecting a more complex shape, record why simpler shapes were rejected.
  6. Load only the exact artifact-layout, workflow-mechanic, and provider-specific leaf files required by that shape.
  7. Before adding guidance, identify what existing rule, section, or file should be narrowed, replaced, or removed.
  8. Record portability implications before using provider-specific mechanics.

Step 2: Run synthesis when needed

Read references/synthesis-path.md.

  1. Use this path for new skills, material changes, and research-first planning.
  2. Collect and score relevant sources with provenance.
  3. Read references/source-discovery.md when source material is thin, stale, or ambiguous.
  4. Read references/source-adaptation.md when adapting an upstream prompt, workflow, rubric, benchmark, or docs.
  5. Produce source-backed decisions and coverage/gap status, including the class and execution-shape choice.
  6. Load example profiles only when they add concrete depth for the selected class or shape.
  7. If the skill uses provider-specific mechanics, include current official provider docs and capture usage constraints.
  8. Do not move to authoring until required coverage is understood or gaps are explicit.

Step 3: Run iteration first when improving from outcomes/examples

Read references/iteration-path.md first when selected path includes iteration (for example operation iterate).

  1. Capture and anonymize examples with provenance.
  2. Read references/iteration-evidence.md when examples should persist beyond the current turn.
  3. Review skill behavior against working and holdout slices.
  4. Propose improvements from positive/negative/fix evidence.
  5. Carry concrete behavior deltas into authoring.

Skip this step when selected path does not include iteration.

Step 4: Author or update skill artifacts

Read references/authoring-path.md.

  1. Write or update SKILL.md in imperative voice with trigger-rich description.
  2. Keep SKILL.md as the runtime router, not an encyclopedia.
  3. Run the pre-edit precision check in references/authoring-path.md before creating new sections or files.
  4. Read references/reference-architecture.md before adding bulk instructions or new reference files.
  5. Create or update SPEC.md using references/spec-template.md when creating a new skill or materially changing its contract.
  6. Create focused reference files, scripts, and assets only when each one has a clear "open when..." reason and cannot be handled by tightening an existing file.
  7. If you add a bundled reference file, add a direct routing entry for it in this SKILL.md.
  8. Prefer checklists, tables, templates, and input/output examples over explanatory prose.
  9. Follow only the specific artifact-layout, workflow-mechanic, Claude-specific, and output-contract references selected for this skill.
  10. For advanced execution shapes, add the required routing, delegation, or safety contracts before considering the skill complete.
  11. For authoring/generator skills, include transformed examples in references:
  • happy-path
  • secure/robust variant
  • anti-pattern + corrected version
  1. Read references/skill-evals.md when the request asks for evals, regression cases, benchmark cases, or model-graded quality checks for the skill being authored.
  2. After any skill artifact changes, run the post-change precision pass in references/authoring-path.md before description optimization or validation.

Step 5: Optimize description quality

Read references/description-optimization.md.

  1. Validate should-trigger and should-not-trigger query sets.
  2. Reduce false positives and false negatives with targeted description edits.
  3. Keep trigger language generic across providers unless the skill is intentionally provider-specific.

Step 6: Register and validate

Read references/registration-validation.md.

  1. Apply repository registration steps for the active layout you verified in the workspace.
  2. Run quick validation for structural checks.
  3. Review validator warnings, precision-pass results, and coverage gaps with judgment before completion.

Output format

Return:

  1. Summary
  2. Changes Made
  3. Validation Results
  4. Open Gaps

الملفات

  • مجلدevals7 ك.ب
    • مجلدscenarios6.7 ك.ب
      • iteration-from-bad-output.json2.8 ك.ب
      • reference-backed-integration.json1.9 ك.ب
      • small-inline-workflow.json1.9 ك.ب
    • axis.config.json318 بايت
  • مجلدreferences70 ك.ب
    • authoring-path.md4.7 ك.ب
    • claude-argument-substitutions.md624 بايت
    • claude-dynamic-context.md579 بايت
    • claude-frontmatter-invocation.md1.9 ك.ب
    • claude-hook-backed.md913 بايت
    • claude-subagent-fork.md718 بايت
    • description-optimization.md1 ك.ب
    • design-principles.md3.6 ك.ب
    • example-documentation-skill.md2.8 ك.ب
    • example-hook-backed-skill.md989 بايت
    • example-router-skill.md1 ك.ب
    • example-subagent-fork-skill.md1.1 ك.ب
    • example-workflow-process-skill.md2.4 ك.ب
    • execution-shapes.md4.6 ك.ب
    • iteration-evidence.md2.6 ك.ب
    • iteration-path.md1.5 ك.ب
    • layout-argument-driven-skill.md1 ك.ب
    • layout-asset-template-skill.md809 بايت
    • layout-inline-skill.md731 بايت
    • layout-reference-backed-skill.md1.2 ك.ب
    • layout-script-backed-workflow.md846 بايت
    • mode-selection.md3.2 ك.ب
    • output-contracts.md1.1 ك.ب
    • reference-architecture.md2.5 ك.ب
    • registration-validation.md3.5 ك.ب
    • skill-evals.md5.6 ك.ب
    • source-adaptation.md2.1 ك.ب
    • source-discovery.md2.6 ك.ب
    • spec-template.md2.2 ك.ب
    • structure-troubleshooting.md4 ك.ب
    • synthesis-path.md3.7 ك.ب
    • workflow-orchestrator-workers.md652 بايت
    • workflow-parallel.md540 بايت
    • workflow-plan-validate-execute.md678 بايت
    • workflow-prompt-chaining.md548 بايت
    • workflow-routing.md828 بايت
    • workflow-validation-loops.md658 بايت
  • مجلدscripts4.6 ك.بسكربت
    • quick_validate.py4.6 ك.بسكربت
  • EVAL.md6.4 ك.ب
  • LICENSE11 ك.ب
  • SKILL.md9.8 ك.ب
  • SOURCES.md19 ك.ب
  • SPEC.md9.7 ك.ب

ما وجده الفحص الآلي

فحصنا الملفات آلياً وقت الاستيراد. هذا ما نبّه إليه الفحص، ولا يعني أن العنصر ضار ولا أنه سليم: اقرأه بنفسك.

  • يحتاج مراجعةملف سكربت

    في الملف skills/skill-writer/scripts/quick_validate.py

  • يحتاج مراجعةيقرأ ملف .env أو أسراراً

    في الملف skills/skill-writer/references/claude-hook-backed.md، السطر 23

التعليقات (0)

لا تعليقات بعد. كن أول من يعلّق.

سجّل الدخول لتعلّق. التعليق من المستوى 1 (عضو).

أبلغ

عناصر مشابهة

  • مهارةمستورد

    academy-guide

    Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials, and use cases from Claude Academy (academy.claude.com), Anthropic's learning hub. Tr

    Apache-2.0الملفات: 2

  • مهارةمستورد

    agents-md

    Creates and maintains concise AGENTS.md and CLAUDE.md project instruction files. Use when asked to create AGENTS.md, update AGENTS.md, maintain agent docs, set up CLAUDE.md, document repository agent conventions, or keep coding-agent instru

    Apache-2.0الملفات: 3

  • مهارةمستورد

    blog-writing-guide

    Write, review, and improve blog posts for the Sentry engineering blog following Sentry's specific writing standards, voice, and quality bar. Use this skill whenever someone asks to write a blog post, draft a technical article, review blog c

    Apache-2.0الملفات: 1

  • مهارةمستورد

    changelog-automation

    Automate changelog generation from commits, PRs, and releases following Keep a Changelog format. Use when setting up release workflows, generating release notes, or standardizing commit conventions.

    MITالملفات: 2

  • مهارةمستورد

    changelog-generator

    Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into mi

    MITالملفات: 1

  • مهارةمستورد

    codex-review

    Professional code review with auto CHANGELOG generation, integrated with Codex AI

    MITالملفات: 1