Skip to content

fix: skill name validation and README AI integration improvement - #5

Merged
wxy merged 2 commits into
mainfrom
fix/skill-names-and-readme
Mar 31, 2026
Merged

fix: skill name validation and README AI integration improvement#5
wxy merged 2 commits into
mainfrom
fix/skill-names-and-readme

Conversation

@wxy

@wxy wxy commented Mar 31, 2026

Copy link
Copy Markdown
Owner

fix: Skill name validation fix and README AI integration improvement

Summary

This PR fixes VS Code skill validation errors caused by _ prefixes in name: fields,
restores lost file content, and improves the README installation documentation.

Problem

  1. VS Code skill validation rejects name: values starting with _ — only lowercase letters, numbers, and hyphens are allowed
  2. _file-output-guard/SKILL.md was accidentally emptied
  3. _context-ack/SKILL.md had a stray ````skill code fence wrapping the frontmatter, breaking name parsing
  4. README lacked an AI-assisted one-sentence installation option

Solution

  • All 14 SKILL.md files: Removed _ from name: field (e.g., _git-commitgit-commit)
    • Directory names retain _ prefix for filesystem-level namespace isolation
    • name: and directory name intentionally differ: directory = filesystem isolation, name = VS Code registration
  • _file-output-guard/SKILL.md: Restored full content from original specification
  • _context-ack/SKILL.md: Removed misplaced ````skill code fence wrapper
  • _evolution-core/SKILL.md: Updated naming convention docs to reflect the new name: vs directory distinction
  • README.md: Added "Option 3: AI Integration" — one-sentence prompt for AI-assisted CLI install; clarified direct file copying is unsupported

Testing

  • Verified all name: fields pass VS Code validation pattern (no _ prefix)
  • Verified directory structure unchanged
  • Verified _file-output-guard/SKILL.md content restored correctly

Checklist

  • All skill name: fields use valid VS Code format
  • Directory names unchanged (backward compatible with CLI)
  • _file-output-guard content restored
  • _context-ack frontmatter parsing fixed
  • README documents AI integration pathway
  • No breaking changes to CLI behavior

🤖 Generated by pr-creator skill

wxy added 2 commits March 31, 2026 17:29
…tent

## Changes
- Remove `_` prefix from `name:` field in all 14 SKILL.md files
  - VS Code skill validation only allows lowercase letters, numbers, and hyphens
  - Directory names retain `_` prefix for filesystem-level namespace isolation
  - `name:` field and directory name now intentionally differ
- Restore empty `_file-output-guard/SKILL.md` content (file was blank)
- Remove misplaced ````skill` code fence wrapping from `_context-ack/SKILL.md`
- Update naming convention docs in `_evolution-core/SKILL.md` to reflect new rule

## Technical Details
- All skill `name:` fields: `_xxx` → `xxx` (e.g., `_git-commit` → `git-commit`)
- Directory structure unchanged: `.agent/skills/_git-commit/SKILL.md` etc.
- Internal prose references to `_skill-name` kept as-is (they describe directory paths, not VS Code registration names)

docs(readme): add AI integration one-sentence setup option

## Changes
- Add "Option 3: AI Integration (One-sentence setup)" to Installation section
- Provides Chinese and English one-sentence prompts for AI-assisted install
- AI reads this README, understands the skill system, and runs `npx @xingyu.wang/evoskills init`

---

🤖 Generated by git-commit skill
…tall

## Changes
- Remove Chinese translation from one-sentence AI integration prompt
  (AI assistants understand any language, dual-language was redundant)
- Clarify that direct file copying is not supported and results in incomplete setup
- Emphasize that CLI handles all file placement, registry generation, and content protection

---

🤖 Generated by git-commit skill
@wxy
wxy merged commit d3e831a into main Mar 31, 2026
2 checks passed
@wxy
wxy deleted the fix/skill-names-and-readme branch March 31, 2026 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant