refactor(skills): rename migrate → purchasely-migrate#12
Conversation
Aligns the migration skill with the purchasely-integrate / purchasely-review / purchasely-debug naming so it disambiguates when installed via the skills CLI. The slash command stays /purchasely:migrate (already namespaced by the plugin prefix) and now follows the integrate command pattern (reads skills/purchasely-migrate/SKILL.md). Updated the build-gate guard path, the v5-api-reference prose, and the CLAUDE.md skill count (3 → 4). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
| Filename | Overview |
|---|---|
| CHANGELOG.md | Adds a [Unreleased] Changed entry documenting the migrate → purchasely-migrate rename with a migration note for consumers; correct and complete. |
| CLAUDE.md | skills.sh validation line updated to 'Found 4 skills' but the agentskill.sh section still says 'three skills' in two places, the JSON example response shows only 3 entries with found:3, and the public-pages checklist omits the new purchasely-migrate URL. |
| purchasely/commands/migrate.md | Refactored to follow the integrate command pattern; now correctly reads skills/purchasely-migrate/SKILL.md; matches integrate.md exactly. |
| purchasely/skills/purchasely-migrate/SKILL.md | Renamed from skills/migrate/SKILL.md; only the frontmatter name field changed (migrate → purchasely-migrate); all skill content preserved. |
| scripts/guard-known-bad-snippets.mjs | Build-gate path updated to purchasely/skills/purchasely-migrate/SKILL.md; guard logic unchanged and correct. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
A["/purchasely:migrate command"] --> B["commands/migrate.md"]
B --> C["Read skills/purchasely-migrate/SKILL.md"]
C --> D["purchasely-migrate skill executes migration steps"]
E["guard-known-bad-snippets.mjs"] --> F{"All 4 SKILL.md paths present?"}
F -->|Yes| G["npm test passes ✓"]
F -->|No| H["Build gate fails ✗"]
I["skills CLI / agentskill.sh"] --> J["Discovers purchasely/skills/**/SKILL.md"]
J --> K["purchasely-debug\npurchasely-integrate\npurchasely-migrate\npurchasely-review"]
style D fill:#d4edda
style G fill:#d4edda
style H fill:#f8d7da
Comments Outside Diff (1)
-
CLAUDE.md, line 33-88 (link)Stale "three skills" references in the agentskill.sh / skills.sh publishing sections
The PR correctly updated the
skills.shvalidation line (now "Found 4 skills"), but the surroundingagentskill.shandskills.shprose was not updated. Line 33 still reads "The three skills are published on agentskill.sh", line 82 reads "The same three skills are also installable through theskillsCLI", the JSON response example (lines 56-62) shows only threeslugentries with"found": 3, and the public-pages checklist (lines 75-78) is missinghttps://agentskill.sh/@purchasely/purchasely-migrate. Anyone following this guide for a re-scan or to verify the published skill list will see misleading counts.Prompt To Fix With AI
This is a comment left during a code review. Path: CLAUDE.md Line: 33-88 Comment: **Stale "three skills" references in the agentskill.sh / skills.sh publishing sections** The PR correctly updated the `skills.sh` validation line (now "Found 4 skills"), but the surrounding `agentskill.sh` and `skills.sh` prose was not updated. Line 33 still reads "The three skills are published on agentskill.sh", line 82 reads "The same three skills are also installable through the `skills` CLI", the JSON response example (lines 56-62) shows only three `slug` entries with `"found": 3`, and the public-pages checklist (lines 75-78) is missing `https://agentskill.sh/@purchasely/purchasely-migrate`. Anyone following this guide for a re-scan or to verify the published skill list will see misleading counts. How can I resolve this? If you propose a fix, please make it concise.
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Prompt To Fix All With AI
Fix the following 1 code review issue. Work through them one at a time, proposing concise fixes.
---
### Issue 1 of 1
CLAUDE.md:33-88
**Stale "three skills" references in the agentskill.sh / skills.sh publishing sections**
The PR correctly updated the `skills.sh` validation line (now "Found 4 skills"), but the surrounding `agentskill.sh` and `skills.sh` prose was not updated. Line 33 still reads "The three skills are published on agentskill.sh", line 82 reads "The same three skills are also installable through the `skills` CLI", the JSON response example (lines 56-62) shows only three `slug` entries with `"found": 3`, and the public-pages checklist (lines 75-78) is missing `https://agentskill.sh/@purchasely/purchasely-migrate`. Anyone following this guide for a re-scan or to verify the published skill list will see misleading counts.
Reviews (1): Last reviewed commit: "refactor(skills): rename migrate skill t..." | Re-trigger Greptile
… bump plugin to 2.0.0-rc.2 The published native tag is 6.0.0-rc.1 (SemVer dot), not 6.0.0-rc1. iOS and Android are both on 6.0.0-rc.1 (Android libs.versions.toml confirmed; iOS aligned). Corrected across all references, skills and pinning snippets. Plugin bumped 2.0.0-rc1 → 2.0.0-rc.2. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Renames the
migrateskill topurchasely-migrate, consistent withpurchasely-integrate/purchasely-review/purchasely-debug(disambiguation for theskillsCLI).skills/migrate/→skills/purchasely-migrate/(git mv,name: purchasely-migrate).commands/migrate.mdkeeps/purchasely:migrateand now follows the integrate command pattern (readsskills/purchasely-migrate/SKILL.md).v5-api-reference.mdprose, and CLAUDE.md (Found 3 skills→Found 4 skills).[Unreleased]entry added.Validated:
npm test(guard) passes,skills add . --listreports the 4purchasely-*skills, markdownlint (excl. MD060) clean, all skill reference links resolve.🤖 Generated with Claude Code