Skip to content

CarePackage81/bkit-claude-code

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

131 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bkit - Vibecoding Kit

License Claude Code Gemini CLI Version Author

PDCA methodology + AI coding assistant mastery for AI-native development Dual Platform Support: Claude Code & Gemini CLI

bkit is a plugin/extension that transforms how you build software with AI. It provides structured development workflows, automatic documentation, and intelligent code assistance through the PDCA (Plan-Do-Check-Act) methodology. Now supporting both Claude Code and Gemini CLI.

bkit Introduction


What is Context Engineering?

Context Engineering is the systematic curation of context tokens for optimal LLM inference—going beyond simple prompt crafting to build entire systems that consistently guide AI behavior.

Traditional Prompt Engineering:
  "The art of writing good prompts"

Context Engineering:
  "The art of designing systems that integrate prompts, tools, and state
   to provide LLMs with optimal context for inference"

bkit is a practical implementation of Context Engineering, providing a systematic context management system for Claude Code and Gemini CLI environments.

bkit's Context Engineering Architecture

bkit implements Context Engineering through three interconnected layers:

Layer Components Purpose
Domain Knowledge 21 Skills Structured expert knowledge (phases, levels, specialized domains)
Behavioral Rules 11 Agents Role-based constraints with model selection (opus/sonnet/haiku)
State Management 86+ Functions PDCA status, intent detection, ambiguity scoring, multi-feature context

5-Layer Hook System

Context injection occurs at five distinct layers:

Layer 1: hooks.json (Global)     → SessionStart, UserPromptSubmit, PreCompact, PreToolUse, PostToolUse, Stop
Layer 2: Skill Frontmatter       → Domain-specific hooks (deprecated in v1.4.4, use hooks.json)
Layer 3: Agent Frontmatter       → Task-specific hooks with constraints
Layer 4: Description Triggers    → Semantic matching in 8 languages
Layer 5: Scripts (39 modules)    → Actual Node.js execution logic with unified handlers

Learn more: See Context Engineering Principles for detailed implementation.


Features

bkit Features

  • Task Management + PDCA Integration (v1.4.7) - Task Chain Auto-Creation, Task ID Persistence, Check↔Act Iteration
  • Core Modularization (v1.4.7) - lib/common.js split into 4 modules (lib/core/, lib/pdca/, lib/intent/, lib/task/)
  • Context Engineering (v1.4.4) - Systematic context curation with 7 library modules and unified hook system
  • PDCA Methodology - Structured development workflow with automatic documentation
  • PDCA Skill Integration (v1.4.4) - Unified /pdca skill with 8 actions (plan, design, do, analyze, iterate, report, status, next)
  • Evaluator-Optimizer Pattern - Automatic iteration cycles from Anthropic's agent architecture
  • 9-Stage Development Pipeline - From schema design to deployment
  • 3 Project Levels - Starter (static), Dynamic (fullstack), Enterprise (microservices)
  • Multilingual Support - 8 languages (EN, KO, JA, ZH, ES, FR, DE, IT)
  • 21 Skills - Domain-specific knowledge for various development scenarios
  • 11 Agents - Specialized AI assistants for different tasks
  • 39 Scripts - Hook execution with unified handlers (hooks-json-integration)
  • 132 Utility Functions - 4 modular libraries with state management, intent detection, task tracking
  • Check-Act Iteration Loop - Automatic gap analysis and fix cycles with max 5 iterations (90% threshold)

🚀 초보자라면?

Claude Code가 처음이신가요?

bkit-starter로 시작하세요!

  • 완전한 한글 가이드
  • 프로그래밍 경험 없이도 시작 가능
  • 첫 프로젝트 만들기 체험
/plugin enable bkit-starter

bkit은 bkit-starter를 마스터한 후 사용하는 고급 확장 버전입니다.


Quick Start

Option 1: Marketplace Installation (Recommended)

The easiest way to install bkit is through the Claude Code marketplace.

# Step 1: Add bkit marketplace
/plugin marketplace add popup-studio-ai/bkit-claude-code

