agentleFS
viksantviksant/swe-skills/skills/context-implement/SKILL.md

context-implement

Skill4 starsChanged 5 months agoMITView on GitHub

Context-driven implementation workflow: reads the FULL conversation to extract the user's true intent, then plans, executes, self-critiques (Reflexion) and verifies — using Chain-of-Thought and ReAct. Use when the user asks to "implement what we discussed", "build the feature from this chat", "apply the changes we agreed on", "now implement it", or wants code written strictly to the conversation's intent with no scope creep. NOT for: greenfield ideas with no prior chat context (brainstorm/plan first), pure research or exploration, or debugging an existing bug (use a debugging protocol). Do not auto-invoke to write code unless the user asks to implement.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read relevant project files

    line 63

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Context-Driven Implementation

Core: Analyze chat context -> Plan -> Execute -> Validate -> Deliver

Request: "$ARGUMENTS"

Cognitive framework: this workflow runs on Chain-of-Thought + Reflexion + ReAct. Read ${CLAUDE_PLUGIN_ROOT}/shared/cognitive-framework.md for the exact protocol (explicit reasoning chain, self-critique phase, reasoning/actions/results with evidence).

Composed skills (apply each at its phase, do not re-derive them):

  • scope-creep-prevention — active during the whole implementation; ship ONLY what the chat requested, no "while I'm here" extras.
  • meticulous-code-review — run over the diff before declaring the work done.
  • verification-before-completion — run the real verification commands and confirm output before making any "done/working" claim.

Constraints

RuleDescription
Chat Analysis FirstRead ALL messages to understand true intent
No AssumptionsNever guess what the user wants
No Scope CreepDon't add unrequested features
Pattern-ConsistentFollow existing project patterns

Execution phases

Phase 1: CHAT CONTEXT ANALYSIS

**Message-by-Message:**
- Initial request: [What user first asked]
- Refinements: [How request evolved]
- Constraints mentioned: [Technical preferences]
- Files referenced: [Specific files user mentioned]

**True Request:**
- Explicit: [Direct ask]
- Implicit: [Problem being solved]
- Must NOT have: [Features user rejected]

Phase 2: PROJECT CONTEXT

  1. Read relevant project files
  2. Understand existing patterns
  3. Map integration points
  4. Identify dependencies

Phase 3: IMPLEMENTATION PLANNING

**Feature:** [From chat]
**Why:** [User's reason from chat]
**Where:** [Which files]
**How:** [Technical approach]
**Pattern:** [Existing pattern to follow]

Phase 4: IMPLEMENTATION

For each feature:

// User requested: [specific feature from chat]
// Following pattern from: [existing-file.ts:line]
[implementation code]

Phase 5: REFLEXION

  • Implemented what the user ACTUALLY requested?
  • Used the user's preferred technical approach?
  • Addressed ALL aspects of the request?
  • Added anything the user didn't ask for? (remove it)

Phase 6: RESULTS

## Implementation Summary

**User's Request:** [From chat analysis]

**Implemented:**
- [Feature 1]
- [Feature 2]

**Files Modified:**
- `file.ts` - [Changes]

**Tests:** Passing

**Verification:**
- [Scenario from chat]: Works as expected

Success criteria

  1. Implements the user's exact request from the conversation
  2. Uses the user's preferred technical approach
  3. Follows project patterns
  4. Contains ONLY requested features
  5. All tests passing

Quality Metric: "Did I implement EXACTLY what the user asked for in the chat?"


Now proceeding with implementation of: $ARGUMENTS

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.