Agent Skills Specification

website·Indexed 32 days ago

https://pengzhanbo.cn/

A simple, open format for providing AI agents with new capabilities and specialized knowledge. Agent Skills consist of folders containing instructions, scripts, and resources that agents can discover and use to complete tasks more accurately and efficiently. The documentation covers the format specification, directory structure, integration methods, and design patterns such as Tool Wrapper and Pipeline.

Tokens
268.6K
Snippets
1.2K
Records
1.7K
Agent score
86%

What's inside Agent Skills

  1. Overview of the Interceptor (Filter) Design Pattern

    The Interceptor (Filter) pattern is a structural design pattern used to dynamically add pre-processing (e.g., validation, logging) and post-processing logic to a request handling flow. It decouples cross-cutting concerns from the core business logic by intercepting requests and responses through a pluggable filter chain.

    Key components include:

    • Filter: Independent modules that perform specific interception tasks (e.g., authentication).
    • Filter Chain: Manages the ordered execution of filters and controls the flow of the request.
    • Target: The core business logic or API handler.
    • Filter Manager: (Optional) Responsible for creating and assembling the filter chain.
  2. Overview of Agent Skills

    Agent Skills are organized collections of instructions, scripts, and resource folders that allow an AI agent to dynamically discover and load domain-specific expertise. Instead of creating a unique agent for every use case, developers can package procedural knowledge into composable resources that transform a general-purpose agent into a specialized one. Agent Skills are designed as a cross-platform portable open standard.
  3. Overview of Cargo package manager

    Cargo is the official package manager for Rust, installed automatically via rustup. It provides a comprehensive toolset for creating, building, testing, running, and deploying Rust projects.
  4. Overview of Joi data validation

    Joi is a JavaScript data validation library developed by the Hapi.js team. It allows developers to create declarative object schemas to describe and validate data structures in both Node.js and browser environments. Common use cases include API request validation, configuration file checking, form/user input validation, and database model validation.
  5. Overview of chokidar file monitoring

    chokidar is a cross-platform, efficient file monitoring library for Node.js. It is preferred over native fs.watch and fs.watchFile because it provides more reliable event triggering (accurate filenames on macOS, no duplicate notifications), categorizes changes as add/change/unlink instead of generic renames, and supports atomic writes and chunked write detection. It provides full support for symbolic links and consistent recursive monitoring with customizable depth.
  6. Overview of View Transitions API

    The View Transitions API is a Web standard that provides a declarative way to create smooth transitions between different DOM states. It simplifies complex animations by automatically capturing snapshots of the old and new states and animating between them, offering better performance than manual JavaScript implementations.
  7. Overview of eruda mobile debugger

    eruda is a console for browser debugging on mobile devices. It injects a panel into the webpage that simulates a browser's developer tools, allowing developers to inspect elements, monitor network requests, and view log outputs directly on a mobile device.
  8. Overview of Ajv JSON Schema Validator

    Ajv (Another JSON Schema Validator) is a high-performance Node.js library used to validate data against JSON Schema (supporting Draft-06, Draft-07, and 2019-09) and JSON Type Definition (JTD). It improves performance by compiling schemas into efficient JavaScript validation functions.
  9. Overview of lowdb

    lowdb is a lightweight local JSON database that uses a JSON file as its persistence medium. It allows data manipulation via native JavaScript APIs without requiring an external database service. It is ideal for small tools, CLI applications (config files, temporary storage), and Electron desktop apps (user settings).
  10. Overview of Axios features

    Axios is a Promise-based HTTP client library designed for both the browser and Node.js. Key features include:

    • Support for Promise API
    • Request and response interception
    • Automatic serialization of request bodies to JSON, Multipart/FormData, and URL encoded forms
    • Automatic JSON data transformation
    • Request cancellation and timeout handling
    • Support for nested query parameter serialization
    • XSRF protection in the client
    • Support for FormData and Blob (including Node.js)
    • Request progress tracking for both browser and Node.js
  11. Overview of picomatch pattern matching

    picomatch is a high-performance JavaScript library for global pattern matching. It supports standard and extended Bash wildcard features, including brace expansion, extended wildcards, POSIX character sets, and regular expressions. It is commonly used for checking if a file path matches a specific pattern or for filtering/excluding files from a list based on patterns.
  12. Overview of Rust primitive types

    Primitive types in Rust are minimal atomic types that cannot be further decomposed into other types. They include:

    • Numeric Types:
      • Signed integers: i8, i16, i32, i64, isize
      • Unsigned integers: u8, u16, u32, u64, usize
    • Strings: String literals and string slices (&str).
    • Boolean: true and false.
    • Character: Represents a single Unicode character, stored as 4 bytes.
    • Unit Type: Represented as (), and its only value is also ().