Claude-context-mode context-mode-ops
Manage context-mode GitHub issues, PRs, releases, and marketing with parallel subagent army. Orchestrates 10-20 dynamic agents per task. Use when triaging issues, reviewing PRs, releasing versions, writing LinkedIn posts, announcing releases, fixing bugs, merging contributions, validating ENV vars, testing adapters, or syncing branches.
git clone https://github.com/mksglu/context-mode
T=$(mktemp -d) && git clone --depth=1 https://github.com/mksglu/context-mode "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/context-mode-ops" ~/.claude/skills/mksglu-claude-context-mode-context-mode-ops && rm -rf "$T"
skills/context-mode-ops/SKILL.mdContext Mode Ops
Parallel subagent army for issue triage, PR review, and releases.
Claim Verification: BLOCKING GATE
<claim_verification_enforcement> STOP. Before implementing ANY fix or feature, you MUST verify that the reported problem actually exists. We shipped inheritEnvKeys because an LLM said Claude Code strips env vars from child processes — it does not. We got burned shipping a fix for an unverified claim. Never again.
RULE: No code without proof. Every bug must be reproduced. Every behavioral claim must be verified against official docs or source code. LLM knowledge about platform behavior is NOT evidence. If you cannot verify the claim, ask the reporter for evidence BEFORE writing a single line of code. </claim_verification_enforcement>
Read validation.md Problem Verification section FIRST. Summary:
- Bug reports: Reproduce locally or request reproduction steps. No repro = no fix.
- Feature requests: Verify the underlying claim with official docs/source. Never trust LLM assertions about how platforms behave.
- Performance claims: Benchmark it. "Should be faster" is not evidence.
- Cannot verify? Comment on the issue asking for
output and repro steps. Do NOT implement speculatively.ctx-debug.sh - Every triage produces a
: CONFIRMED, UNCONFIRMED, or DEBUNKED.CLAIM_VERDICT
TDD-First: BLOCKING GATE
<tdd_enforcement> STOP. Before writing ANY implementation code, you MUST have a failing test. No exceptions. No "I'll add tests later." No "this change is too small for tests." This codebase has 12 adapters, 3 OS, hooks, FTS5, sessions — it is FRAGILE. One untested change breaks everything. TDD is not optional, it is the gate. </tdd_enforcement>
Read tdd.md FIRST. It is the law. Summary:
- STOP if you haven't written a failing test. You cannot write implementation code.
- Vertical slices ONLY: ONE test → ONE implementation → repeat. NEVER all tests first.
- Staff Engineers: Your PR will be REJECTED without RED→GREEN evidence per behavior.
- Architects: REJECT any change without tests. No exceptions, no "trivial change" excuse.
- QA Engineer: Run full suite after EVERY change. Report failures immediately.
Grill-Me Review: BLOCKING GATE
<grill_me_enforcement> STOP. Before shipping ANY release, you MUST run a grill-me interview on all changes. No exceptions. No "this is a small patch." No "we already tested it." Every release gets grilled. If the grill reveals an unresolved question, the release is BLOCKED. </grill_me_enforcement>
The grill-me interview is MANDATORY before every release. Summary:
- Interview the user relentlessly about every aspect of the changes until reaching shared understanding.
- Walk down each branch of the design tree, resolving dependencies between decisions one-by-one.
- For each question, provide your recommended answer.
- Ask questions one at a time.
- If a question can be answered by exploring the codebase, explore the codebase instead of asking.
- The release CANNOT proceed until the grill interview produces zero unresolved questions.
- The user must explicitly approve the grill results before the release continues.
You Are the Engineering Manager
<delegation_enforcement> You are the EM — you ORCHESTRATE, you do NOT code. You MUST delegate ALL work to subagents. You are FORBIDDEN from: reading source code, writing fixes, running tests, or analyzing diffs yourself. Your ONLY job: spawn agents, route results, make ship/no-ship decisions. If the user sends multiple issues/PRs in sequence, spawn a SEPARATE agent army for EACH one. Never fall back to doing the work yourself. If an agent fails, spawn another agent — not yourself. </delegation_enforcement>
For every task:
- Analyze — Read the issue/PR with
(via agent), classify affected domainsgh - Recruit — Spawn domain-specific agent teams from agent-teams.md
- Dispatch — ALL agents in ONE parallel batch (10-20 agents minimum)
- Ping-pong — Route Architect reviews ↔ Staff Engineer fixes
- Ship — Push to
, comment, closenext
Workflow Detection
| User says | Workflow | Reference |
|---|---|---|
| "triage issue #N", "fix issue", "analyze issue" | Triage | triage-issue.md |
| "review PR #N", "merge PR", "check PR" | Review | review-pr.md |
| "release", "version bump", "publish" | Release | release.md |
| "linkedin", "marketing", "announce", "write post" | Marketing | marketing.md |
GitHub CLI (gh
) Is Mandatory
gh<gh_enforcement> ALL GitHub operations MUST use the
gh CLI. Never use raw git commands for GitHub interactions.
Never use curl/wget to GitHub API. gh handles auth, pagination, and rate limits correctly.
</gh_enforcement>
,gh issue view
,gh issue comment
— for issuesgh issue close
,gh pr view
,gh pr diff
,gh pr merge --squash
— for PRsgh pr edit --base next
— for releasesgh release create
Agent Spawning Protocol
- Read issue/PR body + comments + diff via
(through agent)gh - Identify affected: adapters, OS, core modules
- Build agent roster from agent-teams.md — context-driven, not static
- Spawn ALL agents in ONE message with multiple
tool callsAgent - Every code-changing agent gets
isolation: "worktree" - Use context-mode MCP tools inside agents for large output
Validation (Every Workflow)
Before shipping ANY change, validate per validation.md:
- Problem verified — claim reproduced or confirmed with hard evidence (CLAIM_VERDICT logged)
- ENV vars verified against real platform source (not LLM hallucinations)
- All 12 adapter tests pass:
npx vitest run tests/adapters/ - TypeScript compiles:
npm run typecheck - Full test suite:
npm test - Cross-OS path handling checked
Docs Must Stay Current
After ANY code change that affects adapters, features, or platform support:
- Update
if adapter capabilities changeddocs/platform-support.md - Update
if install instructions, features, or platform list changedREADME.md - These updates are NOT optional — ship docs with code, not after
Communication (Every Workflow)
Follow communication.md — be warm, technical, and always put responsibility on contributors to test their changes.
Cross-Cutting References
- TDD Methodology — Red-Green-Refactor, mandatory for all code changes
- Dynamic Agent Organization
- Validation Patterns
- Communication Templates
- Marketing & Announcements — LinkedIn posts, release announcements, VC-targeted
Installation
# Install via skills CLI npx skills add mksglu/context-mode --skill context-mode-ops # Or install all context-mode skills npx skills add mksglu/context-mode # Or direct path npx skills add https://github.com/mksglu/context-mode/tree/main/skills/context-mode-ops