mirror of
https://github.com/awesome-skills/code-review-skill.git
synced 2026-09-28 06:45:38 +08:00
chore: ignore install artifacts and clean SKILL.md frontmatter (#30)
- .gitignore: ignore skills-lock.json and .skills.json produced by npx skills add - SKILL.md: drop inline comments on allowed-tools (valid YAML cleanup) - README: use 'npx skills add' without --skill (root SKILL.md is auto-discovered) Rebased onto current main; the Dart/Flutter guide from #31 is preserved.
This commit is contained in:
+3
-1
@@ -24,5 +24,7 @@ build/
|
||||
.env
|
||||
.env.local
|
||||
|
||||
# npx skills / agent local install artifacts
|
||||
# Skill install artifacts (created by `npx skills add`)
|
||||
.agents/
|
||||
skills-lock.json
|
||||
.skills.json
|
||||
|
||||
@@ -336,7 +336,7 @@ code-review-skill/
|
||||
**Install with `npx skills` (Cursor, Claude Code, Codex, OpenCode, and other agents):**
|
||||
|
||||
```bash
|
||||
npx skills add awesome-skills/code-review-skill --skill code-review-skill
|
||||
npx skills add awesome-skills/code-review-skill
|
||||
```
|
||||
|
||||
The skills CLI finds `SKILL.md` at the repo root. Do not nest this skill under `skills/`.
|
||||
@@ -636,7 +636,7 @@ code-review-skill/
|
||||
**使用 `npx skills` 安装(Cursor、Claude Code、Codex、OpenCode 及其他 Agent):**
|
||||
|
||||
```bash
|
||||
npx skills add awesome-skills/code-review-skill --skill code-review-skill
|
||||
npx skills add awesome-skills/code-review-skill
|
||||
```
|
||||
|
||||
skills CLI 会发现仓库根目录的 `SKILL.md`。不要把本技能嵌套到 `skills/` 目录下。
|
||||
|
||||
Reference in New Issue
Block a user