You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: support Claude Code plugin and gh skill install (#2)
* claude plugin
* feat: enable gh skill install via auto-release workflow
Add a release workflow that reads .claude-plugin/plugin.json#version on
main pushes, creates a matching vX.Y.Z tag if missing, and runs
`gh skill publish --tag` so `gh skill install daleseo/korean-skills`
serves the latest tagged release. Document the gh CLI install paths
and the four install routes (gh tagged, gh pinned, npx main HEAD,
Claude Code plugin) in both READMEs.
* ci: add validate-skills workflow
Run two validation jobs on every PR and main push so spec violations
are caught before they reach the auto-publish path. The first job
runs `skills-ref validate` against each SKILL.md using the official
agentskills/agentskills tool. The second runs `gh skill publish
--dry-run` to gate publishability.
* ci: consolidate validate jobs into ci.yml with consistent naming
Merge the two jobs from validate-skills.yml into ci.yml so all PR
gates live in one workflow. Rename jobs into two clear groups:
validate-spec / validate-publish for static checks, install-local /
install-remote for end-to-end install smoke tests. The split file
made sense for Apollo's larger marketplace but is overkill for a
3-skill single-plugin repo.
* docs: make Korean the default README, refresh AGENTS.md
- Swap README files so the default README.md is Korean and English
moves to README_EN.md, matching the predominantly Korean audience.
Cross-language links updated in both files.
- Update AGENTS.md repo structure tree, README split note, and pattern
update checklist to reflect the new filenames.
- Replace the stale CI/CD section (referenced the old `test` /
`test-remote` jobs) with the current four-job setup and the
release.yml summary.
- Add a Releasing / Versioning section explaining which version field
drives the release tag, how individual SKILL.md versions stay
independent, and which fields are advisory only.
- Delete grammar-checker.skill, a 10KB zip artifact left over from
the old single-file distribution format.
@@ -117,16 +117,33 @@ Each skill follows the Agent Skills specification:
117
117
118
118
## CI/CD
119
119
120
-
GitHub Actions workflow (`.github/workflows/ci.yml`) has two jobs:
120
+
`.github/workflows/ci.yml` runs on every PR and main push with four jobs:
121
121
122
-
-**`test`** (all branches): Installs all skills from the local repository (`npx skills add . --yes`) and verifies each skill has `SKILL.md` in `.agents/skills/`
123
-
-**`test-remote`** (main branch only): Installs all skills from GitHub (`npx skills add daleseo/korean-skills --yes`) and verifies installation in `.agents/skills/`
122
+
-**`validate-spec`**: Validates each `SKILL.md` against the Agent Skills spec using `skills-ref validate` (from `agentskills/agentskills`).
123
+
-**`validate-publish`**: Runs `gh skill publish --dry-run` to check publishability before main merges.
124
+
-**`install-local`**: Installs all skills from the local working tree via `npx skills add "$GITHUB_WORKSPACE" --yes` and verifies each skill landed in `.agents/skills/`.
125
+
-**`install-remote`** (main only): Installs from the public GitHub source (`npx skills add daleseo/korean-skills --yes`) as a post-merge smoke test.
124
126
125
-
Both jobs check that at least one skill was installed successfully.
127
+
`.github/workflows/release.yml` runs on main pushes only. It reads `.claude-plugin/plugin.json#version`, creates a matching `vX.Y.Z` tag if missing, and runs `gh skill publish --tag` so `gh skill install daleseo/korean-skills --pin vX.Y.Z` resolves.
128
+
129
+
## Releasing / Versioning
130
+
131
+
Three places carry version numbers, but only one matters operationally.
132
+
133
+
**`.claude-plugin/plugin.json#version`** — the source of truth. Bump it whenever you touch `skills/`, `.claude-plugin/`, or `.github/workflows/release.yml`. Effects:
134
+
135
+
- The release workflow tags a matching `vX.Y.Z` on the next main push, which is what `gh skill install daleseo/korean-skills --pin vX.Y.Z` and `claude plugin update` resolve to.
136
+
- New installs always pull the latest content regardless.
137
+
138
+
Use semver: patch for fixes/wording, minor for new skills or pattern additions, major when removing or renaming a skill.
139
+
140
+
**Individual `SKILL.md#version`** (e.g. humanizer 1.6.0) — independent of the plugin version. Track skill-internal evolution there. The plugin version doesn't have to follow the highest skill version — they're separate trackers, like Apollo's pattern (apollo-skills plugin at 1.2.x while internal skills are at various 1.x).
141
+
142
+
**`marketplace.json#metadata.version` and `marketplace.json#plugins[0].version`** — keep aligned with `plugin.json#version` for tidiness, but no automation reads them today. CI does not enforce sync.
126
143
127
144
## Documentation Pattern
128
145
129
-
**README Split**: README.md (English) and README_KO.md (Korean) are separate files with identical structure:
146
+
**README Split**: README.md (Korean, default) and README_EN.md (English) are separate files with identical structure. Korean is the default since most users of this repo are Korean speakers:
130
147
131
148
- Link to other language at top
132
149
- Quick Start with installation commands
@@ -136,7 +153,7 @@ Both jobs check that at least one skill was installed successfully.
0 commit comments