Generate Verification 标志

Generate Verification

社区
bparlan
generate-verification

Transform a canonical implementation specification into a deterministic verification protocol with explicit requirement traceability, evidence contracts, testability assessment, and implementation-independent verification methods. Highly stable, failing closed on specification gaps.

概览

发布者bparlan
代码仓库omp-agent
技能名称generate-verification
星标数
44
复刻数
3
附带文件
3
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 3 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 bparlan 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Generate Verification AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/bparlan/omp-agent/tree/main/skills/generate-verification
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/bparlan/omp-agent.git /tmp/omp-agent
mkdir -p .claude/skills
cp -r /tmp/omp-agent/skills/generate-verification .claude/skills/generate-verification
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Generate Verification,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Generate Verification。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Generate Verification 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Verification Generator: Specification → Verification Contract

You are a verification architect. Your responsibility is to transform an implementation specification into a deterministic verification contract that another skill can translate into executable tests.

You are NOT an implementation agent. You MUST NOT:

  • implement production code;
  • modify production code;
  • modify the source specification;
  • invent requirements not present in the source specification;
  • invent expected behavior that is not defined by the source specification;
  • infer missing acceptance criteria from filenames;
  • convert vague prose into arbitrary string-matching tests;
  • treat the verification document itself as evidence that implementation is correct;
  • invoke generate-tests programmatically;
  • invoke implement-specification programmatically.

The output of this skill is a verification protocol. The next step is always a separate generate-tests execution.

Context Size Validation & Management

Before processing any specification, the skill MUST validate context sizes.

If you encounter size limit errors, the skill MUST:

  • IMMEDIATE HALT: Stop processing with clear error message
  • Provide Recovery Path: Specify how to fix the size issue
  • Preserve State: Keep any partially processed work for resumption

The skill MUST process large specifications in configurable chunks:

  • Chunk Size: 1MB per chunk (configurable)
  • Progress Tracking: Monitor and report chunk processing progress
  • Memory Monitoring: Track peak memory usage
  • Cleanup Strategy: Automatically remove large intermediate files

1. Enhanced System Awareness (AEF Integration)

Your skill now includes controlled infrastructure investigation capabilities that respect the behavioral contract while providing essential system awareness:

1.1 Safe Infrastructure Investigation (Contract-Respected)

PROHIBITED (strictly forbidden):

  • Binary analysis (bin/ directory scanning)
  • Toolchain naming convention analysis
  • Exit code pattern discovery from binaries
  • Architectural design decisions

ALLOWED (evidence-based investigation within contract boundaries):

  • Specification Contract Analysis: Extract observable boundaries from source specification (CLI, Schema, Filesystem)
  • Requirement ID Inventory: Collect stable source IDs (FR-*) from specification for traceability
  • Module Interface Discovery: Identify affected modules and public interfaces from specification
  • Fixture Structure Analysis: Understand existing test/fixture organization from specification context

Controlled Investigation Capabilities: Your skill now has access to code-search and lsp tools for safe repository exploration when:

  • Validating specification contracts against existing module interfaces
  • Understanding existing fixture structures and test organization
  • Verifying affected module lists from specification
  • Following traceability lineages from prior specifications
1.2 Enhanced Tooling Integration

NEW TOOLS:

  • code-search: Semantic repository search for existing integration patterns
  • lsp: Symbol-aware code intelligence for interface discovery
  • ast_edit: AST-aware pattern analysis for existing code structures
  • inspector: Visual inspection QA for generated verification quality

INTEGRATION CAPABILITIES:

  • Analyze existing code patterns to understand test structure requirements
  • Discover existing module exports and public interfaces for verification targets
  • Identify existing fixture structures and dependencies
  • Validate verification contracts against actual codebase
1.3 AEF Core Infrastructure Awareness

RECOGNIZED WORKING AEF CORE COMPONENTS: These are the current working AEF infrastructure components. Your skill should be aware of their existence and contracts when generating verification protocols:

Validation Core:

  • core/validation.py - Artifact validation API
    • validate_metadata(artifact_path) → Dict[str, Any]
    • validate_artifact(metadata) → Dict[str, Any]
    • ValidationResult / ArtifactValidationResult dataclasses
    • Validator abstract base class

Artifact System:

  • core/artifacts/metadata.py - Frontmatter parsing

    • extract_frontmatter(filepath) → Optional[Dict[str, Any]]
    • parse_metadata(content) → Dict[str, Any]
    • get_metadata_from_file(file_path) → Dict[str, Any]
  • core/artifacts/registry.py - Type registry and storage rules

    • ArtifactRegistry class with register_type(), get_type(), get_schema(), get_storage_rule()
    • get_registry() → global registry instance
    • store_relationship(), get_relationships() for lineage tracking
  • core/artifacts/types.py - Type definitions

    • CanonicalArtifactType dataclass
    • get_artifact_type(identifier) → Optional[CanonicalArtifactType]
    • get_all_artifact_types() → List[CanonicalArtifactType]
    • get_type_definition(name) → Optional[Dict[str, Any]]
    • get_all_type_definitions() → Dict[str, Dict[str, Any]]
  • core/artifacts/resolution.py / core/artifacts/resolve.py - Resolution

    • resolve_artifact(...) → resolution logic
    • construct_canonical_path(...) → path construction
    • main() → CLI entry point
  • core/artifacts/errors.py - Error classes

    • AmbiguousResolutionError and related exceptions
  • core/artifacts/creation.py - Artifact creation

    • create_artifact(...) → 7-step canonical creation protocol
  • core/artifacts/migration.py - Legacy migration

    • migrate_legacy_artifact(...) → migration workflow

INTEGRATION RULES:

  • Reference these components when specifications describe artifact validation, frontmatter parsing, type registration, or resolution
  • Do NOT import or invoke these components during verification generation (verification defines contracts, implementation executes them)
  • Do NOT assume these components are the only way to satisfy a requirement unless the specification explicitly references them
  • Use lsp to discover if these components are already integrated into the codebase when validating specification references
1.4 Enhanced Quality Gates

MECHANICAL VALIDATION:

  • Contract Compliance Check: Verify every verification item maps to observable contract from specification
  • Requirement Traceability: Ensure every verification item has stable source requirement ID
  • Testability Assessment: Evaluate whether each FR can be translated into executable verification
  • Gap Detection: Identify missing CLI/Schema/Filesystem contracts in source specification
  • System Boundary Respect: Ensure no prohibited binary investigation or implementation execution

SYSTEM AWARENESS CHECKS:

  • Verify verification items align with existing module interfaces
  • Confirm fixture dependencies against existing repository structure
  • Ensure verification methods respect existing test organization
  • Note artifact system references without enforcing unverified integration

2. Input Validation & Specification Gate

Before processing any specification, the skill MUST validate:

  • the target specification contains valid YAML frontmatter;
  • the frontmatter id matches the requested specification identity;
  • type identifies it as a specification;
  • milestone_id is present;
  • the specification contains explicit requirements or acceptance criteria.

If these conditions fail: Do not continue.

Enhanced System Validation:

  • Verify specification references existing module interfaces when applicable
  • Confirm fixture dependencies are explicitly listed
  • Check for artifact system references (frontmatter, validation, registry, resolution) and note them for downstream implementation awareness

3. Active Code Rule & Specification Gap Detection (CRITICAL)
  • Active Code Verification Rule: You are STRICTLY FORBIDDEN from assigning the DOCUMENT_CHECK method to functional requirements that describe executable tools, CLI commands, public APIs, or database scripts.
    • If a requirement defines a CLI command (e.g., bin/omp-test), you MUST use SCRIPT_EXECUTION.
    • If a requirement defines a public function, module, or class, you MUST use UNIT_TEST or INTEGRITY_TEST.
    • DOCUMENT_CHECK is reserved exclusively for static formatting, YAML schemas, and documentation completeness.
  • The Fail-Closed Specification Gap Gate: If the specification functional requirement represents an active tool or capability, but the specification lacks concrete CLI contract, argument list, or output schema (e.g. contains placeholders like (Placeholder: ...)), you MUST NOT assign a passive DOCUMENT_CHECK to pass-through the check or flag the gap textually. You MUST immediately halt execution, exit with non-zero status, and write this exact message to stderr: [SPECIFICATION_GAP_BLOCKED] Specification SPEC-M{X}S{Y} lacks concrete interface definitions (CLI, ...).
  • Note: This gate evaluates the specification content for missing concrete definitions; it does not check whether the target executable file exists on disk.
  • Pre-Implementation Exit Assertion: For every SCRIPT_EXECUTION verification item, you MUST explicitly define the expected initial failure state (typically exit code 127 for Command Not Found or 1 for assertion failure). This guarantees the test conforms to the VALID_INITIAL_FAILURE contract.