# Step 2: Install bkit plugin
/plugin install bkit

Managing Marketplaces

Use /plugin command and navigate to Marketplaces tab to manage your plugin sources:

bkit Marketplace

  • bkit-marketplace: Contains bkit and bkit-starter plugins
  • claude-plugins-official: Official Anthropic plugins

Discovering Plugins

Navigate to Discover tab to browse and install available plugins:

bkit Marketplace Plugins

Plugin Description Best For
bkit Full PDCA methodology + Claude Code mastery Experienced developers
bkit-starter Korean learning guide for beginners First-time Claude Code users

Auto-Update Configuration

Keep your plugins up-to-date automatically by configuring auto-update in your settings:

// ~/.claude/settings.json
{
  "plugins": {
    "autoUpdate": true
  }
}

Update Commands:

  • Press u in the Marketplaces view to update all plugins
  • Press r to remove a marketplace
  • Use Space to toggle plugin selection in Discover view

Option 2: Gemini CLI Installation

bkit also supports Gemini CLI as an extension.

# Step 1: Clone the repository
git clone https://github.com/popup-studio-ai/bkit-claude-code.git ~/.gemini/extensions/bkit

# Step 2: Enable hooks in Gemini CLI settings
# Add to ~/.gemini/settings.json:
{
  "tools": {
    "enableHooks": true
  }
}

# Step 3: Restart Gemini CLI

Gemini CLI Specific Features

  • Commands: Located in commands/gemini/ (TOML format)
  • Context File: GEMINI.md (similar to CLAUDE.md)
  • Hook Mapping: BeforeTool/AfterTool instead of PreToolUse/PostToolUse

Plugin/Extension Structure

bkit-claude-code/
├── .claude-plugin/
│   ├── plugin.json          # Claude Code plugin manifest
│   └── marketplace.json     # Marketplace registry
├── gemini-extension.json    # Gemini CLI extension manifest
├── GEMINI.md                # Gemini CLI context file
├── commands/
│   ├── *.md                 # Claude Code commands (Markdown)
│   └── gemini/              # Gemini CLI commands (TOML)
├── agents/                  # Specialized AI agents
├── skills/                  # Domain knowledge
├── hooks/                   # Event hooks (hooks.json for Claude)
├── scripts/                 # Hook scripts (cross-platform)
├── lib/                     # Shared utilities
├── templates/               # Document templates
└── bkit.config.json         # Centralized configuration

Note: Both platforms share the same skills/, agents/, scripts/, lib/, and templates/ directories.


Customization

After installing bkit via the marketplace, you can customize any component by copying it to your project's .claude/ folder.

Comprehensive Guide: See CUSTOMIZATION-GUIDE.md for detailed instructions on customizing bkit for your organization, including platform-specific paths, component examples, and license attribution requirements.

How It Works

Claude Code searches for configuration files in this priority order:

  1. Project .claude/ (highest priority - your customizations)
  2. User ~/.claude/
  3. Plugin installation (default)

Customization Steps

# Step 1: Find the plugin installation location
ls ~/.claude/plugins/bkit/

# Step 2: Copy only the files you want to customize
mkdir -p .claude/skills/starter
cp ~/.claude/plugins/bkit/skills/starter/SKILL.md .claude/skills/starter/

# Step 3: Edit the copied file in your project
# Your project's .claude/skills/starter/SKILL.md will override the plugin's version

# Step 4: Commit to version control (optional)
git add .claude/
git commit -m "feat: customize bkit starter skill"

Available Components for Customization

Component Location Description
Skills ~/.claude/plugins/bkit/skills/ Domain knowledge and slash commands (e.g., /pdca plan)
Skills ~/.claude/plugins/bkit/skills/ Domain knowledge and context
Agents ~/.claude/plugins/bkit/agents/ Specialized AI assistants
Templates ~/.claude/plugins/bkit/templates/ Document templates
Scripts ~/.claude/plugins/bkit/scripts/ Hook scripts
Config ~/.claude/plugins/bkit/bkit.config.json Central configuration

Important Notes

  • Customized files don't receive plugin updates. When bkit is updated, your customized files remain unchanged while non-customized files are updated automatically.
  • Check the CHANGELOG periodically for updates that might affect your customizations.
  • Delete a customized file to revert to the plugin's default version.
  • Attribution required: When creating derivative plugins, follow the License & Attribution guidelines.

Usage

Start Learning

/claude-code-learning

Initialize a Project

/starter      # Static website (Starter level)
/dynamic      # Fullstack with BaaS (Dynamic level)
/enterprise   # Microservices with K8s (Enterprise level)

PDCA Workflow (v1.4.4 - Skills-based)

/pdca plan {feature}     # Create plan document
/pdca design {feature}   # Create design document
/pdca do {feature}       # Implementation guide
/pdca analyze {feature}  # Run gap analysis
/pdca iterate {feature}  # Auto-fix with Evaluator-Optimizer pattern
/pdca report {feature}   # Generate completion report
/pdca status             # Check current PDCA status
/pdca next               # Guide to next PDCA step

Project Levels

Level Description Stack
Starter Static websites, portfolios HTML, CSS, JS
Dynamic Fullstack applications Next.js, BaaS
Enterprise Microservices architecture K8s, Terraform, MSA

Is bkit Only for Development?

bkit for Non-Development

bkit is primarily designed for software development. However, some components can inspire structured workflows beyond coding:

Component Beyond Development Uses
PDCA Methodology Project management, process improvement
Document Templates Planning any structured project
Gap Analysis Comparing any plan vs. actual outcome

Note: For general writing, research, or non-technical tasks, plain Claude Code (without bkit) is better suited.


Documentation

Customization Guide

  • CUSTOMIZATION-GUIDE.md - Complete guide to customizing bkit for your organization
    • Platform-specific configuration paths (macOS, Linux, Windows, WSL)
    • Component customization (agents, skills, commands, hooks, templates)
    • License attribution requirements for derivative works
    • bkit design philosophy and architecture decisions

Current Reference (bkit-system/)

Component Reference

PDCA Documents

  • Active PDCA - Current plan/design/analysis documents
  • Archive - Completed PDCA + legacy documents

Other

  • Changelog - Version history and release notes

Visualize with Obsidian

The bkit-system/ documentation is optimized for Obsidian's Graph View:

  1. Open bkit-system/ as an Obsidian vault
  2. Press Ctrl/Cmd + G to open Graph View
  3. Explore component relationships visually

See bkit-system/README.md for detailed instructions.


Language Support

bkit automatically detects your language from trigger keywords:

Language Trigger Keywords
English static website, beginner, API design
Korean 정적 웹, 초보자, API 설계
Japanese 静的サイト, 初心者, API設計
Chinese 静态网站, 初学者, API设计
Spanish sitio web estático, principiante
French site web statique, débutant
German statische Webseite, Anfänger
Italian sito web statico, principiante

Setting Response Language

Claude Code supports configuring your preferred response language through the language setting in your settings file.

Configuration Files (Priority Order)

File Scope Git Tracked
.claude/settings.local.json Project (personal) No (gitignored)
.claude/settings.json Project (shared) Yes
~/.claude/settings.json User (global) N/A

How to Configure

Add the language key to any settings file:

{
  "language": "korean"
}

Supported Languages

Language Setting Value
English "english" (default)
Korean "korean"
Japanese "japanese"
Chinese "chinese"
Spanish "spanish"
French "french"
German "german"
Italian "italian"

Note: Trigger keywords work in any language. The language setting only affects Claude's response language.


Contributing

We welcome contributions! Please see CONTRIBUTING.md for guidelines.

Branch Protection

  • Only admin team members can merge to main
  • All changes require pull request review
  • Version releases are managed through Git tags

License

Copyright 2024-2026 POPUP STUDIO PTE. LTD.

Licensed under the Apache License, Version 2.0. See LICENSE for details.

You must include the NOTICE file in any redistribution.


Support


Made with AI by POPUP STUDIO

About

bkit Vibecoding Kit - PDCA methodology + Claude Code mastery for AI-native development

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%