Skip to content

refactor(skills): rename migratepurchasely-migrate#12

Merged
kherembourg merged 2 commits into
mainfrom
feat/rename-migrate-skill
Jun 16, 2026
Merged

refactor(skills): rename migratepurchasely-migrate#12
kherembourg merged 2 commits into
mainfrom
feat/rename-migrate-skill

Conversation

@kherembourg

Copy link
Copy Markdown
Contributor

Renames the migrate skill to purchasely-migrate, consistent with purchasely-integrate / purchasely-review / purchasely-debug (disambiguation for the skills CLI).

  • skills/migrate/skills/purchasely-migrate/ (git mv, name: purchasely-migrate).
  • commands/migrate.md keeps /purchasely:migrate and now follows the integrate command pattern (reads skills/purchasely-migrate/SKILL.md).
  • Updated the build-gate guard path, the iOS/Android v5-api-reference.md prose, and CLAUDE.md (Found 3 skillsFound 4 skills).
  • CHANGELOG [Unreleased] entry added.

Validated: npm test (guard) passes, skills add . --list reports the 4 purchasely-* skills, markdownlint (excl. MD060) clean, all skill reference links resolve.

🤖 Generated with Claude Code

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>
@greptile-apps

greptile-apps Bot commented Jun 15, 2026

Copy link
Copy Markdown

Greptile Summary

Renames the migrate skill to purchasely-migrate for naming consistency with the other three purchasely-* skills, updates the slash command to follow the integrate command pattern, and tightens the build-gate guard path accordingly.

  • skills/migrate/SKILL.md moved to skills/purchasely-migrate/SKILL.md with the frontmatter name updated; the guard script, both v5 API reference files, and commands/migrate.md are all updated in sync.
  • CLAUDE.md's skills.sh validation comment is updated to "Found 4 skills", but the agentskill.sh publishing section still says "three skills" in two places, has a JSON example capped at 3 entries, and the public-pages checklist omits the new @purchasely/purchasely-migrate URL.
  • CHANGELOG entry correctly documents the rename and provides a consumer migration path (npx skills update).

Confidence Score: 4/5

All functional changes — the skill rename, the guard path, and the command body — are correct and internally consistent. The only gap is a set of stale prose references in CLAUDE.md's agentskill.sh section that still describe three skills where there are now four.

The rename is cleanly executed across every file that matters for runtime behaviour. The sole gap is documentation: the agentskill.sh publishing section of CLAUDE.md counts three skills in two prose sentences, in the JSON sample response, and in the public-pages checklist. A developer following that section to verify or re-trigger a publish will see a misleading count, but this has no effect on the skills themselves or the build gate.

CLAUDE.md — the agentskill.sh publishing section (lines 33–78) still reflects the old three-skill inventory.

Important Files Changed

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
Loading

Comments Outside Diff (1)

  1. CLAUDE.md, line 33-88 (link)

    P2 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.

    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!

    Fix in Claude Code Fix in Cursor Fix in Codex

Fix All in Claude Code Fix All in Cursor Fix All in Codex

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>
@kherembourg kherembourg merged commit d0b3775 into main Jun 16, 2026
2 checks passed
@kherembourg kherembourg deleted the feat/rename-migrate-skill branch June 16, 2026 08:45
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