Skip to content

v1.0.0 - bkit-codex: Context Engineering + PDCA for Codex CLI

Choose a tag to compare

@popup-kay popup-kay released this 22 Feb 03:07
· 8 commits to main since this release
33824fb

bkit-codex v1.0.0

PDCA methodology + Context Engineering for AI-native development with OpenAI Codex CLI

bkit-codex is an OpenAI Codex CLI extension that provides structured development workflows, automatic documentation, and intelligent code assistance through the PDCA (Plan-Do-Check-Act) methodology and Context Engineering architecture.


Highlights

  • 27 Agent Skills — Domain-specific knowledge with progressive disclosure to minimize context token usage
  • 16 MCP Tools — Session management, intent detection, PDCA workflow, template generation, memory persistence (zero external dependencies)
  • ~80 Lib Functions — Core library across 4 modules (core, pdca, intent, task)
  • 3-Tier Context Strategy — AGENTS.md (always loaded) → SKILL.md (on-demand) → references (deep dive)
  • Cross-Platform — One-line installation for Unix/Mac (install.sh) and Windows (install.ps1)

Features

PDCA Workflow

Structured development cycle with automatic documentation and phase enforcement:

Plan → Design → Do → Check → Act → Report
  • Design document is mandatory before implementation
  • Pre-write and post-write MCP tool checks
  • Evaluator-Optimizer pattern: auto gap analysis and fix cycles (max 5 iterations, 90% threshold)

Context Recovery (C-3)

State reconstruction after context compaction:

  • bkit_get_status supports mode: "recovery" for full state rebuild
  • Compact summary format: {feature}|{phase}|{matchRate}%|iter:{count}|tasks:{chain}
  • Recovery guidance with current feature, phase, documents, and next action

Task Chain (C-4)

Linked PDCA task progression:

  • Automatically generates 5 linked tasks: Plan → Design → Do → Check → Report
  • Phase completion advances the chain automatically
  • Persisted in PDCA status for continuity across sessions

Plan Plus

Brainstorming-enhanced planning with 6-phase intent discovery:

  • Intent discovery, alternatives exploration, and YAGNI review
  • Produces higher-quality Plan documents before entering the PDCA cycle

Additional Features

  • 9-Stage Development Pipeline — From schema design to deployment
  • 3 Project Levels — Starter (static), Dynamic (fullstack), Enterprise (microservices)
  • 8-Language Support — EN, KO, JA, ZH, ES, FR, DE, IT with auto-detection
  • Ambiguity Detection — Scores user prompts 0-100 and generates clarifying questions
  • Session Memory — Persistent context across sessions via docs/.bkit-memory.json

Quick Start

Unix / macOS

curl -fsSL https://raw.githubusercontent.com/popup-studio-ai/bkit-codex/main/install.sh | bash

Windows (PowerShell)

irm https://raw.githubusercontent.com/popup-studio-ai/bkit-codex/main/install.ps1 | iex

Prerequisites

Architecture

bkit-codex (Instruction-Driven, ~70% Auto)
  AGENTS.md Rule → AI reads → AI calls MCP Tool → MCP returns guidance
Layer Components Count Purpose
Domain Knowledge Skills 27 Expert knowledge via progressive disclosure
Behavioral Rules AGENTS.md 2 files Global + Project rules with enforcement
State Management MCP Tools + Lib 16 + 80 fn PDCA tracking, intent detection, memory

Stats

  • 32 files in this release
  • 9,875 lines added
  • 27 skills, 16 MCP tools, ~80 lib functions
  • Zero external dependencies for MCP server

Full Changelog: https://github.com/popup-studio-ai/bkit-codex/blob/main/CHANGELOG.md

Made with AI by POPUP STUDIO