本文へ移動
cccskills
無料GitHub で公開

common-skill-creator

Standardizes the creation and evaluation of high-density Agent Skills (Claude, Cursor, Windsurf). Ensures skills achieve high Activation (specificity/completeness) and Implementation (conciseness/actionability) scores. Use when: writing or auditing SKILL.md, improving trigger accuracy, or refactoring skills to reduce redundancy and maximize token ROI.

インストール方法を見る

含まれるファイル(13)

  • SKILL.md6.7 KB
  • evals/evals.json4.2 KB
  • references/anti-patterns.md1.2 KB
  • references/benchmark.md3.4 KB
  • references/eval-workflow.md3.5 KB
  • references/lifecycle.md4.9 KB
  • references/resource-organization.md7.0 KB
  • references/rubric.md4.9 KB
  • references/size-limits.md266 B
  • references/TEMPLATE.md1.3 KB
  • references/tessl-best-practices.md2.2 KB
  • references/testing.md6.3 KB
  • references/web-search-research.md3.7 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Agent Skill Creator Standard

Priority: P0 (CRITICAL)

Applies to every skill in this registry. Maximize Token ROI. Every line in SKILL.md must provide specific procedural value. Activation (how it triggers) and Implementation (how it helps) primary quality metrics.

Three-Level Loading System

  • Level 1 Frontmatter: name + description (Activation Anchor), ≤100 words.
  • Level 2 SKILL.md body: Core Rules + Workflows (Implementation Core), ≤100 lines.
  • Level 3 references/: Detailed examples, schemas, and "TESTS.md" (On-demand).

Workflow (New or Existing Skill)

New skill:

  1. Research — web-search domain best practices, checklists, and standards; extract key terms → triggers, workflows → guidelines, mistakes → anti-patterns. See Web Search Research.
  2. Capture intent — what it , when it trigger, expected output format?
  3. Draft the SKILL.md — draft using TEMPLATE.md
  4. Test — spawn parallel subagents: one with-skill, one without-skill (baseline)
  5. Evaluate — grade assertions, review benchmark (pass rate, tokens, time)
  6. Iterate — rewrite based on feedback, rerun into next iteration dir, repeat
  7. Optimize description — run trigger eval queries, target ≥80% accuracy
  8. Pressure-test — for discipline skills, capture agent excuses, red flags, and stop conditions Existing skill:
  9. Audit — run Quality Checklist below; identify violations
  10. Snapshot — cp -r <skill-dir> <workspace>/skill-snapshot/ before any edits
  11. Improve SKILL.md — fix violations, compress, move oversized content to references/
  12. Test — spawn parallel subagents: one with-new-skill, one with-snapshot (baseline)
  13. Evaluate & iterate — same as steps 4–5 above
  14. Optimize description — re-run trigger eval if description changed
  15. Harden — add rationalization counters where agents still fail under pressure See Eval Workflow for full testing + iteration details.

Description Quality (Activation)

  • Third-Person Voice: Use Standardizes..., Audits..., Encrypts.... Avoid "I will" or "This skill helps to".
  • What + When Structure:
  • What: Define 5–8 specific capabilities (e.g., "Generates JWT tokens, rotates keys").
  • When: Explicitly define triggers (e.g., "Use when user says 'rotate keys'").
  • Specificity: Avoid vague verbs like "manage" or "handle". Use "Validate", "Inject", "Refactor", "Sanitize".
  • Trigger Hint: Include (triggers: *.ext, keyword) suffix for technical skills.

Content Quality (Implementation)

  • No Redundant Knowledge: Do NOT explain concepts AI already knows (e.g., standard HTTP codes, common language syntax, basic SOLID definitions). Focus strictly on project-specific rules and constraints.
  • Readable Compact Style: Size is an editorial budget, not a behavioral quality claim. Prefer readable, compact, imperative language over filler words, conversational phrasing, or speculative prose.
  • Actionability: Examples must be copy-paste ready and executable.
  • Workflow Clarity: Use sequential ordered lists for multi-step processes.
  • Progressive Disclosure: Move code blocks >10 lines to references/.
  • Pressure Hardening: Discipline skills must name red flags, common excuses, and exact stop/restart conditions.

