Skip to content

feat: spark skill and spark hub commands, fix darwin lsof parsing (#28) - #29

Merged
qdriven merged 1 commit into
mainfrom
qdriven/repo-hub
Nov 1, 2026
Merged

qdriven merged 1 commit into
mainfrom
qdriven/repo-hub

Conversation

@qdriven

@qdriven qdriven commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Implements #28 "repo hub工具" plus a darwin bug fix.

  • spark skill list/sync — discover SKILL.md skills across project (.mimocode/, .agents/), global (~/.claude/, ~/.agents/, ~/.mimocode/), and builtin skill-pack locations; version-aware dedup; copy all to a target dir (--clear to empty first)
  • spark hub scan — scan git repos with an origin remote, enrich via GitHub API (description/language/visibility), emit innate-apps registry format (registry/apps.json); --merge preserves curated fields (title/category/status/url/description) and unmatched entries (e.g. ../base/ frameworks)
  • Fix — getCwdAndBinaryPath (macOS): strings.Lines keeps trailing newlines so lsof field labels never matched; darwin test now passes
  • Tests — BDD suites for internal/skill and internal/collection; full suite (18 packages) green
  • Docs — docs/{zh,en}/usage/{skill,hub}.md, README command tables, AGENTS.md, navigation.json, CHANGELOG

Verification

  • go build ./... clean, go vet ./... clean
  • go test ./... — all 18 packages pass
  • Smoke-tested spark skill list (32 skills found) and spark hub scan --merge against the real innate-apps directory (9 entries: 5 merged + 3 preserved + 1 new)
  • No binaries or executable files committed (text/source only)

- spark skill list/sync: discover SKILL.md dirs across project, global and
  builtin skill locations (version-aware dedup), copy to a target dir
- spark hub scan: scan git repos and emit innate-apps registry/apps.json
  format with GitHub API enrichment and curated-field merge
- fix getCwdAndBinaryPath: strings.Lines keeps trailing newlines, so the
  lsof field labels never matched (darwin test now passes)
- add github.GetRepo for single-repo metadata with GITHUB_TOKEN support
- BDD tests for internal/skill and internal/collection
- docs: zh/en usage pages, README command tables, AGENTS.md, navigation
@qdriven
qdriven merged commit 25d5128 into main Nov 1, 2026
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