Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问clear审计未展示

buck2-rule-basicsBuck2 规则基础知识

Agent Skill

buck2-rule-basics 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

734

周安装

30

GitHub Stars

公开资料未说明

下载量

238
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:buck2-rule-basics(Buck2 规则基础知识)
来源仓库:https://github.com/microck/ordinary-claude-skills
仓库路径:skills/buck2-rule-basics
安装命令:
npx skills add microck/ordinary-claude-skills --skill "buck2-rule-basics"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add microck/ordinary-claude-skills --skill "buck2-rule-basics"

简介

提供 Buck2 构建系统的规则基础知识查询与技能发现功能。

  • 适合在 Codex、Claude 等宿主环境中进行开发辅助和工具集成。
  • 通过 npx 命令安装,支持动态添加 AI 代理所需技能模块。
  • 需具备 GitHub 访问权限,并注意技能仓库的兼容性与更新频率。
  • 建议核实原始 README 中的具体用法,避免误用或依赖过期 API。

SKILL.md

name
buck2-rule-basics
description
Guide users through writing their first Buck2 rule to learn fundamental concepts including rules, actions, targets, configurations, analysis, and select(). Use this skill when users want to learn Buck2 basics hands-on or need help understanding rule writing.

@nolint

Buck2 Rule Basics - Interactive Tutorial

Overview

This is an interactive, step-by-step tutorial that teaches Buck2 fundamentals through hands-on practice. You'll guide users through writing a simple text processing rule that converts text to uppercase, explaining core concepts as they encounter them.

Reference Materials

This skill includes additional reference documentation that you can use to answer deeper questions:

  • references/concepts.md - Deep dive into Buck2 core concepts including:

- The Buck2 build model (load, configuration, analysis, execution phases) - Targets in depth (unconfigured vs configured, cells, dependencies) - Artifacts (source vs build artifacts, bound vs unbound) - Actions (properties, caching, inputs/outputs) - Providers (built-in and custom, provider propagation) - Configurations (platforms, select() resolution, multi-platform builds) - Analysis phase details - Build graph structure and queries (uquery, cquery, aquery)

  • references/advanced_patterns.md - Production-ready patterns including:

- Custom providers (library with transitive headers) - Transitive dependencies (collection patterns, transitive sets/tsets) - Toolchain dependencies (defining and using toolchains) - Multiple outputs (output directories, sub-targets) - Command line building (complex commands, conditional arguments) - Configuration-dependent rules - Testing rules (test runners, test data)

When to use these references:

  • User asks "how does X work in Buck2?" → Check concepts.md
  • User asks "what's the best way to do Y?" → Check advanced_patterns.md
  • User wants to go beyond the tutorial → Direct them to these files
  • User encounters advanced concepts → Read relevant sections to explain

Always read from these files when users ask questions that go beyond the basic tutorial content.

Critical: Interactive Teaching Approach

DO NOT dump all content at once! This is an interactive tutorial. Follow these rules:

1. Always Start by Assessing Current State

When the skill launches, FIRST check what the user has already done:

  • Check if tutorial directory exists and what files are present
  • Read existing files to understand their progress
  • Determine which step they're on (or if starting fresh)
  • Ask the user if they want to start from scratch or continue

2. Present One Step at a Time

  • Introduce ONE concept/step
  • Implement the code for that step
  • Test it together
  • Explain what happened
  • Show file changes: After each step, summarize what files were created/modified
  • Remind about editor: Tell users they can open the files in their editor to see the changes
  • STOP and wait for user confirmation to continue

3. Use AskUserQuestion Between Major Steps

After completing each major step (1-8), ask the user:

  • Do they understand the concept?
  • Are they ready to move to the next step?
  • Do they want to explore more about the current topic?

4. Be Adaptive

  • If user seems confused, provide more examples
  • If they're advanced, offer to skip basic explanations
  • If they want to experiment, encourage it and help debug
  • If they ask questions, answer them before moving forward

5. Track Progress Visually

Use TodoWrite to show:

  • Which steps are completed ✓
  • Current step (in progress)
  • Upcoming steps
  • This helps users see the journey

