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:
Daniel Liu
2026-09-08 23:09:45 +08:00
committed by GitHub
parent 277f479301
commit 4850184dfd
3 changed files with 7 additions and 5 deletions
+3 -1
View File
@@ -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
+2 -2
View File
@@ -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/` 目录下。
+2 -2
View File
@@ -13,8 +13,8 @@ allowed-tools:
- Read
- Grep
- Glob
- Bash # 运行 lint/test/build 命令验证代码质量
- WebFetch # 查阅最新文档和最佳实践
- Bash
- WebFetch
---
# Code Review Skill