How neolabhq/context-engineering-kit works
1. What this repository is
- This is a plugin marketplace for AI coding assistants, centered on Claude Code compatibility.
- The repo is mostly content/configuration, not a traditional application: plugins are delivered as markdown prompts, rules, skills, agents, and hooks.
2. Top-level architectural split
- The repository has three major surfaces:
- Installable plugins under plugins/
- Human-facing documentation under docs/
- Internal specs/process artifacts under .specs/
- That separation is important: the installable assets are what users load into their assistant; the docs explain usage; the specs track ongoing development work.
3. Plugin packaging model
- Each plugin lives in its own folder under plugins/<name>/ and has a .claude-plugin/plugin.json manifest.
- That manifest is the boundary between repo content and the installer/runtime: it tells the host tool what to install and load.
- Most plugins are delivered as Markdown-based skill files and/or agent prompts, with minimal executable code.
4. Primary plugin types
- Skills-only plugins: many folders contain skills/.../SKILL.md, which encode behavior instructions for the assistant.
- Agent-based plugins: some include agents/*.md, defining specialized sub-agent roles for tasks like review, architecture, or research.
- Rule-based plugins: ddd and tech-stack provide reusable rules that influence generation behavior when relevant files are touched.
- Command/workflow plugins: sdd, sadd, git, tdd, kaizen, mcp, and customaize-agent focus on command-driven flows orchestrating multiple steps.
5. The most code-like subsystem: Reflexion hooks
- plugins/reflexion/hooks/ is the only clear executable subsystem in the repo.
- It is implemented in TypeScript and uses Bun tooling (package.json, bun.lockb, vitest).
- Its job is to act as a runtime hook layer: when certain prompt conditions are met, it triggers reflection behavior and related logic.
- This makes Reflexion the repo’s main boundary between static prompt content and live execution.
6. Multi-agent workflow architecture
- Several plugins are designed around sub-agent orchestration rather than a single prompt:
- sadd coordinates parallel, sequential, competitive, or judge-based agent patterns.
- review fans out to specialized reviewers like bug, security, test coverage, and historical-context agents.
- sdd uses a planning pipeline with distinct roles such as researcher, code-explorer, architect, tech lead, QA, developer, reviewer, and writer.
- fpf introduces an evidence-based hypothesis/verification loop via a dedicated reasoning agent.
- Architecturally, these plugins are “control planes” for dispatching specialized prompt agents.
7. Spec-driven development as a workflow system
- plugins/sdd is the repo’s most structured workflow subsystem.
- It organizes development into task files and phases under .specs/tasks/..., then produces implementation guidance using multiple agents.
- The important data flow is: task prompt → spec refinement → implementation plan → execution → verification → archived task.
- This subsystem also integrates architectural guidance from ddd, showing a deliberate dependency between quality rules and implementation planning.
8. Documentation architecture
- docs/ is a GitBook-style documentation tree with:
- conceptual docs,
- getting started material,
- plugin guides,
- reference pages,
- best practices and resource lists.
- This docs layer mirrors the plugin catalog and acts as the user-facing explanation layer for installation and usage.
- docs/SUMMARY.md and the folder structure indicate a navigation-driven documentation site.
9. Repository-internal process and governance
- .specs/ contains task drafts, completed task records, research notes, and reports.
- This is a project-management boundary for how the marketplace itself evolves: feature drafts, work reports, analysis notes, and roadmap items are stored separately from the installable plugins.
- It suggests the repo is maintained through a spec-and-report workflow, not just ad hoc edits.
10. Tooling and environment
- .devcontainer/ indicates a containerized development setup.
- justfile provides task automation for contributor workflows.
- .cursor/, .claude/, and .claude-plugin/ files support editor/assistant integration and marketplace metadata.
- These are enabling layers rather than product runtime components.
11. Cross-plugin relationships
- The plugins are intentionally composable and non-overlapping:
- ddd supplies design rules used by sdd.
- tech-stack injects language-specific standards when relevant.
- reflexion adds reflection/memory loops.
- review adds post-change evaluation.
- git bridges assistant workflows to Git operations.
- The architecture is therefore a toolkit of orthogonal behaviors, not a single monolithic assistant.
12. External interfaces that matter
- The marketplace is distributed through the Claude plugin ecosystem and also references other assistant ecosystems like Cursor, OpenCode, Antigravity, and Codex.
- GitHub is relevant for installation, PR workflows, and CI integration.
- GitBook is used as the documentation publishing surface.
- Bun is required specifically for the Reflexion hook implementation.
13. How to draw it
- A good architecture diagram would show:
- a central plugin marketplace repository,
- branching into installable plugin packages,
- a separate docs site,
- a separate spec/task management area,
- and a small runtime hook/code subsystem for Reflexion.
- Inside plugins, emphasize that most behavior is encoded as markdown prompt assets plus manifests, with only a small amount of executable TypeScript.
14. Overall architectural character
- This repo is a content-oriented, modular plugin distribution system for agent behavior engineering.
- Its core design principles are: isolation, composability, minimal token footprint, and workflow specialization.
- The main architectural concern is not request routing or data storage, but how assistant capabilities are packaged, loaded, and orchestrated.
Main entry points: plugins/README.md Plugin catalog · reflexion Reflexion · sdd SDD · docs/README.md Docs site
Components 25
Repository
Top-level workspace for the plugin marketplace and its support assets.
- Marketplace repo · The repository acts as a content-oriented marketplace for assistant plugins and workflows.
- Plugin manifest · `.claude-plugin/plugin.json` files define the install boundary for each plugin package.
.claude-plugin/marketplace.json
Installable plugins
Claude-compatible plugin packages distributed from the repository.
- Plugin catalog · Top-level plugin collection organized as installable packages with manifests and assets.
plugins/README.md - Custom agent · Skills for creating agents, commands, hooks, skills, and workflows.
plugins/customaize-agent - DDD rules · Architectural and code-quality rules used as reusable behavioral guidance.
plugins/ddd - Docs plugin · Skills for updating docs and writing concisely.
plugins/docs - FPF · Hypothesis, evidence, validation, and trust-management workflow around an agent.
plugins/fpf - Git plugin · Skills that connect assistant actions to Git and pull-request workflows.
plugins/git - Kaizen · Continuous-improvement and root-cause analysis skills.
plugins/kaizen - MCP plugin · Setup and build guidance for Model Context Protocol tooling.
plugins/mcp - Reflexion · Runtime hook subsystem that adds reflection and memory behavior.
plugins/reflexion - Review · Specialized reviewers for bugs, security, tests, contracts, and context.
plugins/review - SADD · Multi-agent coordination patterns such as parallel, competitive, judge, and tree-of-thought flows.
plugins/sadd - SDD · Spec-driven development pipeline with planning, implementation, review, and documentation roles.
plugins/sdd - TDD · Skills for test design, coverage, test writing, and fixing failing tests.
plugins/tdd - Tech stack · Language-specific best-practice rules, currently focused on TypeScript.
plugins/tech-stack
Documentation
Human-facing GitBook-style docs for concepts, guides, references, and plugin usage.
- Docs site · GitBook-style documentation site that explains the marketplace and its plugins.
docs/README.md - Guides · Operational and conceptual usage guides for workflows such as review, SDD, and CI integration.
docs/guides/README.md - Plugin docs · Per-plugin documentation pages mirroring the installable catalog.
docs/plugins/README.md - Reference · Reference pages for agents, commands, and skills.
docs/reference/README.md
Specs and process
Task drafts, reports, research notes, and roadmap artifacts used to manage development work.
- Task specs · Draft, in-progress, done, and roadmap task artifacts for ongoing repository work.
.specs/tasks/roadmap.md - Reports · Outcome logs and step reports from spec-driven work and maintenance operations.
.specs/reports/do-in-parallel-2026-01-01.1.md - Research · Collected research notes and resource lists supporting plugin and workflow design.
.specs/research/research-resources.md
Tooling
Development and integration helpers around the repository.
- Dev container · Containerized contributor environment definition.
.devcontainer/devcontainer.json - Just tasks · Contributor automation entrypoint for common repository tasks.
justfile
Connections 34
- Marketplace repo → Plugin catalog: hosts · Repository contains the installable plugin catalog.
- Marketplace repo → Docs site: publishes · Repository exposes human-facing documentation.
- Marketplace repo → Task specs: tracks · Repository stores internal process and task artifacts.
- Marketplace repo → Dev container: supports · Repository includes a containerized development environment.
- Marketplace repo → Just tasks: automates · Repository provides task automation for contributors.
- Plugin catalog → Plugin manifest: packages via · Each plugin is bounded by a manifest that defines installable assets.
- Plugin catalog → Custom agent: includes · Installable skill-generator plugin.
- Plugin catalog → DDD rules: includes · Reusable architectural rule set.
- Plugin catalog → Docs plugin: includes · Docs-oriented skill plugin.
- Plugin catalog → FPF: includes · Evidence-based reasoning workflow plugin.
- Plugin catalog → Git plugin: includes · Git and PR workflow plugin.
- Plugin catalog → Kaizen: includes · Continuous-improvement workflow plugin.
- Plugin catalog → MCP plugin: includes · MCP setup/build plugin.
- Plugin catalog → Reflexion: includes · Hook-driven reflection plugin.
- Plugin catalog → Review: includes · Multi-agent review plugin.
- Plugin catalog → SADD: includes · Multi-agent orchestration plugin.
- Plugin catalog → SDD: includes · Spec-driven development plugin.
- Plugin catalog → TDD: includes · Testing workflow plugin.
- Plugin catalog → Tech stack: includes · Language-specific rules plugin.
- Docs site → Guides: navigates to · GitBook navigation fans out into guide pages.
- Docs site → Plugin docs: navigates to · Documentation mirrors the plugin catalog.
- Docs site → Reference: navigates to · Reference pages define commands, agents, and skills.
- Task specs → Reports: produces · Completed or executed work is recorded in reports.
- Task specs → Research: depends on · Task work is informed by research notes and resources.
- SDD → DDD rules: uses rules from · Spec-driven development incorporates architectural guidance.
- SDD → Task specs: operates on · SDD work is organized around task artifacts and phases.
- SDD → SADD: orchestrates with · SDD relies on sub-agent coordination patterns.
- Review → SADD: orchestrates with · Review fans out through specialized agent roles.
- Reflexion → Plugin manifest: extends via · Hook package is installed through the plugin manifest boundary.
- Reflexion → Dev container: developed in · Hook runtime is part of the repo's containerized dev setup.
- Reflexion → Just tasks: tested with · Repository automation helps run and maintain the hook subsystem.
- FPF → Review: complements · Evidence loop pairs naturally with verification and critique.
- Git plugin → Reports: records · Git workflow tasks can be captured as step reports.
- Custom agent → Plugin docs: documented by · Skill-generation workflows are explained in plugin docs.