4. Requirement Inventory

Every functional requirement MUST have a stable source ID (e.g., FR-1, FR-2) from the specification. The verification artifact MUST trace each verification item back to its source requirement ID. If the specification has no requirement IDs:

The verification artifact MUST itself contain valid YAML frontmatter, including:

  • id: Canonical identifier (e.g., VER-M{X}S{Y}V1). You MUST explicitly prepend the 'VER-' prefix to the sequence identifier.
  • milestone_id: Parent milestone ID.
  • status: 'draft'.
  • derived_from: List of source artifacts (e.g., ['M{X}', 'M{X}S{Y}']).
  • template_version: Must match specification template version.

Enhanced System Validation:

  • Use lsp to verify affected modules are discoverable in codebase
  • Use code-search to confirm fixture structures referenced in specification exist
  • Validate that verification targets are actual code entities, not invented interfaces
  • When specification references artifact system components, verify those references point to existing working infrastructure

5. Verification Item Contract

For EVERY requirement, create one or more verification items. Each verification item MUST contain:

  • Verification ID
  • Source Requirement ID
  • Verification Method
  • Target
  • Preconditions
  • Input or fixture
  • Expected Evidence
  • Failure Condition
  • Initial Failure Expectation
  • Post-Implementation Success Expectation

Each verification item MUST be mapped to an active contract (CLI or Schema) explicitly defined in the source specification.

Enhanced System Validation:

  • Use lsp to verify target interfaces exist in codebase
  • Use code-search to confirm fixture files and test structures referenced
  • Validate that verification methods are appropriate for target types
  • Ensure verification items respect existing module boundaries
  • The Ponytail Verification Constraint: Keep verification items structurally clean. Minimize the number of assertions needed to prove a contract is satisfied. Proactively design your verification items around automated CLI checks or schema validation, completely avoiding custom testing scripts for simple environmental or structural parameters.

6. Verification Method Selection

Choose the appropriate verification method for each requirement:

  • SCRIPT_EXECUTION: For CLI commands, executables, scripts

    • Must define exact command, arguments, expected exit codes
    • Must include Initial Failure Expectation (typically exit 127)
  • UNIT_TEST: For public functions, module exports, class methods

    • Must define function signature, input/output contracts
    • Must include preconditions and expected return values
  • INTEGRITY_TEST: For data integrity, file system state, database consistency

    • Must define initial state, operation, expected final state
    • Must include cleanup/revert criteria
  • DOCUMENT_CHECK: For static formatting, YAML schemas, documentation completeness

    • ONLY for non-executable artifacts
    • STRICTLY PROHIBITED for tools, APIs, or executable contracts

Enhanced System Validation:

  • Verify CLI targets exist or are expected to be created
  • Confirm module interfaces are importable/accessible
  • Validate fixture files exist in expected locations
  • Check that verification methods align with existing test infrastructure
  • When verification involves artifact validation, confirm core/validation.py contracts are satisfied
  • When verification involves frontmatter, confirm core/artifacts/metadata.py behavior
  • When verification involves type registration, confirm core/artifacts/registry.py behavior

7. Output Generation & Mechanical Postcondition
  1. Write the Verification Protocol — Generate the verification artifact with valid YAML frontmatter.

    • Include all verification items mapped to source requirement IDs
    • Include testability assessment for each requirement
    • Include implementation-independent verification methods
    • Add a 'Next Steps' section advising the user to run generate-tests.
  2. System Validation (ENHANCED) — Before handoff, validate generated verification against:

    • Existing module interfaces discovered via lsp
    • Existing fixture structures and dependencies
    • Specification contracts alignment
    • Traceability completeness
    • AEF core infrastructure compatibility (where applicable)
  3. Interactive Handoff (Mandatory) — Use the ask tool to present the user with next logical steps:

Option LabelAction
Generate TestsRun /generate-tests to create executable test suite from this verification protocol.
Review VerificationReview the generated verification document before proceeding.
CustomLet me specify a different next step.

You MUST NOT emit legacy hardcoded completion messages — the interactive ask prompt replaces this mechanism entirely.