Important: Use System Buck2 Command

This tutorial uses the system buck2 command, NOT ./buck2.py.

  • Use: buck2 build, buck2 test, buck2 cquery, etc.
  • Do NOT use: ./buck2.py (that's for Buck2 development/self-bootstrap)

This ensures the tutorial works for all users with Buck2 installed.

Tutorial Structure

The tutorial has 8 progressive steps:

Step 0: Setup

Create a new directory for the tutorial and navigate into it:

Run this:

mkdir 'buck2-tutorial'
cd buck2-tutorial

All following steps will be done in this directory.

Step 1: Create Minimal Rule Stub - Returns empty DefaultInfo() Step 2: Add Source File Attribute - Accept input files Step 3: Declare Output Artifact - Promise to produce output (will error) Step 4: Create an Action - Actually produce the output Step 5: Understanding Targets - Unconfigured vs Configured Step 6: Add Configuration Support - Use select() for platform-specific behavior Step 7: Add Dependencies - Make rules compose Step 8: Rules vs Macros - Understand the difference

Step-by-Step Implementation Guide

Initial Setup (Always Do First)

# 1. Determine working directory
# 2. Check if user has existing tutorial files
# 3. Create todo list showing all 8 steps
# 4. Ask user if they want to start fresh or continue

Create todo list:

TodoWrite with 8 items (all pending initially)

Check existing state:

- Does `uppercase.bzl` exist?
- Does `BUCK` exist?
- Does `input.txt` exist?
- If yes, read them to determine current step

Ask user:

AskUserQuestion:
- "Start from scratch (will backup existing files)"
- "Continue from where I left off"
- "Review a specific step"

Step 1: Create the Minimal Rule Stub

Goal: Get the simplest possible Buck2 rule working.

What to do:

  1. Create uppercase.bzl with minimal implementation
  2. Create BUCK file with target definition
  3. Build it with buck2 build
  4. Observe success (with warning about no outputs)

Code to create:

uppercase.bzl:

# uppercase.bzl

def _uppercase_impl(ctx: AnalysisContext) -> list[Provider]:
    """Rule implementation function - called during analysis phase."""
    return [DefaultInfo()]

uppercase = rule(
    impl = _uppercase_impl,
    attrs = {},
)

BUCK:

load(":uppercase.bzl", "uppercase")

uppercase(name = "hello")

Testing:

buck2 build :hello
# Expected: SUCCESS with warning "target does not have any outputs"

Key concepts to explain AFTER successful build:

  • Rule: Defined with rule() function
  • Implementation function: Takes AnalysisContext, returns Provider list
  • Analysis phase: This runs during planning, not execution
  • DefaultInfo provider: Minimum provider every rule must return

Before moving on:

AskUserQuestion:
  question: "Ready to move to Step 2 where we'll accept input files?"
  options:
    - "Yes, let's continue"
    - "Explain these concepts more"
    - "Let me experiment first"

Step 2: Add Source File Attribute

Goal: Make the rule accept an input file.

What to do:

  1. Update uppercase.bzl to add src attribute
  2. Update BUCK to pass a source file
  3. Create input.txt test file
  4. Build again

Update uppercase.bzl:

def _uppercase_impl(ctx: AnalysisContext) -> list[Provider]:
    # Access the source file attribute
    src = ctx.attrs.src  # This is an Artifact

    return [DefaultInfo()]

uppercase = rule(
    impl = _uppercase_impl,
    attrs = {
        "src": attrs.source(),  # Declares this rule accepts a source file
    },
)

Update BUCK:

load(":uppercase.bzl", "uppercase")

uppercase(
    name = "hello",
    src = "input.txt",
)

Create input.txt:

hello world

Testing:

buck2 build :hello
# Expected: SUCCESS (still no outputs, but accepts input now)

Key concepts to explain:

  • Attributes: Defined in attrs={}, accessed via ctx.attrs
  • attrs.source(): Declares an attribute accepting a source file
  • Artifact: Represents a file (input or output)

Before moving on:

AskUserQuestion:
  question: "Ready for Step 3 where we'll declare an output file?"
  options:
    - "Yes, continue"
    - "I have questions about attributes"

Step 3: Declare Output Artifact

Goal: Declare that we'll produce an output (will cause expected error).

What to do:

  1. Update implementation to declare output
  2. Return it in DefaultInfo
  3. Build and expect failure
  4. Explain why it fails (declared but not produced)

Update uppercase.bzl implementation:

def _uppercase_impl(ctx: AnalysisContext) -> list[Provider]:
    src = ctx.attrs.src

    # Declare an output artifact
    output = ctx.actions.declare_output("result.txt")

    # Return it as the default output
    return [DefaultInfo(default_output = output)]

Testing:

buck2 build :hello
# Expected: ERROR - "Artifact must be bound by now"

Explain the error: This error is expected and good! We declared an output but haven't created an action to produce it. Buck2 is telling us: "You promised an output, but didn't say how to make it!"

Key concepts to explain:

  • ctx.actions.declare_output(): Declares an artifact that will be produced
  • default_output: The main output users get when building
  • Declaration vs Production: We declared it exists, but haven't created it

yet

Before moving on:

AskUserQuestion:
  question: "This error is expected! Ready for Step 4 where we'll fix it by creating an action?"
  options:
    - "Yes, let's create the action"
    - "Why did we get this error exactly?"

Step 4: Create an Action

Goal: Actually produce the output file by running a command.

What to do:

  1. Add shell script to transform input → output
  2. Register action with ctx.actions.run()
  3. Build and see it succeed
  4. Check the output file content

Update uppercase.bzl implementation:

def _uppercase_impl(ctx: AnalysisContext) -> list[Provider]:
    src = ctx.attrs.src
    output = ctx.actions.declare_output("result.txt")

    # Create a shell script that will run
    # Use Python to uppercase the file and write to output
    script = """
python3 -c "import sys; print(open(sys.argv[1]).read().upper(), end='')" "$1" > "$2"
"""

    # Register the action with Buck2
    ctx.actions.run(
        cmd_args([
            "/bin/bash",
            "-c",
            script,
            "--",
            src,  # Input artifact
            output.as_output(),  # Output artifact
        ]),
        category = "uppercase",  # Shows in buck2 output
    )

    return [DefaultInfo(default_output = output)]

Testing:

buck2 build :hello --show-full-output
# Expected: SUCCESS with output path shown

# Check the content
cat <output-path>
# Expected: HELLO WORLD

Key concepts to explain:

  • Action: A command Buck2 will execute (bash script + Python)
  • cmd_args(): Builds command line, handles artifacts properly
  • artifact.as_output(): Marks artifact as output (Buck2 creates parent dirs)
  • ctx.actions.run(): Registers action - doesn't execute yet, just declares
  • Shell redirection: Use > in shell scripts (Buck2 doesn't support

redirect_stdout)

  • Lazy execution: Buck2 decides when/if to run based on what's needed

Before moving on:

AskUserQuestion:
  question: "Great! Your rule now works. Ready to learn about targets and configurations?"
  options:
    - "Yes, let's learn about targets"
    - "Let me try modifying the rule first"

Step 5: Understanding Targets

Goal: Understand target names, unconfigured vs configured targets.

What to do:

  1. List available targets with buck2 targets
  2. Understand the anatomy of target names
  3. Query the target in unconfigured mode (uquery)
  4. Query the target in configured mode (cquery)
  5. Compare the differences

Run commands:

# List all targets in the current package
buck2 targets :

# Expected output shows targets like:
# fbcode//buck2/buck2-tutorial:hello
# fbcode//buck2/buck2-tutorial:goodbye

Explain target name anatomy:

A full Buck2 target name has three parts:

cell//package/path:target_name
└─┬┘ └─────┬──────┘ └────┬────┘
  │        │             └─ Target name (from 'name' attribute)
  │        └─────────────── Package path (directory containing BUCK file)
  └──────────────────────── Cell name (repository root)

Examples with explanations:

  • fbcode//buck2/buck2-tutorial:hello

- Full target name with all three parts explicitly specified - Always valid and unambiguous from anywhere - Use this when referring to targets from a different cell/repository

  • //buck2/buck2-tutorial:hello

- Cell name omitted - defaults to the current repository's cell - Since we're working in the fbcode repository, // is shorthand for fbcode// - Valid when referring to any target in the same repository/cell - This is the most common form you'll see in BUCK files

  • :hello

- Cell and package path omitted - only the target name - Only valid when you're in the same directory/package - Shortest form for referring to targets in the current BUCK file - When you run buck2 build :hello from the buck2-tutorial directory, Buck2 knows you mean fbcode//buck2/buck2-tutorial:hello

Now query the targets:

# Unconfigured - shows raw attributes
buck2 uquery :hello --output-attribute=src

# Configured - shows with platform config applied
buck2 cquery :hello --output-attribute=src

Key concepts to explain:

Unconfigured Target (//path:name):

  • Raw definition from BUCK file
  • select() expressions not yet resolved
  • No platform-specific settings applied

Configured Target (//path:name (cfg:...)):

  • Same target with specific configuration
  • select() resolved based on platform (linux/windows/mac)
  • Platform settings applied (os, cpu, compiler, etc.)

Show the difference:

  • Unconfigured: fbcode//buck2/buck2-tutorial:hello
  • Configured: fbcode//buck2/buck2-tutorial:hello (cfg:dev-linux-x86_64-...)

Notice the configuration suffix (cfg:...) is added when Buck2 applies platform-specific settings.

Before moving on:

AskUserQuestion:
  question: "Ready to use select() to make your rule platform-aware?"
  options:
    - "Yes, show me select()"
    - "Tell me more about configurations"

Step 6: Add Configuration Support with select()

Goal: Make the rule behave differently on different platforms.

What to do:

  1. Add output_name attribute to the rule
  2. Use select() in TARGETS to choose different names per platform
  3. Query to see select() before and after resolution
  4. Build and verify the platform-specific name is used

Update rule in uppercase.bzl:

def _uppercase_impl(ctx: AnalysisContext) -> list[Provider]:
    src = ctx.attrs.src

    # Output filename can vary by platform
    output_name = ctx.attrs.output_name
    output = ctx.actions.declare_output(output_name)

    script = """
python3 -c "import sys; print(open(sys.argv[1]).read().upper(), end='')" "$1" > "$2"
"""

    ctx.actions.run(
        cmd_args([
            "/bin/bash",
            "-c",
            script,
            "--",
            src,
            output.as_output(),
        ]),
        category = "uppercase",
    )

    return [DefaultInfo(default_output = output)]

uppercase = rule(
    impl = _uppercase_impl,
    attrs = {
        "src": attrs.source(),
        "output_name": attrs.string(default = "result.txt"),
    },
)

Update BUCK to use select():

load(":uppercase.bzl", "uppercase")

uppercase(
    name = "hello",
    src = "input.txt",
    output_name = select({
        "DEFAULT": "result.txt",
        "ovr_config//os:windows": "result_windows.txt",
        "ovr_config//os:linux": "result_linux.txt",
        "ovr_config//os:macos": "result_macos.txt",
    }),
)

Testing:

# See the raw select() expression
buck2 uquery :hello --output-attribute=output_name

# See the resolved value for your platform
buck2 cquery :hello --output-attribute=output_name

# Build with resolved configuration
buck2 build :hello --show-full-output
# Notice the output filename matches your OS!

Key concepts to explain:

  • select(): Choose values based on configuration
  • Configuration keys: Match against platform constraints (os, cpu, etc.)
  • DEFAULT: Fallback if no other branch matches
  • Resolution: During configuration phase, Buck2 picks one branch

Before moving on:

AskUserQuestion:
  question: "Ready to learn about dependencies between targets?"
  options:
    - "Yes, show me dependencies"
    - "Let me try more select() examples"

Step 7: Add Dependencies

Goal: Make rules that depend on other rules.

What to do:

  1. Add deps attribute to the rule
  2. Create a second target that depends on the first
  3. Access dependency outputs in the rule implementation
  4. Build and verify dependency graph

Update rule in uppercase.bzl:

def _uppercase_impl(ctx: AnalysisContext) -> list[Provider]:
    src = ctx.attrs.src
    output_name = ctx.attrs.output_name
    output = ctx.actions.declare_output(output_name)

    # Collect outputs from dependencies
    dep_files = []
    for dep in ctx.attrs.deps:
        dep_output = dep[DefaultInfo].default_outputs
        dep_files.extend(dep_output)

    # Build a script that concatenates dep outputs with src, then uppercases
    # This demonstrates actually USING the dependency outputs!
    # Script expects: output_path dep_file1 dep_file2 ... src_file
    # Simple Python script to concatenate files with newlines and uppercase
    script = """
python3 -c "
import sys
contents = []
for path in sys.argv[2:]:  # Skip output path, read all input files
    with open(path) as f:
        contents.append(f.read())
with open(sys.argv[1], 'w') as out:
    out.write('\\n'.join(contents).upper())
" "$@"
"""

    # Build the command: bash -c script -- output dep1 dep2 ... src
    cmd = cmd_args([
        "/bin/bash",
        "-c",
        script,
        "--",
        output.as_output(),
    ])

    # Add all dependency outputs as inputs
    for dep_file in dep_files:
        cmd.add(dep_file)

    # Add our source file last
    cmd.add(src)

    ctx.actions.run(cmd, category = "uppercase")

    return [DefaultInfo(default_output = output)]

uppercase = rule(
    impl = _uppercase_impl,
    attrs = {
        "src": attrs.source(),
        "output_name": attrs.string(default = "result.txt"),
        "deps": attrs.list(attrs.dep(), default = []),
    },
)

Add to BUCK:

# Create input2.txt first
# (You'll need to create this file)

uppercase(
    name = "goodbye",
    src = "input2.txt",
    output_name = "result2.txt",
    deps = [":hello"],  # Depends on the first target
)

Create input2.txt:

goodbye world

Testing:

# Build goodbye - will also build hello automatically
buck2 build :goodbye --show-full-output

# Check the content - it should contain BOTH files uppercased with newline between!
cat <output-path-for-goodbye>
# Expected:
# HELLO WORLD
# GOODBYE WORLD
# (concatenated hello's output + goodbye's input, separated by newline, all uppercased)

# See the dependency graph
buck2 cquery "deps(:goodbye)"

Key concepts to explain:

  • Dependencies: Other targets this target needs
  • attrs.dep(): Declares an attribute accepting another target
  • Providers: Access dependency info via dep[ProviderType]
  • Using dep outputs: We concatenate dep outputs with our src, showing real usage
  • Automatic ordering: Buck2 builds deps first, ensuring outputs are ready
  • cmd.add(): Dynamically add arguments to the command (for variable number of deps)

Before moving on:

AskUserQuestion:
  question: "Final step! Ready to learn the difference between rules and macros?"
  options:
    - "Yes, what's the difference?"
    - "Let me practice with more dependencies first"

Step 8: Rules vs Macros

Goal: Understand when to use rules vs macros.

What to do:

  1. Explain that what they created is a RULE
  2. Create a MACRO that wraps the rule
  3. Use the macro in TARGETS
  4. Build and compare

Add macro to uppercase.bzl:

# This is a MACRO - just a function that wraps the rule
def uppercase_macro(name, src, prefix = "UPPER", **kwargs):
    """
    A convenience macro that adds a prefix to the output filename.
    Macros run during the loading phase, before analysis.
    """
    uppercase(
        name = name,
        src = src,
        output_name = prefix + "_" + src,  # Add prefix
        **kwargs
    )

Add to BUCK:

uppercase_macro(
    name = "hello_macro",
    src = "input.txt",
    prefix = "PREFIXED",
)

Testing:

buck2 build :hello_macro --show-full-output
# Output filename will be: PREFIXED_input.txt

Key concepts to explain:

Rules:

  • Core Buck2 primitives declared with rule()
  • Run during analysis phase
  • Create actions that produce artifacts
  • Can be queried with buck2 cquery/uquery
  • The fundamental building block

Macros:

  • Just Starlark functions that call rules
  • Run during loading phase (before analysis)
  • Provide convenient interfaces with defaults
  • The macro itself isn't visible to queries (only underlying rule)
  • Syntactic sugar for users

When to use macros:

  • Provide convenient interfaces
  • Set common defaults
  • Generate multiple targets from one call
  • Abstract complexity for end users

Final wrap-up:

AskUserQuestion:
  question: "Congratulations! You've completed the tutorial. What would you like to do?"
  options:
    - "Review a specific concept"
    - "Try building something custom"
    - "Clean up tutorial files"
    - "See next steps for learning more"

Conversation Flow Example

Here's how a typical interactive session should flow:

User: "I want to learn Buck2"

Claude: "Great! I'll guide you through writing your first Buck2 rule. We'll build a simple text converter that uppercases files. I'll guide you step-by-step - there are 8 steps total, and we'll test after each one.

Let me check if you have any existing tutorial files..."

[Checks for files]

"Looks like you're starting fresh! I'll create a todo list to track our progress."

[Creates todo list with 8 steps]

"Ready to start with Step 1: Creating a minimal rule?"

[Waits for confirmation]

User: "Yes"

Claude: "Perfect! Step 1 is about creating the simplest possible Buck2 rule - one that does nothing but is valid.

I'll create two files:

  • uppercase.bzl - The rule definition
  • BUCK - How to use the rule

[Creates files and builds]

"Success! The build worked (with a warning about no outputs, which is expected).

Let me explain what just happened:

  • A rule is defined with the rule() function
  • The implementation function runs during the analysis phase... [explains

concepts]

Ready to move to Step 2 where we'll accept input files?"

[And continues this pattern through all 8 steps]


Tips for Teaching

  1. Celebrate small wins: "Great!", "Perfect!", "It worked!"
  2. Normalize errors: "This error is expected!", "Let's see what Buck2 is

telling us"

  1. Check understanding: Regularly ask if concepts make sense
  2. Offer choices: Let users explore or move forward
  3. Show don't tell: Build and run, then explain
  4. Connect concepts: "Remember in Step 2 when we learned about artifacts?

Here's where that matters..."

  1. Show file changes after each step: After creating or modifying files, briefly list what changed:

- Example: "I just created uppercase.bzl with the rule definition and updated BUCK to use it." - Example: "I modified uppercase.bzl to add the src attribute."

  1. Remind users about the editor: Tell users they can open the files in their editor to see the complete code:

- Example: "You can open uppercase.bzl in your editor to see the full implementation." - Example: "Feel free to open these files in your editor to review the changes."

Next Steps to Suggest After Completion

  1. Read the reference materials: This skill includes detailed documentation:

- references/concepts.md - Deep dive into Buck2 core concepts (build model, targets, artifacts, actions, providers, configurations, build graph) - references/advanced_patterns.md - Production-ready patterns (custom providers, transitive sets, toolchains, multiple outputs, testing rules)

  1. Explore Buck2's prelude: See real production rules in fbcode/buck2/prelude/
  2. Try more complex rules: Multiple outputs, custom providers, transitive dependencies
  3. Learn BXL: Buck Extension Language for build introspection
  4. Build something real: Apply what you learned to your project

Pro tip: After completing the tutorial, ask questions like "how do providers work in detail?" or "what are transitive sets?" and I'll reference the appropriate documentation to give you deeper explanations.

Handling Special Cases

User is stuck: Offer to review previous concepts or try simpler examples

User wants to skip ahead: Allow it, but ensure prerequisites are met

User found a bug: Help debug and explain what went wrong

User wants to experiment: Encourage it! Help them try variations

User is confused: Go back a step, provide more examples, or explain differently

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Antigravity

29.67%
按下载量换算71

windsurf

26.76%
按下载量换算64

Claude Code

18.74%
按下载量换算45

Codex

12.08%
按下载量换算29

Gemini CLI

7.48%
按下载量换算18

OpenCode

3.28%
按下载量换算8

安全审计

暂无安全审计结果可展示。

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills