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
{{ message }}
Repository navigation
Commit bf5541c
Browse filesBrowse the repository at this point in the historyBrowse files
feat: ship builtin skills to customers via postinstall (#279)
* feat: ship builtin skills to ~/.altimate/builtin/ via postinstall
## What
All skills (dbt, SQL, training, compliance) are now available to customers
with zero setup. On every `npm install`/upgrade:
- `postinstall.mjs` copies skills from the package to `~/.altimate/builtin/`
- The directory is fully wiped and replaced — each release owns it entirely
- Skill discovery adds a dedicated scan of `~/.altimate/builtin/` in `skill.ts`
## Skills shipped (22 total)
**dbt:** dbt-develop, dbt-test, dbt-docs, dbt-troubleshoot, dbt-analyze,
generate-tests, model-scaffold, yaml-config, incremental-logic,
medallion-patterns, impact-analysis
**SQL:** sql-review, sql-translate, query-optimize, lineage-diff,
schema-migration, pii-audit, cost-report
**Training:** teach, train, training-status
**Viz:** data-viz
## Design
- `~/.altimate/builtin/` — release-managed, never user-edited
- `~/.altimate/skills/` — user-owned, never touched by installs
- `.opencode/skills/` (project) — highest priority, overrides everything
- Reference files (layer-patterns.md, etc.) ship alongside SKILL.md and
are read on-demand by the agent — same as user-installed skills
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
* refactor: use .opencode/skills/ as source instead of src/skill/builtin/
Skills already live in .opencode/skills/ — no need to duplicate them into
src/. publish.ts now copies from ../../.opencode/skills (repo root) into
the dist package. src/skill/builtin/ removed entirely.
Add 6 new skills to .opencode/skills/ that were missing:
generate-tests, model-scaffold, yaml-config, medallion-patterns,
incremental-logic, impact-analysis
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
* chore: remove unused new skills (generate-tests, model-scaffold, yaml-config, medallion-patterns, incremental-logic, impact-analysis)
* revert: restore tool/skill.ts to match main (cosmetic comment was unintended)
* test: verify ~/.altimate/builtin/ skill discovery and project override
* chore: protect postinstall.mjs and .opencode/skills/ from upstream overwrites
---------
Co-authored-by: Claude Sonnet 4.6 <[email protected]>
0 commit comments