当前位置: 首页 > Skill >

Skill Architect

Skill Architect

1.0.0 2026.11.13 浏览:791
获取Skill文件查看使用说明
作者:江舟许可证:
本文目录展开

Skill Architect

A skill for creating new AI skills that are structurally sound — not just syntactically correct. Works with any AI coding tool — Claude Code, Google Antigravity, Cursor, Windsurf, Cline, GitHub Copilot, and more.

Most skill-creation guides focus on format: how to write SKILL.md, what goes in frontmatter, how to organize directories. This skill focuses on design: before writing anything, we figure out what shape the skill's internal logic should take, using Google's 5 Agent Skill Design Patterns as a framework.

The core loop:

  1. Understand the intent — what does the user want this skill to do?
  2. Interview — ask targeted questions to reveal the underlying structure
  3. Classify — propose one or more patterns with reasoning, confirm with user
  4. Scaffold — build the SKILL.md from the appropriate pattern template
  5. Test & iterate — follow the standard skill-creator eval loop (or test manually in your environment)

Phase 1: Capture Intent

Start by understanding the user's goal at a high level. Extract from context first — they may have already described what they want.

Ask only what you don't already know:

  • What should this skill enable Claude to do?
  • When should it trigger? What kinds of user requests?
  • What does a good output look like?

Don't ask all of these at once if the answer is already clear from context. Keep it conversational.

When the user suggests a specific pattern: Treat it as a data point, not a decision. Acknowledge what they said ("I see you're thinking Pipeline"), then proceed to Phase 2 as normal. Do NOT accept the pattern and skip to scaffolding — the interview must still happen. The user's pattern suggestion often reveals useful information about how they think about their problem, but the final recommendation should come from the diagnostic questions, not from the user's self-diagnosis.

Transition rule: If the user has already described their goal and pain point clearly, move directly to Phase 2. Do not ask follow-up questions about domain, use case type, or other details that don't affect pattern selection. A description like "I want a skill to help me write client proposals — I always spend too much time organizing the structure" is enough to enter Phase 2 immediately.

Phase 2: Pattern Interview

This is the key step that distinguishes this skill from a generic skill creator.

Before proposing any pattern, ask targeted questions to understand the skill's internal logic. The goal is to reveal how the skill needs to work — not just what it produces.

Critical rules:

  • Ask one question at a time. Wait for the answer before asking the next. This is a conversation, not a form.
  • Stop as soon as you have enough information to classify — usually 2 questions is enough, rarely more than 3.
  • Only ask questions that affect pattern selection. Questions about existing examples, preferred formats, or style details belong in Phase 4 (scaffolding), not here.
  • Never re-confirm information the user already stated explicitly. If the user said "each step needs my confirmation before continuing", do not ask "so you need confirmation between steps?" — treat it as established fact and ask questions that reveal new information. Restating what the user said as a question wastes your 2-3 question budget and signals you weren't listening.
  • Before asking your first question, mentally inventory which pattern signals are already present in the user's description. Common signals:
    • "consistent format every time" / "same structure" → Generator
    • "first... then... next... finally" + "must confirm before continuing" → Pipeline
    • "compare" / "analyze against" / "improvement recommendations" → Reviewer
    • "need to clarify first" / "different for each client" → Inversion
    • Mentions a specific API, SDK, or framework → Tool Wrapper Then only ask questions that would resolve the remaining ambiguity — don't ask about signals you've already identified.

The core diagnostic questions (pick the most relevant, one at a time):

  1. Does this skill need to collect information from the user before it can do anything useful? Or can it act immediately on what's given?
  2. Does the output need to follow a consistent structure every single time — same sections, same format?
  3. Is there a sequence of steps where step N genuinely can't start until step N-1 is complete and confirmed?
  4. Is this about wrapping a specific tool, API, or framework — making sure Claude uses it correctly?
  5. Does this skill need to evaluate, compare, or critique something — whether against a defined standard, a baseline, or another input (e.g., competitor analysis, gap analysis)?

If an answer is ambiguous, ask one clarifying follow-up before moving on — but stay focused on pattern classification, not implementation details.

Common misclassifications to watch for:

  • "Has steps" ≠ Pipeline. Pipeline requires that each step has a gate — the previous step must be confirmed correct before the next can begin, because errors propagate. If the steps can run automatically without intermediate confirmation, it's probably Generator or Inversion → Generator.
  • "Asks the user questions" ≠ Inversion. Inversion means the skill cannot act at all without first collecting specific information. If the skill can produce a reasonable default and then refine, that's not Inversion.
  • "Checks quality" ≠ Reviewer. Reviewer means evaluating against a defined, external standard or checklist. If the skill just does a general quality pass, that's normal good behavior, not the Reviewer pattern.

These questions do NOT belong in Phase 2 — they are Phase 4 (scaffolding) questions:

  • What output format do you want? (Markdown, Word, PPTX...)
  • Do you have an existing example or template I can reference?
  • What domain or industry is this for?
  • What tone or style do you prefer?
  • How long should the output be?

