Smart Harness for AI Driven Engineering — a gated, traceable workflow that guides AI coding agents through a feature or a bug fix.
Warning
SHADE Kit Core is in early development. The shade-kit init and shade-kit feature commands work today. The
agent skills are still skeletons, and the other commands are planned (see Roadmap). Names and formats
may change.
SHADE Kit Core leads an AI coding agent through a fixed flow, New → Spec → Implement → Done. It has two parts:
the shade-kit CLI, which owns repository setup and workflow state, and a set of agent skills, one per step. All
three supported agents (Claude Code, GitHub Copilot CLI, and OpenAI Codex CLI) use one skill source.
- Human in charge: a step runs only when a human calls its skill. No skill starts another step.
- Two approvals: a human approves the spec before implementation starts and the result before it is done.
- Traceable: every requirement links to the test that proves it, and the evidence stays in the repository.
- State through the CLI only: skills change workflow state with
shade-kit … --jsonand never edit state files directly. - No git side effects: the kit never commits, pushes, creates branches, or opens pull requests.
stateDiagram-v2
direction LR
[*] --> New: feature new
New --> Spec: first Spec step
Spec --> Implement: Definition of Ready + approval
Implement --> Done: Definition of Done + manual verification + approval
Done --> [*]
Each feature has one of two profiles. The steps and the skills that run them:
| Phase | feature profile |
bugfix profile |
|---|---|---|
| New | /shade-kit-new |
/shade-kit-new |
| Spec | /shade-kit-research → /shade-kit-refine → /shade-kit-spec |
/shade-kit-diagnose-bug → /shade-kit-spec |
| Implement | /shade-kit-plan (plan approval) → /shade-kit-implement |
same; the regression test comes first |
| Done | /shade-kit-done |
/shade-kit-done |
The steps write their artifacts (spec.md, plan.md, review.md, verification.md, …) into the feature folder
under .shadekit/features/<feature-id>/. These files are committed together with the code.
Prerequisites: .NET SDK 10 and git.
Note
There is no packaged release yet, so the CLI has to be built from source.
git clone https://github.com/CreativeCodersTeam/shade-kit-core.git
cd shade-kit-core
dotnet buildRun init inside the git repository you want to set up:
cd /path/to/your/repo
dotnet run --project /path/to/shade-kit-core/src/CreativeCoders.ShadeKit.Cli -- initTo get a self-contained single-file binary named shade-kit, publish for your
runtime identifier:
dotnet publish src/CreativeCoders.ShadeKit.Cli -c Release -r osx-arm64 -o ./publishinit sets up the git repository of the current directory:
<repo-root>/
├── AGENTS.md # managed section between <!-- shade-kit:begin --> and <!-- shade-kit:end -->
├── CLAUDE.md # managed section, or only "@AGENTS.md" when init creates the file
└── .shadekit/
├── .gitignore # ignores the local current-feature pointer
├── config.json
├── templates/ # team-owned copies of the shipped artifact and checklist templates
├── features/
└── discussions/
You can run it again at any time. It adds only what is missing, never overwrites files the team owns, and refreshes
only its own managed section. It never runs git init and never changes git configuration.
$ shade-kit init
Repository root: /path/to/your/repo
created .shadekit/config.json
created .shadekit/.gitignore
created .shadekit/templates/spec.md
…
created AGENTS.md
created CLAUDE.mdTip
Agents should call shade-kit init --json. With --json, the command writes exactly one envelope to standard
output and nothing else.
{
"ok": true,
"data": {
"root": "/path/to/your/repo",
"entries": [
{ "path": ".shadekit/config.json", "result": "skipped" },
{ "path": "AGENTS.md", "result": "unchanged" }
]
},
"warnings": [],
"error": null
}Each entry's result is created, skipped, updated, or unchanged.
| Exit code | Meaning | Error codes |
|---|---|---|
0 |
Success, also with warnings | — |
1 |
Domain or IO error | not-a-git-repo, bare-repo, inside-git-dir, git-not-found, io-error |
2 |
Usage error, such as an unknown option | usage-error |
The only warning code is managed-section-malformed. It means the managed-section markers in AGENTS.md or
CLAUDE.md are broken.
The feature commands create features and choose the current one. They work in a repository that init has set
up:
shade-kit feature new --source <text|file|issue-url> [--title <t>] [--slug <s>] [--profile feature|bugfix] [--json]
shade-kit feature list [--phase <p>[,<p>…] | --active] [--json]
shade-kit feature current [--json]
shade-kit feature show [<id>] [--json]
shade-kit feature set <id> [--json]
feature newcreates.shadekit/features/<feature-id>/withrequest.mdandfeature.json, and makes the new feature the current one. It suggests the branchfeature/<feature-id>but creates no branch.--sourceis a GitHub issue URL (https://github.com/<owner>/<repo>/issues/<number>), an existing file (at most 1 MiB, UTF-8), or free text. An issue is read with the GitHub CLIgh, which must be logged in togithub.com(gh auth login). Any other URL is rejected, and so is a.mdor.txtpath that does not exist.request.mdholds the source content unchanged: the text, a byte copy of the file, or the issue with its comments.- The title is
--title, otherwise the issue title, the first#heading or first non-empty line of the file, or the first non-empty line of the text. The profile is--profile, otherwisedefaultProfilefromconfig.json. - The feature ID is
<yyyymmdd>-<hhmm>-<slug>(local time), or<prefix>-<number>-<slug>for an issue, where the prefix istrackers["github.com"]fromconfig.json(ghby default). The slug is--slug, otherwise it is derived from the title: issue 142 titled "Login with SSO" becomesgh-142-login-with-sso. - The current feature is the feature named by the current branch (the part after the last
/, sofeature/gh-142-login-with-ssoselectsgh-142-login-with-sso), otherwise the one in the local, gitignored pointer.shadekit/features/current-feature.json, otherwise none.feature newandfeature set <id>write the pointer. feature listlists the features sorted by creation time.--phase new,speckeeps only the given phases (new,spec,implement,done), and--activekeeps the features that are notdone.feature showshows the fullfeature.jsonand the files of a feature, or of the current feature when<id>is left out.
$ shade-kit feature new --source "Export customers as CSV"
ID: 20261129-1415-export-customers-as-csv
Title: Export customers as CSV
Profile: feature
Folder: .shadekit/features/20261129-1415-export-customers-as-csv
Suggested branch: feature/20261129-1415-export-customers-as-csvWith --json, every feature command writes exactly one envelope to standard output, like init. The exit codes
are the same as for init:
| Exit code | Meaning | Error codes |
|---|---|---|
0 |
Success, also with warnings | — |
1 |
Domain or IO error | not-a-git-repo, bare-repo, inside-git-dir, git-not-found, io-error, not-initialized, config-invalid, unsupported-source, source-file-not-found, source-invalid, gh-not-found, gh-auth-required, issue-read-failed, git-user-missing, feature-exists, feature-not-found, feature-invalid, no-current-feature |
2 |
Usage error, such as an unknown option, an invalid --slug, or an unknown phase |
usage-error |
The warning codes are feature-invalid (feature list skips a broken feature folder), pointer-invalid and
stale-pointer (the pointer is broken or names no valid feature), branch-overrides-pointer (the current branch
selects another feature than the pointer), and pointer-not-set (feature new created the feature but could not
write the pointer).
| Path | Contents |
|---|---|
src/CreativeCoders.ShadeKit.Cli |
The shade-kit command-line application |
src/CreativeCoders.ShadeKit.Core |
Workflow logic, git abstraction, JSON envelope, shipped templates |
skills/ |
Agent skills, one per step, plus helper skills (skeletons) |
tests/ |
xUnit v3 unit tests and CLI integration tests |
docs/ |
Concept, specifications, and implementation reports |
dotnet build
dotnet test- The build treats warnings as errors, including the .NET analyzers and SonarAnalyzer.
- Package versions are managed centrally in
Directory.Packages.props. - GitVersion computes versions from the git history. A release is a
v<SemVer>tag onmain, and builds fromfeature/*branches are prereleases.
- Concept: scope and workflow
- Specification:
shade-kit init - Implementation report:
shade-kit init - Specification:
shade-kit feature
| Command | Purpose | Status |
|---|---|---|
init |
Set up .shadekit/ and the agent instruction files |
Available |
install / update |
Install or update the skills for the detected agents | Planned |
feature new / list / current / show / set |
Create features and choose the current one (see shade-kit feature) |
Available |
status |
Show the phase and the skills to call next | Planned |
step done / plan approve / phase advance |
Record steps and approvals, and move between phases | Planned |
version |
Show the CLI version and the contract the skills check | Planned |
The step skills in skills/ are skeletons until the commands they depend on are in place.