feat(skills): lifecycle markers (issue #139) — native/external/deprecated#218
Merged
Conversation
…ated
What ships:
- scripts/lifecycle_map.yaml — single source of truth for the
lifecycle of all 34 bundled skills (native|external|deprecated
+ canonical: <upstream>)
- scripts/sync_lifecycle.py — stdlib-only Python script with
--check (CI drift detection), --apply (write changes), --diff
modes. Hand-rolled YAML parser (no PyYAML dep).
- scripts/validate_skill.py — strict mode now requires the
frontmatter key and validates the value
- cmd/sin-code/skill_cmd.go — listRow has a new Lifecycle field;
parseLifecycleFromFrontmatter extracts it from the embedded
SKILL.md (no yaml dep). The table now shows a
LIFECYCLE column with [native] / [external] / [unknown].
- skills/<cat>-skills/*/SKILL.md — all 34 migrated (28 changed,
6 already in sync)
- docs/SKILLS.md + CHANGELOG entry
Migration:
- pre-existing bug in skill-github-governance/SKILL.md (double-
quoted description, parsed as YAML literal block scalar) fixed
as a drive-by
- skills/skill-shop-tiktok SKILL.md was missing a license
directory; left for a follow-up (not a hard blocker)
CI integration:
- scripts/sync_lifecycle.py --check: exit 1 on drift
- scripts/validate_skill.py --all-bundled --strict: 34/34 pass
Refs: #139
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🏆 CEO Audit — A+ (100.0/100)
📥 Download full report (Markdown)
|
🏆 CEO Audit — A+ (100.0/100)
📥 Download full report (Markdown) Run ID:
|
Delqhi
added a commit
that referenced
this pull request
Jun 16, 2026
…n) (#221) What ships: - cmd/sin-code/internal/skillmgr/manager.go — KnownSkills() now includes the three shop skills (issue #142 acceptance criterion #2: 'sin-code skills list shows the three shop skills under their category'): - shop-cj-dropshipping -> cj-dropshipping-skill - shop-stripe -> SIN-Stripe-Bundle - shop-tiktok -> SIN-eCommerce-Scraper-Bundle - cmd/sin-code/internal/skillmgr/manager_test.go — new TestKnownSkillsHasShopEntries that asserts the three entries are present with the correct repo mapping - CHANGELOG entry What was already in place from PR #218 (issue #139): - lifecycle: external frontmatter on the three SKILL.md files - sources: frontmatter pointing to the canonical external repos - context/, frameworks/, tasks/, templates/ directories Long-term fusion strategy (per issue #142 body): - Phase 1: external canonical (current state) - Phase 2: bundled doc (done in PR #218) - Phase 3: native subcommand (deferred until shop domain matures) - Phase 4: deprecate upstream (after phase 3 is stable) Refs: #142 Co-authored-by: opencode <agent@opencode.local>
This was referenced Jun 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements the canonical lifecycle for the 34 bundled skills (issue #139). The lifecycle field is the operator-facing contract for
is this skill implemented in the binary, in a separate repo, or deprecated?.What ships
scripts/lifecycle_map.yaml— single source of truth for all 34 skillsscripts/sync_lifecycle.py— stdlib-only Python (--check, --apply, --diff)scripts/validate_skill.py— strict mode now requires the fieldcmd/sin-code/skill_cmd.go— listRow.Lifecycle + parseLifecycleFromFrontmatterdocs/SKILLS.md+ CHANGELOG entryLive verification
$ python3 scripts/sync_lifecycle.py --check all 34 skills in sync with lifecycle_map.yaml $ python3 scripts/validate_skill.py --all-bundled --strict Total: 34 skills, 0 failed. $ sin-code skill list SKILL LIFECYCLE claude-code opencode skill-process-goal [native ] — — skill-process-grill [external ] — — skill-code-build [native ] — — ...Acceptance criteria (from #139)
lifecyclefield in every bundled SKILL.md (34/34)validate_skill.py --all-bundled --strictpassessin-code skill listshows lifecycle markersscripts/lifecycle_map.yamlis the single source of truthscripts/sync_lifecycle.py(--check/--apply/--diff)Drive-by
Pre-existing YAML bug in
skill-github-governance/SKILL.md(double-quoted description, parsed as a literal block scalar) fixed in the same commit so the strict validator passes.Diffstat
Closes