Asking these in Phase 2 delays pattern selection without adding any useful signal. Save them for after the pattern is confirmed.

Phase 3: Pattern Classification

Once you have enough information, propose a pattern (or combination). Always explain your reasoning — don't just name a pattern.

Read references/patterns.md for the full definition of each pattern, their decision criteria, combination rules, and common mistakes.

The 5 patterns:

Pattern Core question it answers
Tool Wrapper How should Claude use this specific API/framework correctly?
Generator How do we ensure consistent, template-driven output every time?
Reviewer How do we evaluate something against a defined standard?
Inversion What information must we collect before we can act?
Pipeline What sequence of steps must happen in order, with gates?

How to present your recommendation:

Based on what you've described, I'd suggest: [Pattern(s)]

Here's my reasoning:
- [Specific thing the user said] → suggests [Pattern] because [why]
- [Another signal] → rules out [Pattern] because [why]

This means the skill will [brief description of how it will behave].

Does this match what you had in mind, or does something feel off?

When your recommendation differs from the user's original suggestion, add a comparison block that explains the difference concretely:

You mentioned [Pattern X]. Here's how it compares to what I'm suggesting:

- [Pattern X] is designed for [core characteristic] — e.g., [example scenario where X is the right fit]
- Your skill [specific observation from interview] — which is closer to [Pattern Y] because [reason]
- The practical difference: with [X], your skill would [behavior]. With [Y], it would [behavior].

If you still prefer [X], I can make it work — here's what that version would look like: [brief sketch].

This isn't about proving the user wrong. It's about giving them the information to make an informed choice. Always offer to proceed with their original suggestion if they prefer.

Give the user a clear path to push back. Common responses:

  • "Yes, that makes sense" → proceed to scaffolding
  • "I'm not sure" → offer to walk through the pattern definitions together
  • "I think it's more like X" → update your recommendation and re-explain

Patterns can and should be combined. See references/patterns.md for combination guidance.

Phase 4: Scaffold the Skill

Once the pattern is confirmed, load the corresponding template from references/templates/ and use it as the structural backbone for the SKILL.md.

Template files:

  • references/templates/tool-wrapper.md
  • references/templates/generator.md
  • references/templates/reviewer.md
  • references/templates/inversion.md
  • references/templates/pipeline.md
  • references/templates/combined.md — for multi-pattern skills

Fill in the template with everything you've learned in the interview. Don't leave placeholder text — by this point you should have enough to write a real first draft.

Always produce the full directory structure, not just SKILL.md. Each pattern has required companion files:

skill-name/
├── SKILL.md              ← flow logic only; references companion files by name
├── references/           ← rules, standards, checklists — things that change independently
└── assets/               ← output skeletons, templates the skill fills in

Pattern-specific structure requirements:

  • Generator: SKILL.md must reference references/style-guide.md (tone, voice, formatting rules) and assets/[output]-template.md (the structural skeleton). Never inline the template or style rules into SKILL.md — they must live in separate files so they can be updated without touching the skill logic.
  • Reviewer: SKILL.md must reference references/review-checklist.md. The checklist lives outside SKILL.md so the review criteria can evolve independently.
  • Tool Wrapper: SKILL.md must reference references/conventions.md. The API/framework rules belong in the reference file.
  • Pipeline: Load step-specific references at the step that needs them, not all upfront. Each step should name the file it loads.
  • Inversion: No required companion files, but if it hands off to Generator or Pipeline, those patterns' structure requirements apply to the downstream stage.

This separation is the whole point of the pattern system — when a team changes their changelog format or updates their review checklist, they edit one file, not the skill itself.

Quality checks before output: Every pattern that produces output (Generator, Pipeline's final step, Inversion → Generator's generation phase) must include an explicit quality check step before presenting results to the user. Use a checkbox-style checklist that verifies:

  • Every template section is present and filled (no placeholders remain)
  • Tone and formatting match the style guide
  • Content is internally consistent (no contradictions between sections)
  • All user-provided inputs are reflected in the output

This step catches structural gaps before the user sees the result. Do not skip it — even for simple skills.

SKILL.md content rule: SKILL.md describes what to do and when to load which file. It does not contain the actual templates, checklists, or domain rules. If you find yourself writing a long table of rules or a markdown template inside SKILL.md, stop and move it to a companion file.

Keep SKILL.md under 500 lines. The description field is the primary triggering mechanism — write it to describe both what the skill does AND the specific contexts where it should fire. Make it slightly "pushy" so the skill doesn't undertrigger.

Phase 5: Test & Iterate

Follow the standard skill-creator eval loop:

  1. Write 2–3 realistic test prompts — the kind of thing a real user would actually type
  2. Share them with the user for confirmation before running
  3. Run the prompts and evaluate results qualitatively
  4. Improve based on feedback, repeat

