Skip to content
Back to skills

Local Ci Developer

ASecurity

Router skill for planning, issue filing, TDD, local CI, PRs, review, and outcome reporting.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentsbashgitbackend

Works with

  • claude code
  • cli
  • mcp

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned December 5, 2026

npx -y skills add Saltmu/orchestune --skill local-ci-developer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Local Ci Developer?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Local Ci Developer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/saltmu-local-ci-developer-orchestune/badge)](https://www.skillsdirectory.com/skills/saltmu-local-ci-developer-orchestune)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "local-ci-developer"
description: "Router skill for planning, issue filing, TDD, local CI, PRs, review, and outcome reporting."
---

# Local CI & TDD Developer Skill

Routes the workflow: [stages.toml](../../orchestune/workflow/stages.toml) owns stage metadata
([schema](../../docs/plans/local-ci-workflow-enforcement.md#stage-definitions-file)); references own procedures.
Stage data is guidance, never approval or executable state.

> [!NOTE]
> **User-Facing Response Language**: Instructions are English; user-facing plans, questions, and replies must use the user's preferred language.

> [!IMPORTANT]
> **No Direct GitHub Label Operations**: Never add, remove, or modify labels directly (never `gh issue edit --add-label` / `--remove-label`). `orchestune agent claim` and Orchestune manage labels; report outcomes via `orchestune agent complete` (Outcome Record in Issue comments, never PR comments).

## Execution Modes

| Item | Interactive Mode | Non-Interactive Mode (Auto-Dispatch / Existing Issue) |
| :--- | :--- | :--- |
| **Plan Approval (Step 1)** | Present plan and wait for approval | For existing Issue / Auto-Dispatch, bypass user approval after writing `<session-dir>/implementation-plan.md` |
| **Issue Creation (Step 2)** | Create via selected backend (`gh` CLI or MCP/Web) if needed | Use issue number from prompt (skip creation) |
| **Escalation** | Prompt user for decision | Run `orchestune agent complete --apply --issue <N> --result blocked --reason <REASON>` |

- **Worktree (Step 2.5)**: Check initial footprint, then run `orchestune agent claim <issue_number> --apply` (proceed if already inside it).
- **Review Execution (Step 11)**: Reuse the Step 1 recorded reviewer without re-asking or re-running resolve; later rounds inherit the trigger and do not switch because config changed (`--switch-reviewer` requires user instruction). Unresolved uses `--bot-name skip` and stops for human review.
- **Interactive context read**: Read `orchestune agent context export --issue <issue_number>` (separate from `context.json` dispatch writes; does not replace `orchestune agent claim` or stale-read checks).
- **Minor Changes Fast-Path (Typo / Docs)**: Docs/typos without logic changes skip **Steps 3–8 (TDD)**; **Step 9 CI** stays mandatory (`ci-evidence-source = "remote"` waits for remote Required Checks on the PR instead of local full CI).

## Reviewer Resolution

- Resolve reviewer bot right after the start request and before claim: `orchestune review resolve-bot --target <target> [--override <claude|codex|skip>]` (record in plan).
- Prompt explicit `claude` / `codex` / `skip` overrides config via `--override` (`orchestune.toml` then `pyproject.toml` `[tool.orchestune]`: `reviewer-bot`, `[reviewer_by_target]`).
- Targets: Claude Code → `claude-cli`, Codex CLI → `codex-cli`, Antigravity → `agy-cli`, Grok → `grok-cli`.
- Pass an explicit target; never pass `auto`, guess a target, or reimplement the mapping.
- On non-zero exit, never fall back to guessing `claude` or `codex`.
- If unresolved, use `--bot-name skip` without prompting the user.

## Session Scratch Directory

- **Temporary waits**: Retain active claim and worktree while waiting for input; never publish `complete --result blocked`. To restart a completed blocked task, see [worktree.md](references/worktree.md#restart-a-completed-blocked-local-task).
- **Pre-claim & worktree-local dirs**: Before claim, create `<planning-session-dir>` via `./scripts/create-session-dir.sh planning <task>` (`create-session-dir.ps1` on Windows) under `.orchestune/tmp/` (`<UTC timestamp>-<random>`).
- After Step 2.5 enters the worktree, create `.orchestune/tmp/task-<issue>-<UTC timestamp>-<random>/` via `create-session-dir.sh task <issue>`, migrate `implementation-plan.md` into it, and keep all artifacts there (never repo root, `/tmp`, or tracked plans).

## Preflight & GitHub Backend Selection (Step 0)

1. **Tooling**: Check `uv --version`, `uv lock --check`, and `gitleaks version`.
2. **GitHub Backend**: Check `gh auth status` / MCP; lock the selected backend (`gh` CLI or MCP) in `<planning-session-dir>/implementation-plan.md`, migrate to `<session-dir>/implementation-plan.md` after Step 2.5.

## Initial Footprint (Before Issue Creation or Claim)

Inspect code/tests before Issue creation or claim per [issue-design-review](../issue-design-review/SKILL.md). Record plan, preflight, selected backend/reviewer, and files in Step 1; declare Footprint YAML in Step 2 (or verify existing Issue YAML before claim) per [worktree.md](references/worktree.md#initial-footprint-procedure).

## Development Steps

During #822 observation, follow [code-analysis-observation-822.md](../../docs/plans/code-analysis-observation-822.md). Check `orchestune agent workflow --help`, run `orchestune agent workflow next --issue <N> --session-dir <session-dir> --json` and `workflow check`; if `next` is absent, follow these prose steps:

| Step | Item | Stage | Procedure |
| :--- | :--- | :--- | :--- |
| **0–2** | **Preparation / Issue** | `prepare` | Preflight, Execution Modes, Initial Footprint above |
| **2.5** | **Worktree Preparation** | `claim` | [worktree.md](references/worktree.md) |
| **2.6** | **Impact Scope Determination** | `scope` | [impact-scope.md](references/impact-scope.md) |
| **3–9** | **TDD & Local CI** | `implement` | [tdd.md](references/tdd.md) ([local-ci.sh](../../scripts/local-ci.sh) / [local-ci.ps1](../../scripts/local-ci.ps1)) |
| **10** | **Pull Request Creation** | `pr` | [pr.md](references/pr.md) |
| **11** | **Automated LLM PR Review** | `review` | [review-loop.md](references/review-loop.md) (`review-reply` posted as PR comment) |
| **12** | **Outcome Declaration** | `complete` | `--reviewer` & `--review-reply` (`review-reply` posted as PR comment) |

### Completion commands

Use `orchestune agent complete` for every outcome (Issue comments; never post the Outcome Record to PR comments). With stale-read gate enabled, pass `--read-evidence <session-dir>/read-evidence.json` for `done` (bound to reviewed HEAD; rerun CI and review if a fix advances HEAD):

```bash
orchestune agent complete --apply --issue <N> --result not-needed
orchestune agent complete --apply --issue <N> --pr <PR> --result done --reviewer <claude|codex|skip> --review-reply <session-dir>/review-reply.md
orchestune agent complete --apply --issue <N> --result blocked --reason <REASON>
```

`done` and `blocked` require an existing claim; `complete` preserves the worktree (run GC without a Dispatcher; see [worktree.md](references/worktree.md)).

Files in this skill

  • SKILL.md6.3 KB
  • references/impact-scope.md2.7 KB
  • references/pr.md1.3 KB
  • references/review-loop.md9.3 KB
  • references/tdd.md2.4 KB
  • references/worktree.md2.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.