alternative-skill-creator
Create, edit, and improve skills that extend AI agent capabilities with domain knowledge, workflows, and tool integrations. Use when creating a new SKILL.md, editing or refactoring an existing skill, updating skill content or references, adding reference files, redesigning skill structure, applying progressive disclosure, defining activation triggers, or evaluating skill quality. Trigger: skill creation, SKILL.md editing, skill quality. Do NOT trigger for: general writing or documentation tasks not related to AI agent skills.
- License 许可
- MIT
- 最近更新
- 2026-08-27
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- alternative-skill-creator
- license
- MIT
- metadata
- { "author": "Community", "status": "stable", "version": "2.0", "category": "meta" }
- description
- Create, edit, and improve skills that extend AI agent capabilities with domain knowledge, workflows, and tool integrations. Use when creating a new SKILL.md, editing or refactoring an existing skill, updating skill content or references, adding reference files, redesigning skill structure, applying progressive disclosure, defining activation triggers, or evaluating skill quality. Trigger: skill creation, SKILL.md editing, skill quality. Do NOT trigger for: general writing or documentation tasks not related to AI agent skills.
02 资源文件 23
- 参考文档evals/evals.json2.4 KB
- 参考文档references/agent-design-guide.md14.7 KB
- 参考文档references/anatomy.md6.4 KB
- 参考文档references/bundled-resources.md6.2 KB
- 参考文档references/core-principles.md2.7 KB
- 参考文档references/creation-workflow.md16.1 KB
- 参考文档references/ecosystem-evaluation.md2.3 KB
- 参考文档references/eval-schema.md6.5 KB
- 参考文档references/evaluating-skills.md5.9 KB
- 参考文档references/optimizing-descriptions.md3.5 KB
- 参考文档references/output-patterns.md1.8 KB
- 参考文档references/overview.md2.0 KB
- 参考文档references/progressive-disclosure.md7.7 KB
- 参考文档references/skill-template.md1.7 KB
- 参考文档references/using-scripts.md3.3 KB
- 参考文档references/what-skills-provide.md2.9 KB
- 脚本scripts/benchmark.py4.8 KB
- 脚本scripts/evaluate_ecosystem.py14.7 KB
- 脚本scripts/evaluate_skill.py35.0 KB
- 脚本scripts/init_skill.py12.3 KB
- 脚本scripts/migrate_schema_v2.py3.8 KB
- 脚本scripts/package_skill.py2.9 KB
- 脚本scripts/quick_validate.py7.5 KB
03 SKILL.md 正文
Alternative Skill Creator
Guide for creating effective skills that extend host agent capabilities.
What Skills Provide
Skills extend agent capabilities with domain knowledge, workflows, tool integrations, and bundled resources (scripts, references, assets).
Quality Standard — 7 Pillars
Every skill must meet the 7-pillar standard to be considered world-class.
Score is measured by scripts/validate-skill-quality.py (0-100).
Passing: ≥70. Target: ≥80.
| # | Pillar | Weight | What it means |
|---|---|---|---|
| 1 | Self-Sufficiency | 20pt | Usable without chasing references/ for 80% of cases |
| 2 | Decision Tree | 15pt | Decision table or branching workflow with ≥3 routes |
| 3 | Anti-patterns | 15pt | ≥3 FAIL:/PASS: pairs with concrete code |
| 4 | Verification | 15pt | Workflow ends with verification checklist |
| 5 | Depth | 10pt | Known bugs, platform quirks, edge cases |
| 6 | Precise Triggers | 15pt | description has ≥3 triggers + ≥1 anti-trigger |
| 7 | Living References | 10pt | ≥2 external URLs + last_verified dates |
→ Full standard + canonical template: ../../_TEMPLATE/SKILL.md
→ Template: references/skill-template.md
Core Principles
| Principle | Guideline |
|---|---|
| Concise is Key | Context window is shared. Only add what the host agent doesn't know. |
| Degrees of Freedom | Match specificity to task fragility: High (text), Medium (pseudocode), Low (exact scripts) |
| World-Class First | Follow 7-pillar standard. Run validate-skill-quality.py before marking done. |
Skill Structure
SKILL.md(required) — canonical section template: Overview, Quick Reference, Workflow, Guidelines, Anti-patterns, Troubleshooting, Verification, Referencesscripts/(executable code, invoked as black boxes)references/(edge case docs loaded on demand — keep minimal)assets/(templates, resources)
Progressive Disclosure
Three levels:
- Metadata (always)
- SKILL.md (<500 lines, <5000 tokens)
- Resources (as needed)
Key rule: SKILL.md <500 lines
Creation Workflow
- Understand patterns — from real tasks, not generic LLM output
- Plan resources — SKILL.md + scripts/ + references/ + assets/
- Initialize —
init_skill.py <name> --path <dir> --category <cat> - Implement SKILL.md — use
references/skill-template.mdas guide- Include all 7 canonical sections: Overview, Quick Reference, Workflow, Guidelines/DO-DON'T, Anti-patterns, Troubleshooting, Verification, References
- Add ≥3 FAIL:/PASS: anti-pattern pairs with code
- Add decision table with ≥3 rows
- Add verification checklist at end of each workflow
- Implement resources — scripts/ + references/
- Validate —
quick_validate.py <skill_dir> --strict - Shell safety —
python3 scripts/validate-shell-safety.py --ci- Ensures no exclamation marks in prose outside fenced code blocks (prevents Zsh history expansion)
- See
references/skill-template.mdShell Safety section for rules
- Evaluate —
python3 scripts/evaluate_skill.py <skill-dir>- Runs
evals/evals.jsonagainst target + judge models via Ollama - For Ollama Cloud:
python3 scripts/evaluate_skill.py <dir> --ollama-cloud(set$OPENAI_API_KEY) - For batch ecosystem evaluation:
python3 scripts/evaluate_ecosystem.py --ollama-cloud - Computes baseline (with_skill vs without_skill) and delta metrics
- Target:
delta.pass_rate >= +0.1AND overall pass_rate >= 0.7 - Review
workspace/iteration-1/benchmark.json— iterate SKILL.md if needed - Commit
benchmark.jsonas quality artifact alongside the skill
- Runs
- Score quality —
python3 scripts/validate-skill-quality.py --report- Target: ≥70 (passing). World-class: ≥80
- Iterate pillars below threshold
- Register — add to
manifest.yaml→make validate→make sync - Package —
package_skill.py
Schema v2 required fields:
name(≤64 chars, kebab-case, matches dir) | description(≥50 chars, ≤1024, contains "Use when" AND ≥3 trigger keywords AND ≥1 anti-trigger) | license(MIT or Proprietary) | metadata.author(generic) | metadata.version(semver) | metadata.category(enum)
→ See canonical template for schema v2 metadata requirements → references/creation-workflow.md
Overview
Creates and maintains high-quality skills (SKILL.md files) that extend AI agent capabilities with domain knowledge, workflows, and tool integrations. Covers the 7-pillar quality standard, progressive disclosure, schema v2 metadata, and the full creation lifecycle from pattern discovery to manifest registration.
Quick Reference
| Scenario | Action |
|---|---|
| Creating a new skill | Use init_skill.py <name> --path <dir> --category <cat> |
| Evaluating skill quality | validate-skill-quality.py --report |
| Evaluating skill automatically | evaluate_skill.py <dir> or evaluate_skill.py <dir> --ollama-cloud |
| Evaluating all skills at once | evaluate_ecosystem.py --skip-evals (structural) or --ollama-cloud (full) |
| Improving a low-scoring skill | Check 7-pillar breakdown; iterate weakest pillar first |
| Registering a skill in the ecosystem | Add to manifest.yaml → make validate → make sync |
| Packaging a skill for distribution | Run package_skill.py |
References
| Resource | URL | Last verified |
|---|---|---|
| YAML Frontmatter Spec | https://yaml.org/spec/1.2.2/ | 2026-05-25 |
| Semantic Versioning | https://semver.org/ | 2026-05-25 |
| Markdown Guide | https://www.markdownguide.org/ | 2026-05-25 |
- references/agent-design-guide.md
- references/bundled-resources.md
- references/core-principles.md
- references/eval-schema.md
- references/evaluating-skills.md
- references/optimizing-descriptions.md
- references/output-patterns.md
- references/progressive-disclosure.md
- references/using-scripts.md
- references/what-skills-provide.md
Verification Checklist
- [ ] 7-pillar quality score ≥70 (run
validate-skill-quality.py --report) - [ ] Metadata matches schema v2: name, description, license, author, version, category
- [ ] Description contains "Use when" + ≥3 trigger keywords + ≥1 anti-trigger
- [ ] SKILL.md < 500 lines and < 5000 tokens
- [ ] ≥3 FAIL:/PASS: anti-pattern pairs with code examples
- [ ] Decision table with ≥3 rows present
- [ ] Registered in
manifest.yaml→make validatepasses
Troubleshooting
| [WARN] Known issue | Likely cause | Fix |
|---|---|---|
validate-skill-quality.py score < 70 |
Missing pillars: decision tree, anti-patterns, or verification checklist | Check pillar breakdown; iterate weakest pillar first; add missing sections |
| Skill not syncing to agents | Not registered in manifest.yaml; make validate failing |
Add entry to manifest.yaml; run make validate then make sync |
| Skill consumes too many tokens (>5000) | Too much content in SKILL.md; references not offloaded | Move edge cases to references/ directory; keep SKILL.md focused on core guidance |
| Description not triggering agent correctly | Description lacks "Use when" phrase or trigger keywords | Add "Use when" + ≥3 trigger keywords (e.g., "creating", "editing", "updating", "refactoring") |
| Skill validation passes locally but fails in CI (known limitation) | Python version mismatch or missing dev dependencies in CI environment | Pin validate-skill-quality.py deps in requirements.txt; run same Python version locally as CI |
| Ollama Cloud authentication fails | OPENAI_API_KEY env var not set or wrong endpoint URL |
export OPENAI_API_KEY=$OLLAMA_API_KEY; verify URL: https://ollama.com/v1; use --ollama-cloud flag for automatic URL config |
Recorded reference (master catalog #154 microsoft/SkillOpt): skill self-optimization loop — trajectory -> edit -> validation gate -> best_skill.md (~300-2000 tokens); see engineering-standards/references/eval-harness.md.
04 同仓库更多 Skills
web-browsing-agent-expert
Web browsing for AI agents: driving a headless browser (Playwright, Puppeteer) from agent tooling, navigation and page-state grounding, DOM extraction and structured data capture, form interaction, session and cookie management, anti-bot mitigation awareness, and safe browsing rules (no PII exfiltration, respect robots and terms). Use when building a browsing tool or MCP server for an agent, teaching an agent to navigate and read web pages, extracting structured content from dynamic sites, or handling login walls and pagination in agent workflows. Trigger: web browsing agent, headless browser, Playwright MCP, Puppeteer, browser automation for agents, DOM extraction, page navigation, session management. Do NOT trigger for: end-to-end UI testing of an application (use playwright-expert); writing standalone scraping scripts for data pipelines (use python-expert); fetching a single public URL (use the fetch tool).
vector-databases
Design and operate vector databases for cloud-native AI features. Use when selecting between pgvector, Pinecone, or Weaviate for AI context layer or integration-hub; designing embedding schemas and index parameters; implementing ANN search with metadata filtering; managing embedding model versions; optimizing query latency; or debugging low retrieval quality. Pairs with rag-architecture for pipeline design and postgres-database-expert for pgvector specifics. Trigger: vector database, pgvector, Pinecone, Weaviate, embedding, ANN search, HNSW, cosine similarity. Do NOT trigger for: relational SQL optimization, standard PostgreSQL schema design, Redis caching.
typescript-expert
Full-stack TypeScript stack for modern projects: frontend SSR/CSR with Next.js 14 App Router and React, backend APIs with Node.js (Express/Fastify), state management with Zustand/Redux Toolkit, unit and integration testing with Vitest/Jest + React Testing Library + MSW, and static analysis with ESLint/Prettier/tsc. Use when building React components or hooks, implementing Next.js App Router or Server Components, writing Node.js REST API handlers, implementing middleware (auth, rate-limit, logging), managing client state (Zustand/RTK), writing frontend/backend tests, or running TypeScript linting/type checks. Trigger: TypeScript, Next.js, React, Zustand, Node.js, Express, Fastify, MSW, Vitest. Do NOT trigger for: Python backend development, Go microservices, iOS/mobile development.
tool-usage
Guide correct tool selection, design, and orchestration for AI agents. Use when choosing between dedicated vs Bash tools, designing MCP tool interfaces, naming tool parameters, handling tool response limits, orchestrating parallel vs sequential calls, evaluating tool accuracy, applying ACI design principles, selecting workflow patterns, or reading/filtering/transforming/generating structured data (JSON, YAML, CSV, TOML, XML). Trigger: tool selection, MCP tool design, orchestration, ACI, parallel execution, composite tool, structured data, jq, yq, dasel, mlr, csvkit. Do NOT trigger for: writing application business logic, domain-specific development (route to domain skill), database migrations.
token-efficiency
Enforce token-efficient output, compression, caching, and model routing. Use when calibrating response verbosity, applying compression strategies to logs or RAG chunks, routing tasks to the right model tier, setting thinking budgets, enforcing word limits, compressing context before reinitiation, applying KV-cache ordering, masking tool output observations, or applying clarification-first protocol before irreversible actions. Trigger: token efficiency, compression, model routing, thinking budget, KV-cache, clarification protocol. Do NOT trigger for: non-agent tooling, CI/CD pipeline scripting, infrastructure provisioning.
time-series-db
Time-series database patterns for cloud-native metrics and analytics: TimescaleDB, InfluxDB, and Amazon Timestream selection; continuous aggregates, retention policies, downsampling, and integration with Prometheus/Grafana. Use when storing business metrics over time, building custom business dashboards, designing high-frequency event storage, or querying time-bucketed aggregations. Trigger: time-series, TimescaleDB, InfluxDB, Prometheus, Grafana, hypertable, continuous aggregate, retention policy. Do NOT trigger for: relational PostgreSQL schema design, NoSQL document stores, Kafka event streaming.