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

auto-spec汽车规格

Agent Skill

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

总安装

1,523

周安装

61

GitHub Stars

1

下载量

493
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:auto-spec(汽车规格)
来源仓库:https://github.com/yuanyan/auto-spec
安装命令:
openclaw skills install auto-spec
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install auto-spec

简介

auto-spec 是规范驱动的开发助手,帮助编写精确的行为规范或逆向工程规范。

  • 适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。
  • 可辅助在编码前编写规范或从现有代码理解改进,提升开发规范性。
  • 安装命令:openclaw skills install auto-spec;需确认权限范围和维护状态。
  • 注意是否会触发联网、命令执行或文件读写操作,建议结合原始 README 核验具体用法。

SKILL.md

name
auto-spec
description
>

Auto-Spec: Spec-Driven Development Assistant

Core Belief

Code is the single source of truth.

Specs are inputs — they help humans align intent and assist AI coding — not deliverables. Specs don't need to stay in sync with code permanently; regenerate from code when needed.

Three hard constraints follow:

  1. No bidirectional binding, no CI drift detection — that's life support for dead docs, expensive and fragile.
  2. Specs are disposable — once landed, mission complete; code and tests take over as truth.
  3. To see current state, reverse-engineer from code — don't maintain a static doc that can't keep up.

Therefore, specs generated by this skill are presented in the conversation by default, not written to files. Only persist to disk when the user explicitly asks, and treat it as a temporary snapshot, not a long-lived document.


Two Modes

Mode A: Forward Spec (Spec before code)

The user has an idea or requirement but hasn't written code yet. Turn vague intent into precise behavioral contracts, then (if requested) implement according to the spec.

Typical triggers:

  • "I want to add feature X, help me think it through first"
  • "Write me a spec"
  • "Align on intent before coding"

Mode B: Reverse Spec (Spec from code)

Code already exists. The user wants to understand what it does, or wants to establish a baseline before making changes. Extract behavioral contracts from the code.

Typical triggers:

  • "What does this code actually do, walk me through it"
  • "Reverse-engineer a spec from the code"
  • "Help me understand this module's behavior"

Spec Format

A spec is not prose — it's a structured behavioral contract. Granularity is chosen automatically based on scope:

Granularity Rules

User's scopeGranularityExample
A single function/methodFunction-levelBehavior of CalculateQuota
A single file/classModule-levelResponsibilities and interface of quota_service.go
A feature/capabilityFeature-levelComplete behavior of "quota management"
A system/serviceSystem-levelOverall behavior of "order system"

Don't ask the user to specify granularity — infer from context. When uncertain, go one level higher than what the user described, then drill down into key parts within the spec.

Spec Template

Each spec contains the following sections (trim as needed — don't pad with empty content just to fill the template):

# [Name] Spec

## Overview
One or two sentences explaining what this is and why it exists.

## Glossary
Only needed when domain-specific terms or easily confused concepts are present.
- **TermA**: definition

## Behavioral Contracts

### Scenario 1: [Scenario Name]
- **Precondition**: what state the system is in
- **Input**: what triggers this behavior
- **Expected behavior**: what the system should do
- **Postcondition**: what state the system should be in afterward
- **Error cases**: what happens if something goes wrong

### Scenario 2: ...

## Constraints & Boundaries
- Performance constraints, security constraints, business rules, etc.
- Explicitly stating "what we don't do" is equally important

## Dependencies
- What external systems/modules/interfaces this depends on
- Who depends on this

## Open Questions
Items that need further confirmation (if any).

Writing Principles

  1. Precision over completeness: one clear contract beats ten vague descriptions.
  2. Show examples: abstract rule + concrete example = best understanding. Give input→output examples for key behaviors.
  3. Mark uncertainty: use [TBD] for things you're not sure about — don't fabricate.
  4. Behavior, not implementation: describe *what*, not *how*. Implementation details belong in code.
  5. Error paths matter as much as happy paths: many bugs hide in scenarios that weren't thought through.

Workflow

Forward Spec Workflow

  1. Understand intent

- Read the user's requirement description - If the requirement is vague, ask targeted questions (no more than 3 at a time) - Focus on: edge cases, error scenarios, interactions with existing systems

  1. Research context

- Read relevant code to understand the existing system's structure and conventions - Find the "integration point" for the new feature — which existing modules will it interact with? - Note existing patterns and conventions; the spec should be consistent with them

  1. Generate spec

- Generate the spec using the template, present it directly in the conversation - Choose granularity automatically - Give concrete examples for key behaviors

  1. Iterate and confirm

- Ask the user to review the spec - Revise based on feedback until the user is satisfied - Mark all [TBD] items

  1. (Optional) Implement according to spec

- After the user confirms, implement if requested - Reference scenario numbers from the spec in code comments to maintain traceability

Reverse Spec Workflow

  1. Locate the code

- Confirm which code the user wants to reverse-engineer - Read the relevant source files

  1. Extract behavior

- Extract actual behavior from code, not guessed intent - Distinguish "what the code actually does" from "what the code might have intended to do" - Flag suspicious behavior (things that look like bugs or legacy logic)

  1. Generate spec

- Generate the spec using the template, present it directly in the conversation - Use [NOTE] to flag anything that doesn't match expectations

  1. Deliver

- Present the spec, call out points worth attention - If the user plans to modify the code afterward, this spec serves as the pre-change baseline


Important Notes

  • Don't over-engineer specs: a spec is a thinking tool, not a bureaucratic process. If a function's behavior can be explained in one sentence, use one sentence.
  • Don't proactively save files: unless the user explicitly asks, specs are presented in the conversation only.
  • Don't repeat what the code already expresses clearly: if the code itself is the best documentation (e.g., clear type signatures, well-named functions), the spec should focus on what code can't express — intent, constraints, edge cases.
  • Stay honest: say "I'm not sure" when you're not sure. Don't fabricate plausible-sounding but unverified contracts.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

展示第三方安全扫描或审计结果

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

平台分布

OpenClaw

92.29%
按下载量换算455

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

可疑

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills