원클릭으로
arkeon-doctor
Build, test, version-bump, and publish the arkeon npm package from main.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Build, test, version-bump, and publish the arkeon npm package from main.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Start the local development environment (embedded Postgres + Meilisearch + API) and run e2e tests.
Initialize a repo as an Arkeon knowledge base and build a knowledge graph from its documents.
Find and create relationships between entities across different spaces in the graph.
Fix a GitHub issue in an isolated worktree, test, commit, and open a PR.
Merge a GitHub PR, watch CI/CD pipeline, and check if publishable packages need a release.
Review docs for staleness after feature work. Compare each doc against the codebase, flag stale content, and update or delete.
| name | arkeon-doctor |
| description | Build, test, version-bump, and publish the arkeon npm package from main. |
| disable-model-invocation | true |
| argument-hint | ["patch|minor|major"] |
| allowed-tools | Bash(npm *, npx *, git *, gh *, node *, cat *, ls *, curl *), Read, Glob, Grep |
Build, verify, and publish the arkeon npm package. Handles the full release flow: typecheck, build, smoke test, version bump, and GitHub Release (which triggers the publish workflow).
Verify you're on the main branch and it's clean:
git status --porcelain
git branch --show-current
If not on main or working tree is dirty, stop and tell the user.
Pull latest:
git pull
Compare the current npm version against HEAD:
npm view arkeon version
git log $(git describe --tags --match 'arkeon-v*' --abbrev=0 2>/dev/null || echo HEAD~20)..HEAD --oneline
Report the published version and the commits that will be included. If there are no new commits since the last tag, tell the user there's nothing to release and stop.
Build in the correct order:
npm run build -w packages/sdk-ts
npm run build -w packages/arkeon
Both must succeed. If either fails, report the error and stop.
npm run typecheck -w packages/arkeon
Must pass cleanly. If it fails, report the errors and stop.
npm test -w packages/arkeon
Must pass. Report failures and stop if any.
Check the dist output matches expected structure:
ls -la packages/arkeon/dist/
du -sh packages/arkeon/dist/
Verify:
dist/index.js exists (~200KB)dist/server-*.js exists (~500KB)dist/explorer/ existsdist/schema/ exists with .sql filesIf any check fails, report and stop.
The $ARGUMENTS parameter controls the bump type:
patch (default if no argument): 0.3.2 -> 0.3.3minor: 0.3.2 -> 0.4.0major: 0.3.2 -> 1.0.0Read the current version from packages/arkeon/package.json and compute the next version. Report:
Ready to publish
arkeon@{next_version}
- {N} commits since {last_tag}
- Build: OK ({size} dist)
- Typecheck: OK
- Tests: OK
Ask the user to confirm before proceeding.
Create the release which triggers the publish workflow:
gh release create arkeon-v{next_version} --generate-notes --target main
Check that the GitHub Actions workflow started:
gh run list --workflow=publish.yml --limit 1
Report the run URL so the user can monitor it. Then poll until it completes:
gh run watch {run_id}
After the workflow succeeds, confirm the new version is live on npm:
npm view arkeon version
Report:
Published
arkeon@{next_version}to npm. Users can update with:arkeon update(stops running instances, installs, restarts)