Evidence Tiers & Guardrails

  • Three Evidence Tiers: Distinguish (1) structural checks (line counts, frontmatter schema), (2) textual transcript evidence (assertions, rationalization counters), and (3) executable outcomes (runnable verification, verifier pass/fail).
  • Rule Retirement & Ablation: A rule is a candidate for retirement when repeated, representative, risk-appropriate evaluations (including adversarial cases) show zero regression without it. Candidate status does not authorize removing safety or approval controls; retain host and safety guardrails until verified deterministic runtime enforcement replaces them.
  • Pressure Scenarios: For discipline skills, record rationalizations agents use to skip rules, define red flags that trigger immediate stop/restart, and score against observable evidence.

Anti-Patterns

  • No "AI-splaining": Do not explain why a pattern is good unless it is a unique project constraint.
  • No Answer-Anchor Padding: Do not insert arbitrary keywords or phrases solely to satisfy string-match tests.
  • No Vague Triggers: Never use src/** or **/*. Keep triggers surgical.
  • No Description Bloat: If description exceeds 100 words, move capabilities to body.
  • No Long Code Blocks: Blocks >10 lines must be extracted to references/.
  • No Untested Guardrails: Rules not validated against baseline failure are unverified speculation.

Quality Checklist (Tessl-Aligned)

  • Activation ≥ 90%: Description covers capabilities ("What") and triggers ("When").
  • Implementation ≥ 90%: No general-purpose explanations; all examples executable.
  • Structural Compliance: SKILL.md ≤ 100 lines; code blocks moved to references/.
  • Trigger rate ≥80% on should-trigger queries.
  • Guardrail skills include rationalizations, red flags, behavior eval fields, and should/should-not trigger cases.

References

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Upgrade an Android project to Android Gradle Plugin (AGP) 9. Use when migrating to AGP 9, updating Gradle build files, migrating to built-in Kotlin, or adopting the new AGP DSL.

日本語の概要は準備中です。原文の説明を表示しています。

HoangNguyen0403/agent-skills-standard5732026年10月12日 更新

Apply Clean Architecture layering, modularization, and Unidirectional Data Flow in Android projects. Use when setting up project structure, placing code in layers, configuring feature/core modules, or implementing UDF patterns; defer Compose state and ViewModel/StateFlow implementation to their specific skills.

日本語の概要は準備中です。原文の説明を表示しています。

HoangNguyen0403/agent-skills-standard5732026年10月12日 更新

Implement WorkManager and background processing correctly on Android. Use when creating Worker classes, scheduling tasks, choosing between WorkManager and Foreground Services, or setting up Hilt in workers; defer FCM and notification delivery to android-notifications.

日本語の概要は準備中です。原文の説明を表示しています。

HoangNguyen0403/agent-skills-standard5732026年10月12日 更新

Build high-performance declarative UI with Jetpack Compose. Use when writing Composable functions, optimizing recomposition, hoisting state, or working with LazyColumn and side effects; defer deep-link and navigation routing to android-navigation.

日本語の概要は準備中です。原文の説明を表示しています。

HoangNguyen0403/agent-skills-standard5732026年10月12日 更新

Migrate an Android XML View to Jetpack Compose following a structured 10-step workflow. Use when converting XML layouts to Compose, setting up Compose in an existing View-based project, or incrementally adopting Compose.

日本語の概要は準備中です。原文の説明を表示しています。

HoangNguyen0403/agent-skills-standard5732026年10月12日 更新

Write correct coroutine scopes, lifecycle collection, and dispatcher injection in Android production code. Use for suspend functions, coroutine scopes, and dispatcher mechanics; defer ViewModel StateFlow/LiveData architecture, Fragment lifecycle recipes, persistence/notifications, and unit-test recipes to their specific skills.

日本語の概要は準備中です。原文の説明を表示しています。

HoangNguyen0403/agent-skills-standard5732026年10月12日 更新

HoangNguyen0403 のスキルをすべて見る

このスキルの問題を報告する