full-stack-skills
AGENTS.md690 starsChanged 2 months agoApache-2.0View on GitHub
本文档为 AI 编码智能体(Claude Code、Cursor、Copilot 等)在本仓库中工作时提供指导。 面向 Claude.ai 与 Claude Code 的一组技能集合,用于处理与 Vercel 部署相关的工作。技能是经过打包的说明与脚本,用于扩展 Claude 的能力。 本仓库为全链路*阶段映射与基础技能的主入口;关联 t2ui-skills、stitch-skills、pencil-skills、tauri-skills 等。阶段与技能映射见 docs/pipeline-stage-to-skills.md,生态总览见 docs/skills-ecosystem.md。已整合 Spec Kit(speckit-)技能,见 docs/speckit-agent-skills.md。 本仓库技能路径为 skills/<组目录>/<技能名>/(例如 skills/vue-skills/vue3/、skills/threejs-skills/threejs-animation/),与 marketplace.json 中 skills[] 路径一致。 bash bash /mnt/skills/user/{skill-name}/scripts/{script}.sh [args] 技能按需加载——启动时只加载技能名称与描述。只有当智能体判断某个技能相关时,完整的 SKILL.md 才会进入上下文。为减少上下文占用: 为用户记录以下两种安装方式: Claude Code: claude.ai: 将技能加入项目知识,或将 SKILL.md 内容粘贴到对话中。 如果技能需要网络访问,提示用户在 claude.ai/admin-settings/capabilities 中添加所需域名。
In this repository5 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- openspec-apply-changeSkill
- openspec-archive-changeSkill
- openspec-exploreSkill
- openspec-proposeSkill
The file
Files
AGENTS.md
本文档为 AI 编码智能体(Claude Code、Cursor、Copilot 等)在本仓库中工作时提供指导。
仓库概览
面向 Claude.ai 与 Claude Code 的一组技能集合,用于处理与 Vercel 部署相关的工作。技能是经过打包的说明与脚本,用于扩展 Claude 的能力。
本仓库为全链路阶段映射与基础技能的主入口;关联 t2ui-skills、stitch-skills、pencil-skills、tauri-skills 等。阶段与技能映射见 docs/pipeline-stage-to-skills.md,生态总览见 docs/skills-ecosystem.md。已整合 Spec Kit(speckit-*)技能,见 docs/speckit-agent-skills.md。
创建新技能
目录结构
本仓库技能路径为 skills/<组目录>/<技能名>/(例如 skills/vue-skills/vue3/、skills/threejs-skills/threejs-animation/),与 marketplace.json 中 skills[] 路径一致。
skills/
<group>-skills/ # 组目录,如 vue-skills、tauri-skills、document-skills
{skill-name}/ # kebab-case,与 SKILL.md frontmatter name 一致
SKILL.md # 必需
examples/ # 可选
references/ # 可选
scripts/ # 可选命名规范
- 技能目录:
kebab-case(例如vercel-deploy、log-monitor) - SKILL.md:始终使用全大写,且文件名必须严格为
SKILL.md - 脚本:
kebab-case.sh(例如deploy.sh、fetch-logs.sh) - Zip 文件:必须与目录名严格一致:
{skill-name}.zip
SKILL.md 格式
---
name: {skill-name}
description: {One sentence describing when to use this skill. Include trigger phrases like "Deploy my app", "Check logs", etc.}
---
# {Skill Title}
{Brief description of what the skill does.}
## How It Works
{Numbered list explaining the skill's workflow}
## Usage
```bash
bash /mnt/skills/user/{skill-name}/scripts/{script}.sh [args]Arguments:
arg1- Description (defaults to X)
Examples: {Show 2-3 common usage patterns}
Output
{Show example output users will see}
Present Results to User
{Template for how Claude should format results when presenting to users}
Troubleshooting
{Common issues and solutions, especially network/permissions errors}
### 上下文效率最佳实践
技能按需加载——启动时只加载技能名称与描述。只有当智能体判断某个技能相关时,完整的 `SKILL.md` 才会进入上下文。为减少上下文占用:
- **将 SKILL.md 控制在 500 行以内**——详细参考资料放在单独文件中
- **描述写得具体**——帮助智能体准确判断何时激活技能
- **渐进式披露**——引用支撑文件,仅在需要时再读取
- **优先用脚本而不是内联代码**——执行脚本不会占用上下文(只有输出会占用)
- **文件引用只支持一层深度**——从 SKILL.md 直接链接到支撑文件
### 脚本要求
- 使用 `#!/bin/bash` shebang
- 使用 `set -e` 实现失败即退出
- 将状态信息输出到 stderr:`echo "Message" >&2`
- 将机器可读输出(JSON)写入 stdout
- 为临时文件加入 cleanup trap
- 脚本路径引用格式为 `/mnt/skills/user/{skill-name}/scripts/{script}.sh`
### 创建 Zip 包
创建或更新技能后:
```bash
cd skills
zip -r {skill-name}.zip {skill-name}/终端用户安装
为用户记录以下两种安装方式:
Claude Code:
cp -r skills/{skill-name} ~/.claude/skills/claude.ai: 将技能加入项目知识,或将 SKILL.md 内容粘贴到对话中。
如果技能需要网络访问,提示用户在 claude.ai/admin-settings/capabilities 中添加所需域名。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

