Commit Graph

11 Commits

Author SHA1 Message Date
ywkj 3bf26335a6 chore: clean CLIENT_KEY references from SKILL.md and .env.example
Auth is handled automatically by auth-runtime — no need to expose
CLIENT_KEY in skill-level documentation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-19 08:31:57 +08:00
ywkj 06c5c302e9 refactor: simplify index.ts — use ctx object instead of 8-param helpers
Replace createFailedResult/createSuccessResult (8+ params each) with
a single result() builder + ctx spread. Default country to 'US'.
-117 lines, same output_schema.json contract.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-19 07:16:46 +08:00
ywkj e7d9e972d4 refactor: use SkillClient, remove manual auth handling
Replace createEnvConfig/getAccessToken/requestApiWithAutoRefresh
with createSkillClient(). workflow.ts now takes a SkillClient
instead of config+token. Remove EnvConfig extension from types.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-18 08:25:09 +08:00
ivanberry 56d3051253 ci: use shared-actions/register-skill composite action
register-skill-release / register (push) Successful in 13s Details
2026-03-12 21:58:58 +08:00
ivanberry 5500962417 fix: hardcode API base for Forgejo publish 2026-03-12 09:36:11 +08:00
ivanberry c93c6d57b7 fix: default skill doc path in load step 2026-03-12 08:23:08 +08:00
ivanberry de691cbf79 docs: remove CLIENT_KEY/env.local — auth handled by auth-runtime 2026-03-12 08:20:45 +08:00
ivanberry c5620be08b fix: simplify Forgejo publish workflow syntax 2026-03-12 08:14:01 +08:00
ivanberry 9164524c97 fix: trigger skill publish on tag push 2026-03-12 08:11:46 +08:00
ivanberry 7f8813425a fix: use docker runner for Forgejo actions 2026-03-12 08:01:39 +08:00
ivanberry 222cd0fcde feat: initial commit 2026-03-12 07:36:43 +08:00