Cdd Close logo

Cdd Close

Community
Oscaner
cdd-close

Independent cdd-close orchestrator -- Node-anchored flow with digraph as single control-flow source of truth. Consumes the /superpowers:finishing-a-development-branch(pi:/skill:finishing-a-development-branch) flow inline as this session's baseline for the finish decision, gates on the finish outcome, then closes related issues. Layers personal rules (no worktrees / conventional commits / typed-discard). Callable standalone; invoke as kairos:cdd-close(pi:/skill:cdd-close).

Overview

PublisherOscaner
Repositoryskills
Skill namecdd-close
Stars
63
Forks
0
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by Oscaner on GitHub. Read the source before you install it.

Installation

Install the Cdd Close AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Oscaner/skills/tree/main/packages/kairos/skills/cdd-close
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Oscaner/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/packages/kairos/skills/cdd-close .claude/skills/cdd-close
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Cdd Close in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Cdd Close on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Cdd Close is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Kairos CDD-Close

Development branch close-out: the closeout backfill — the shipped-state docs (closeout version rows · phase inventory → Done) — lands and commits FIRST; then the imported upstream flow decides merge / PR / keep / discard, the finish gate routes the outcome, then related issues are closed — a human-decision surface, not next-driven, with no review self-loop. The backfill-before-finish ordering keeps the finish menu from running over an un-backfilled phase, so a merge decision ships the closeout with the branch.

Invocation discipline — every command runs as a background dispatch: launch it in the background and await the completion notification — never poll — then read the full output (stdout/stderr); output filtering is forbidden — no piping to tail/head, no 2>&1 |, no EXIT=$? capture. Finish is the terminal gate — the finish decision is a human-decision surface: it ends the flow at the gate + terminal (no review self-loop); a blocked round carries its reason on stderr with no next: line consumed here. Failure face — cross-node failure handling lives in the Failure Modes table below (the single source); node Fail entries keep only local behavior.

Flow Digraph

Node Definitions

run-cdd-close-session

  • Do: Import /superpowers:finishing-a-development-branch(pi:/skill:finishing-a-development-branch) and run its PRE-finish prerequisites (verify tests → read base). The finish menu itself runs at finish? — AFTER the closeout backfill has landed, so the closeout state is part of whatever the menu ships. Upstream steps are not restated here.
  • Read: landed finish decision + base branch (.kairos/cdd/<slug>/base.json, or inferred per the cdd-dev base resolution)
  • Exit: prerequisites passed → closeout-backfill
  • Fail: tests red → BLOCKED (fix tests)

closeout-backfill

  • Do: Land the phase's closeout before any finish decision — the shipped-state docs one commit before the menu runs: close the phase's version rows (plan/spec/overall closeout entry — the version bump · the parent-overall Phase inventory cells → Done · the acceptance delivery record · the change-history row), commit them as their own conventional docs(kairos) commit, and leave the tree clean. The finish menu then ships the branch — with the closeout in it; a failure at this node stops before the menu, never runs the finish over an uncommitted closeout
  • Read: the phase's plan/spec/overall version rows + parent-overall Phase inventory + git status
  • Exit: closeout committed + tree clean → finish?
  • Fail: dirty tree / write error → stop + report (do not enter the finish menu with an uncommitted closeout)

finish?

  • Do: Run the finish menu (merge / PR / keep / discard) and gate the landed outcome — the orchestration semantic gate, a human decision surface: the decision landed (merged / PR / kept / discarded) routes close-issues; an unrecognized outcome that exhausted the menu routes the BLOCKED terminal. The menu follows the closeout backfill. The strict typed-discard gate: the literal discard only (case-sensitive, no leading/trailing whitespace); any other input falls back to the menu without resetting its presentation counter — 3 attempts max → BLOCKED (menu exhausted). This gate is not next-driven — the human decision is the terminal authority, and the flow ends here: no review self-loop, no engine route to consume
  • Read: the landed finish decision
  • Exit: decided → close-issues; menu exhausted → the BLOCKED terminal (menu exhausted)
  • Fail: no decision obtainable → BLOCKED (menu exhausted, flow terminates)

close-issues

  • Do: Close the issues that shipped with the finished work — for each #NNN in the phase's scope, gh issue close NNN with the shipped state
  • Read: phase spec Issue inventory + finished branch
  • Exit: Issues closed → the APPROVED terminal
  • Fail: gh unavailable → report + fail-open (do not block the finish)

Invariants

#Invariant
I1No Worktrees — skip the upstream worktree detection block and its cleanup; the menu is fixed to the normal-repo variant; worktree state is a pre-development violation (not cdd-close's scope)
I2Conventional Commits + No Attribution — merge commit / PR title follows conventional commits; no trailers / footers / inline attribution; PR body uses only ## Summary + ## Test Plan
I3Finish is the terminal gate — the finish decision is a human-decision surface: it ends the flow at the gate + terminal (no review self-loop); a blocked round carries its reason on stderr, with no next: line consumed here
I4Closeout before finish — the closeout backfill (closeout version rows + Phase inventory → Done, committed, tree clean) lands before the finish menu runs; the finish decision never ships an un-backfilled phase

Failure Modes

failurebehaviorreason
Upstream superpowers plugin missingBLOCKED (install superpowers — see the kairos README's installation table)Block policy: no silent fallback
Tests red before mergeBLOCKED (fix tests)Do not merge/PR a red branch
Menu unrecognized input reaches the 3-attempt limitBLOCKED (menu exhausted)Cannot obtain user decision
Merge conflict / push rejected / PR failureimplicit fail-open (stop + report; branch and base retained; user recovers then re-runs cdd-close)Do not auto-resolve
Closeout backfill fails (dirty tree / write error)stop + report + fail-openDo not enter the finish menu with an uncommitted closeout

Frequently asked questions

What does the Cdd Close AI skill do?

Independent cdd-close orchestrator -- Node-anchored flow with digraph as single control-flow source of truth. Consumes the /superpowers:finishing-a-development-branch(pi:/skill:finishing-a-development-branch) flow inline as this session's baseline for the finish decision, gates on the finish outcome, then closes related issues. Layers personal rules (no worktrees / conventional commits / typed-discard). Callable standalone; invoke as kairos:cdd-close(pi:/skill:cdd-close).

Why use Cdd Close on TypingMind?

Because you install it once and use it with any model. Cdd Close is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Cdd Close in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Oscaner/skills/tree/main/packages/kairos/skills/cdd-close. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Cdd Close?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Cdd Close?

As many as you like. As long as a model supports skills, you can use Cdd Close with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Cdd Close AI skill free?

Yes. It is published on GitHub by Oscaner under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