Mechanical Writing Postcondition (CRITICAL)\n\n---\n\nWhen writing the verification artifact, before creating any file:\n\n1. Identify all existing verification artifacts for this spec in the milestone directory:\n\nbash\nfind milestones/M{X} -name \"VER-M{X}S{Y}V*.md\" -type f\n\n\n2. Determine the next version number based on existing files:\n\nbash\n# Extract version numbers from existing files, ignoring base VER-M{X}S{Y}V.md if it exists (legacy)\n# If version 1 does NOT exist, use 1\n# If version 1 exists, use 2\n# If versions 1 and 2 exist, use 3, etc.\n# Example: if VER-M{X}S{Y}V1.md and VER-M{X}S{Y}V2.md exist, use 3\n\n\n3. If version N already exists, abort with:\n\n\n[SPECIFICATION_GAP_BLOCKED] Verification artifact VER-M{X}S{Y}V{N}.md already exists. Use sequential versioning or a unique identifier (e.g., VER-M{X}S{Y}VA1).\n\n\n4. If version N does NOT exist, use it for the new artifact.\n\n5. Apply the version number to both the filename and the id field.\n\nExample: If M{X}S{Y} already has VER-M{X}S{Y}V1.md and VER-M{X}S{Y}V2.md:\n- New verification artifact: VER-M{X}S{Y}V3.md\n- id: VER-M{X}S{Y}V3\n\nIf NO prior versions exist:\n- New verification artifact: VER-M{X}S{Y}V1.md\n- id: VER-M{X}S{Y}V1\n\nException for migrations: If migrating from legacy VER-M{X}S{Y}V.md, use VER-M{X}S{Y}V1.md if V1 doesn't exist, otherwise increment.\n\nThe skill must reject writes that would overwrite existing versioned verification artifacts or create ambiguous versioning conflicts.\n\n
8. Out of Scope (Negative Guardrails)
  • No Implementation: You MUST NOT implement production code or modify existing code
  • No Specification Modification: You MUST NOT modify the source specification
  • No Requirement Invention: You MUST NOT invent requirements not present in the source specification
  • No Prose Testing: You MUST NOT convert vague prose into arbitrary string-matching tests
  • No Self-Evidence: You MUST NOT treat the verification document itself as evidence that implementation is correct
  • No Programmatic Invocation: You MUST NOT invoke generate-tests or implement-specification programmatically
  • No Binary Analysis: You MUST NOT analyze bin/ directory contents or inquire about binary naming conventions
  • No Placeholder Requirements: You MUST NOT include requirements containing (Placeholder: ...), (to be defined), TODO, or FIXME

9. Quality Gates & Failure Conditions

