.claude/skills/forge/SKILL.md
# Forge Concept Commands Forge concept commands decouple codev from direct `gh` CLI calls. Each GitHub operation is routed through a configurable external command. ## Concepts | Concept | Env Vars | Description | |---------|----------|-------------| | `issue-view` | `CODEV_ISSUE_ID` | Fetch issue details (JSON) | | `pr-list` | — | List open PRs (JSON array) | | `issue-list` | — | List issues (JSON array) | | `issue-comment` | `CODEV_ISSUE_ID`, `CODEV_COMMENT_BODY` | Post a comment on an issue
npx skillsauth add cluesmith/codev .claude/skills/forgeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Forge concept commands decouple codev from direct gh CLI calls. Each GitHub operation is routed through a configurable external command.
| Concept | Env Vars | Description |
|---------|----------|-------------|
| issue-view | CODEV_ISSUE_ID | Fetch issue details (JSON) |
| pr-list | — | List open PRs (JSON array) |
| issue-list | — | List issues (JSON array) |
| issue-comment | CODEV_ISSUE_ID, CODEV_COMMENT_BODY | Post a comment on an issue |
| pr-exists | CODEV_BRANCH_NAME | Check if a PR exists for a branch |
| recently-closed | CODEV_SINCE_DATE (optional) | List recently closed issues |
| recently-merged | CODEV_SINCE_DATE (optional) | List recently merged PRs |
| user-identity | — | Get current user's handle (plain text) |
| team-activity | CODEV_GRAPHQL_QUERY | Run a batched GraphQL query |
| on-it-timestamps | CODEV_ISSUE_NUMBERS, CODEV_GRAPHQL_QUERY, CODEV_REPO_OWNER, CODEV_REPO_NAME | Get "on it" comment timestamps |
| pr-merge | CODEV_PR_NUMBER | Merge a PR |
| pr-search | CODEV_SEARCH_QUERY | Search PRs (JSON array) |
| pr-view | CODEV_PR_NUMBER, CODEV_INCLUDE_COMMENTS (optional) | View PR details (JSON or text) |
| pr-diff | CODEV_PR_NUMBER, CODEV_DIFF_NAME_ONLY (optional) | Get PR diff |
| auth-status | — | Check forge authentication status |
In .codev/config.json:
{
"forge": {
"provider": "gitlab",
"issue-comment": "my-custom-script $CODEV_ISSUE_ID"
}
}
forge sectionprovider is set)gh CLI)Built-in presets: github (default), gitlab (via glab), gitea (via tea).
Note: Non-GitHub presets are best-effort. Output schemas may differ from GitHub's JSON contracts. Non-conforming JSON returns null — consumers handle this gracefully. Override individual concepts if a preset doesn't match your CLI version.
Set a concept to null to disable it:
{
"forge": {
"team-activity": null
}
}
Run codev doctor to see forge concept status, provider, and validation results.
packages/codev/src/lib/forge.tspackages/codev/src/lib/forge-contracts.tscodev/specs/589-non-github-repository-support.mdtools
Protocol orchestrator CLI — drives SPIR, ASPIR, AIR, TICK, and BUGFIX protocols via a state machine. ALWAYS check this skill before running any `porch` command. Use when you need to check project status, approve gates, signal phase completion, or manage protocol state. Also use when a builder asks about gate approvals or phase transitions.
development
AI image generation via Gemini. Use when the user wants to generate, create, or make an image, or when you need to create visual assets like logos, diagrams, or illustrations. Requires GEMINI_API_KEY or GOOGLE_API_KEY.
tools
AI consultation CLI — query Gemini, Codex, or Claude for reviews and analysis. ALWAYS check this skill before running any `consult` command. Use when reviewing specs, plans, implementations, or PRs with external models, running parallel 3-way reviews (cmap), or checking consultation stats. The `-m` model flag is always required except for `consult stats`.
tools
Codev project management CLI — init, adopt, update, and doctor commands. Check this skill before running any `codev` command (except `consult`, `porch`, or `afx` which have their own skills). Use when setting up new projects, adding codev to existing repos, updating framework files, or diagnosing missing dependencies.