Help us improve
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
By seokrae
7-Phase Context Engineering plugin: a single pipeline to collect, select, structure, compress, generate, and verify AI context.
npx claudepluginhub seokrae/context-engineering --plugin context-engineeringPhase 4-5: Structures and compresses the selected context. Receives gather Artifacts and organizes them into a model-readable form, retaining only the essentials. Keywords: context structuring, compression, key facts, constraints, decisions
Phase 6: Generates the final output matching Phase 1 success criteria. Receives the context compressed by build and assembles it into one of: execution instruction / KB entry / project artifacts. Keywords: execution instruction, prompt, role task constraints output format, knowledge entry, CLAUDE.md, spec
7-Phase Context Engineering pipeline — systematically builds context to send to AI. Problem Definition → Candidate Collection → Selection → Structuring → Compression → Execution Instruction Generation → Verification. Keywords: context engineering, ai context, prompt, knowledge base, CLAUDE.md, spec, 7-phase
Phase 1-3: Define the problem, collect context candidates, and select only what is needed. The first stage of the 7-Phase Context Engineering pipeline. Keywords: problem definition, context collection, selection, relevance, recency, reliability
Phase 7: Final holistic verification. Automatically invoked on G6 failure, or run manually. Checks for omissions, conflicts, speculation, and consistency, then reports confidence. Artifacts are not modified — only the verification log is recorded. Keywords: verification, holistic check, confidence, feedback loop, omission, conflict, speculation
Share bugs, ideas, or general feedback.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Manus-style persistent markdown files for planning, progress tracking, and knowledge storage. Works with Claude Code, Kiro, Clawd CLI, Gemini CLI, Cursor, Continue, Hermes, and 17+ AI coding assistants. Now with Arabic, German, Spanish, and Chinese (Simplified & Traditional) support.
Harness-native ECC plugin for engineering teams - 64 agents, 262 skills, 84 legacy command shims, reusable hooks, rules, MCP conventions, and operator workflows for Claude Code plus adjacent agent harnesses
Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques
Tools to maintain and improve CLAUDE.md files - audit quality, capture session learnings, and keep project memory current.
Plugin-safe Claude Code distribution of Antigravity Awesome Skills with 1,495 supported skills.
착수보고서(Project Charter) 체크리스트 기반 검토 플러그인. PM 표준 기반으로 완성도·모호성·일관성·리스크를 분석한다.
JD(채용공고) 기반 이력서 맞춤 최적화 스킬. JD를 채점 기준표로 분석하고 경험을 PHER 구조로 재구성한다.
Generate self-contained HTML visualizations from documents and data
Obsidian 제텔카스텐 + 프로젝트 문서 관리 플러그인 — capture·study·wiki·lint-wiki·daily·weekly·retro·scaffold·iss·hub·wbs·history·visualize·audit·migrate·search·archive·defuddle·canvas·obsidian-bases
karpathy-guidelines와 issue-driven development가 구조적으로 통합된 커스텀 개발 워크플로우 하네스
A Claude Code plugin that systematically prepares AI context through a 7-phase pipeline — deciding what information to include, in what structure, at what level of compression.
| Question | Answer |
|---|---|
| When | Information comes from 2+ sources, or a simple copy-paste would cause the AI to miss context |
| How | Run /context-engineering → answer 3 questions → the 7-phase pipeline handles the rest. Jump directly to a sub-skill if prior phases are already done |
| How Much | Compression scales with input size — see the Token Budget table below |
| Situation | Use CE? | Reason |
|---|---|---|
| Single question, no extra context needed | No | A plain prompt is enough |
| Editing one file with a clear scope | No | Direct instruction is faster |
| Combining information from 2+ sources | Yes | AI will miss context without it |
| Need to reference previous decisions | Yes | KB retrieval keeps things consistent |
| Starting a project (CLAUDE.md + spec) | Yes | Format C generates all project artifacts |
| Writing the same type of prompt repeatedly | Yes | Format A produces a reusable instruction |
| Accumulating domain knowledge | Yes | Format B saves a KB entry |
| Scenario | Entry point | Prerequisite |
|---|---|---|
| Starting from scratch | /context-engineering | — |
| Re-running gather only | :gather | — |
| Phase 1/3 artifacts already exist | :build | gather output required |
| Compressed context block exists | :compose | build output required |
| Re-validating existing output | :verify | compose output required |
| KB housekeeping | :verify --consolidate | Maintenance mode (independent of pipeline) |
Each sub-skill checks for its prerequisite artifacts and exits with guidance if they are missing.
Once you know which sub-skill to enter, decide what context sources take priority for your task type:
| Task type | Priority context | De-prioritize | Output |
|---|---|---|---|
| Q&A / factual answer | Retrieval-heavy: KB entries, source evidence, authoritative docs | Conversation history, speculative notes | — (direct answer) |
| Project setup | Architecture principles, CLAUDE.md policy, spec template, implementation plan | Unrelated KB entries | C |
| Knowledge base entry | Consolidation check, duplicate detection, stale entry check | Raw source text (already distilled) | B |
| Execution instruction | Role, task, constraints, output format | Verbose background (compress in Phase 5) | A |
This table guides Phase 2 source selection and Phase 5 compression priorities. See context-source-strategy.md for the underlying RAG / Memory / Tool Result / System Prompt classification.
Phase 5 compresses collected context to fit within a target token budget. Compression tier is determined by input size:
| Scale | Word count | Target compression | Strategy |
|---|---|---|---|
| Small (single file / question) | < 500 words | None needed | Pass through as-is |
| Medium (module / feature) | 500–2,000 words | ≤ 50% | Summarize Notes → remove duplicates |
| Large (full project) | 2,000+ words | ≤ 30% | Remove Notes → condense Key Facts |
Compression order (what gets cut first):
For large sources (2,000+ words), Phase 5 uses progressive loading: scan headers first, then read only the sections relevant to Phase 1 purpose.
Context Engineering is the practice of designing what goes into an LLM's context window — beyond writing a single good prompt, it decides what information to give AI, when, and in what structure. RAG, memory architecture, token budget management, and system prompt design all fall under this umbrella.
--consolidate detects duplicate, stale, and orphaned entries