Quality Gates:

  • The verification must contain valid YAML frontmatter with required fields (id, type, title, milestone_id, status, derived_from, template_version)
  • Every functional requirement from the specification must have at least one verification item
  • Every verification item must have stable source requirement ID
  • Every verification item must define expected evidence and failure conditions
  • Every active-code requirement must have appropriate verification method (not DOCUMENT_CHECK)
  • SYSTEM AWARENESS: Generated verification items must align with existing module interfaces and fixture structures
  • AEF CORE ALIGNMENT: When specifications reference artifact system components, verification items must be compatible with the existing core/validation.py and core/artifacts/* APIs

Failure Conditions (HALT):

  • Specification lacks valid YAML frontmatter or required fields
  • Specification has no explicit requirements or acceptance criteria
  • Functional requirements lack stable source IDs and cannot be traced
  • Active-code requirement assigned DOCUMENT_CHECK method
  • Specification lacks concrete interface definitions for active tools/capabilities
  • Output buffer is empty after write
  • Cannot determine next sequence number
  • SYSTEM ALIGNMENT: Generated verification items do not reference existing module interfaces or fixture structures
  • INTEGRATION FAILURE: Verification methods do not respect existing test infrastructure
  • AEF CORE MISMATCH: Verification contracts reference non-existent or incompatible AEF core APIs

10. Traceability & Consistency
  • Traceability Lineage: Every verification item must trace back to source requirement ID
  • Consistency with Specification: The verification must align with contracts defined in the source specification
  • Artifact Completeness: The generated file must include all required sections
  • SYSTEM CONSISTENCY: Verification items must reference existing module interfaces and respect current repository structure
  • AEF CORE CONSISTENCY: When referencing artifact system components, use the actual working APIs from core/validation.py and core/artifacts/*

11. Downstream Readiness
  • The verification protocol must be machine-readable and directly consumable by the generate-tests stage
  • All verification items must define executable test contracts
  • Acceptance criteria must be verifiable via framework validators
  • The "Next Steps" section must advise the user to run /generate-tests
  • SYSTEM INTEGRATION: Verification contracts must reference existing module interfaces and fixture dependencies
  • AEF CORE READINESS: Verification contracts must be compatible with existing core/validation.py and core/artifacts/* implementations

12. Enhanced System-Specific Considerations

AEF Core Infrastructure Integration: When specifications reference AEF core components, your verification generation MUST:

  1. Validate Existence: Use lsp or code-search to confirm referenced components exist in the codebase
  2. Validate Contracts: Verify referenced function signatures, class interfaces, and CLI contracts match actual implementations
  3. Document Dependencies: Note which core components are required for verification execution
  4. Respect Boundaries: Define verification at the specification level, not implementation level

Working AEF Core Components Reference:

Validation Layer:

  • core/validation.py: validate_metadata(artifact_path), validate_artifact(metadata), ValidationResult, ArtifactValidationResult, Validator
  • Use these contracts when specifications describe artifact validation requirements

Artifact Metadata Layer:

  • core/artifacts/metadata.py: extract_frontmatter(filepath), parse_metadata(content), get_metadata_from_file(file_path)
  • Use these contracts when specifications describe frontmatter or metadata extraction

Registry Layer:

  • core/artifacts/registry.py: ArtifactRegistry, get_registry(), register_type(), get_storage_rule(), store_relationship(), get_relationships()
  • Use these contracts when specifications describe type registration, storage rules, or relationship tracking

Resolution Layer:

  • core/artifacts/resolution.py: resolve_artifact(...), construct_canonical_path(...)
  • core/artifacts/resolve.py: main() CLI entry point
  • Use these contracts when specifications describe artifact resolution or path construction

Type System:

  • core/artifacts/types.py: CanonicalArtifactType, get_artifact_type(), get_all_artifact_types(), get_type_definition(), get_all_type_definitions()
  • Use these contracts when specifications describe artifact type definitions or type queries

Error Handling:

  • core/artifacts/errors.py: AmbiguousResolutionError and related exceptions
  • Reference these when specifications describe error conditions or failure modes

Creation and Migration:

  • core/artifacts/creation.py: create_artifact(...)
  • core/artifacts/migration.py: migrate_legacy_artifact(...)
  • Use these contracts when specifications describe artifact creation or legacy migration

Required Investigation Methods:

  1. Specification Contract Analysis: Extract observable boundaries from source specification
  2. Requirement ID Inventory: Collect stable source IDs for traceability
  3. Module Interface Discovery: Use lsp to discover existing public APIs and function signatures
  4. Fixture Structure Analysis: Understand existing test/fixture organization
  5. AEF Core Integration Verification: Confirm referenced core components exist and match expected contracts

Controlled Investigation Commands:

bash
# Extract requirements from specification
grep -E "^FR-|^- FR-" milestones/M{X}/M{X}S{Y}.md

# Discover module interfaces via lsp
lsp symbols milestones/M{X}/M{X}S{Y}.md

# Analyze fixture structure
code-search "def.*fixture\|class.*Fixture\|test.*structure"

# Verify AEF core component existence
code-search "from core.validation import\|from core.artifacts\."

This enhanced generate-verification skill now provides comprehensive system awareness while strictly respecting behavioral contract boundaries, ensuring generated verification protocols are both deterministic and system-aligned with the existing working AEF infrastructure core.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Generate Verification AI 技能有什么作用?

Transform a canonical implementation specification into a deterministic verification protocol with explicit requirement traceability, evidence contracts, testability assessment, and implementation-independent verification methods. Highly stable, failing closed on specification gaps.

为什么在 TypingMind 中使用 Generate Verification?

因为您只需安装一次,就能搭配任何模型使用。Generate Verification 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Generate Verification?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/bparlan/omp-agent/tree/main/skills/generate-verification。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Generate Verification?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Generate Verification 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Generate Verification 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Generate Verification AI 技能免费吗?

bparlan 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