CO

context-engineering

Engineering protocol to build and track cross-process constraints for Electron tasks.

Install

mkdir -p .claude/skills/context-engineering-cooperagent && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/10669" && unzip -o skill.zip -d .claude/skills/context-engineering-cooperagent && rm skill.zip

Installs to .claude/skills/context-engineering-cooperagent

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Build comprehensive task context before making changes. Track constraints, dependencies, and execution order across multi-file work in Cooper's Electron architecture.
166 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Document task context
  • Track cross-process dependencies
  • Enforce IPC contracts
  • Validate process boundaries

How it works

The skill guides the creation of a context block that tracks objectives, dependencies, and constraints across Electron processes before implementation begins.

Inputs & outputs

You give it
Task objectives and scope
You get back
Context engineering block

When to use context-engineering

  • Add settings option
  • Change IPC handler
  • Update renderer component
  • Refactor electron modules

About this skill

Context Engineering

Purpose

Build comprehensive task context before making changes. Track constraints, dependencies, and execution order across multi-file work in Cooper's Electron architecture.

When to Use

  • Any multi-file or cross-process change (main ↔ preload ↔ renderer)
  • Changes that touch both IPC handlers and UI components
  • Features spanning multiple Cooper subsystems (SDK, terminal, voice, worktrees)

When NOT to Use

  • Single-file typo fixes or documentation-only changes
  • Changes isolated to a single component with no cross-process impact

Activation Rules

Step 1: Document Context

Before starting work, create a context block:

## Task Context

**Objective**: [What are we trying to achieve?]
**Scope**: [Which files/processes are affected?]
**Process Boundary**: [main | preload | renderer | all]

### Dependencies

- [List files/modules this change depends on]

### Constraints

- [Cooper conventions: IPC contract, no Node in renderer, etc.]
- [TypeScript strict mode]
- [Tailwind-only styling]

### Assumptions

- [What are we assuming?]

### Risk Areas

- [Breaking IPC contracts?]
- [Electron security model violations?]

Step 2: Track During Execution

Update context as you work:

  • Mark completed items
  • Note unexpected discoveries
  • Add new constraints found during implementation

Step 3: Validate Before Completion

  • All scope items addressed
  • No constraint violations
  • Dependencies properly handled
  • IPC contracts maintained

Cooper-Specific Examples

Example: Adding a new settings option

## Task Context

**Objective**: Add "auto-save sessions" toggle to settings
**Scope**: Settings component, electron-store, main process handler
**Process Boundary**: all (main + preload + renderer)

### Dependencies

- src/renderer/components/SettingsPanel.tsx
- src/preload/preload.ts (new IPC bridge method)
- src/main/main.ts (new IPC handler)

### Constraints

- Must go through preload bridge (no direct Node access)
- electron-store for persistence
- Tailwind for styling

Success Criteria

  • Context documented before implementation starts
  • All cross-process impacts identified
  • No surprise breaking changes

Related Skills

When not to use it

  • Single-file fixes

Limitations

  • Requires manual context tracking
  • Electron-specific

How it compares

It focuses on the specific IPC and security constraints of Cooper's Electron architecture, preventing common cross-process bugs.

Compared to similar skills

context-engineering side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
context-engineering (this skill)04moNo flagsIntermediate
brainstorming934moReviewBeginner
create-plan368moReviewBeginner
project-planner329moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

brainstorming

obra

Use when creating or developing, before writing code or implementation plans - refines rough ideas into fully-formed designs through collaborative questioning, alternative exploration, and incremental validation. Don't use during clear 'mechanical' processes

93235

create-plan

antinomyhq

Generate detailed implementation plans for complex tasks. Creates comprehensive strategic plans in Markdown format with objectives, step-by-step implementation tasks using checkbox format, verification criteria, risk assessments, and alternative approaches. Use when users need thorough analysis and structured planning before implementation, when breaking down complex features into actionable steps, or when they explicitly ask for a plan, roadmap, or strategy. Strictly planning-focused with no code modifications.

36121

project-planner

adrianpuiu

Comprehensive project planning and documentation generator for software projects. Creates structured requirements documents, system design documents, and task breakdown plans with implementation tracking. Use when starting a new project, defining specifications, creating technical designs, or breaking down complex systems into implementable tasks. Supports user story format, acceptance criteria, component design, API specifications, and hierarchical task decomposition with requirement traceability.

32115

confidence-check

SuperClaude-Org

Pre-implementation confidence assessment (≥90% required). Use before starting any implementation to verify readiness with duplicate check, architecture compliance, official docs verification, OSS references, and root cause identification.

13114

system-design

lagz0ne

Use when designing, architecting, or planning a new system from requirements or ideas - transforms concepts into navigable design catalog using EventStorming methodology, Mermaid diagrams, and progressive elaboration through 5 phases (Requirements, Big Picture, Processes, Data/Flows, Integration)

19108

spec-kit-workflow

jmanhype

Guides specification-driven development workflow. Automatically invoked when discussing new features, specifications, technical planning, or implementation tasks. Ensures proper workflow phases (specify → clarify → plan → checklist → tasks → analyze → implement).

11111

Search skills

Search the agent skills registry