Environment-specific guidance:

  • Claude Code / Cowork: spawn subagents for parallel runs, use the eval viewer, run quantitative assertions.
  • Claude.ai: run test cases manually one at a time, present results inline, ask for feedback conversationally. Skip quantitative benchmarking.
  • Cursor / Windsurf / Cline / other tools: run test prompts manually in a new conversation or session. Paste the generated SKILL.md as custom instructions, then test with realistic prompts. Evaluate results conversationally and iterate.

After the skill is in good shape, offer to optimize the description field for better triggering accuracy.

Principles

The pattern is a scaffold, not a cage. Use it to establish the skill's structural logic, then adapt to the user's actual needs. A skill that perfectly fits a template but doesn't solve the problem is worthless.

Explain the why behind every design choice. When you write the SKILL.md, don't just give instructions — explain to the future Claude why each step matters. Smart models follow reasoning better than rules.

The interview is the most important part. Rushing to pattern selection without enough information leads to wrong pattern choices, which leads to skills that look correct but behave oddly. The 2–3 questions in Phase 2 are load-bearing — don't skip them.

Combinations are normal. Real-world skills often need two patterns. Inversion → Generator is especially common. Pipeline + Reviewer is another. Don't feel pressure to pick exactly one.

推荐文章

更多
PHP时间戳与日期字符串相互转换方法详解

本文介绍PHP中时间数值(Unix时间戳)与日期字符串之间的相互转换方法。通过strtotime和date函数,实现将当前时间、指定日期转换为时间戳,以及将时间戳格式化为可读的日期时间字符串,并提供相关在线计算工具推荐。

2025.11.30 1,039
PHP日期转时间戳时区偏差怎么解决

在 PHP 中将日期字符串转换为时间戳时,若未显式指定时区,默认使用脚本配置的 date.timezone 或系统时区。当服务器时区与业务逻辑预期(如 UTC )不一致时,会产生偏差。解决核心是确保输入字符串携带明确时区信息,或在转换前统一设置时区上下文。

2026.10.24 1,033
JavaScript中利用replace结合正则实现replaceAll效果

JavaScript原生仅支持replace()进行单次或全局替换,缺乏类似Java的replaceAll()便捷方法。本文总结四种在JS中实现全量替换的方案:使用带g标志的正则、带gm标志的正则、扩展String原型以及split后join。通过对比代码示例,展示各方法的实现细节与适用场景,帮助开发者根据需求选择最优解。

2025.04.29 1,020
PHP跨域配置:怎么安全地允许指定域名而非使用通配符

在 PHP 中安全地允许指定域名跨域,核心是解析请求头中的 Origin ,验证其是否在白名单内,然后动态设置 Access-Control-Allow-Origin 响应头。不要使用通配符 * ,也不要硬编码单一域名。

2025.03.29 1,020
PHP实现基础文件上传:HTML表单与$_FILES处理流程

在 HTML 表单中设置 enctype="multipart/form-data" ,并在 PHP 后端通过 $_FILES 数组接收文件,调用 move_uploaded_file() 将临时文件移动到目标目录即可完成上传。

2026.09.07 1,019
OpenAI的Jalapeno芯片未落地,教你分辨300兆瓦算力消息

OpenAI计划在SB Energy租赁的数据中心部署约300兆瓦自研Jalapeno推理芯片,但目前双方仍处于洽谈阶段,交易细节与上线时间表均未公布。本文带你按报道原文核实项目所处阶段,厘清芯片发布、电力功率与实际推理算力的边界,并将融资意向与签约、开工、投运节点分开追踪,避免误将规划容量计入现有算力。

2026.12.02 1,016
Skill 文件
  • SKILL.md
    • Skill Architect
    • Phase 1: Capture Intent
    • Phase 2: Pattern Interview
    • Phase 3: Pattern Classification
    • Phase 4: Scaffold the Skill
    • Phase 5: Test & Iterate
    • Principles
  • 项目或源文件

相关 Skill

更多
ABI-to-MCP: The Web3 Skill Architect ABI-to-MCP: The Web3 Skill Architect 通过读取/写入函数与ERC20智能合约交互
service-qa-coach service-qa-coach Review support quality for chat, email, phone, social DM, or marketplace service teams. Use when a team needs a QA scorecard, failure-mode analysis, coaching plan, calibration checklist, or service-improvement brief without live ticketing, CRM, or contact-center system access.
高中数学作业批改助手 高中数学作业批改助手 >图片识别 直接读取学生手写作答照片,识别公式、符号、步骤 🧮 自动推导 根据题目自动生成参考答案和评分细则,无需教师预设 📊 逐步给分 每个关键步骤独立评分,体现过程分 📝 结构化报告 输出含识别内容、参考答案、逐步评分、改进建议的完整报告 🗂 批量批改 支持一次性批改多道题,最终汇总得分表
Vibration Analysis Vibration Analysis 分析来自CMS趋势、RMS/峰值、频谱及SCADA报警的风机传动链(主轴、齿轮箱、发电机)振动数据。
Traditional Bone Tool Making Basics Traditional Bone Tool Making Basics Use when you need custom, durable, repairable tools like awls, needles, scrapers, harpoons, or fishing hooks made from local animal bones or antlers and comm...