Skip to content
Back to skills

Direct Implementation

ASecurity

Rapid single-turn direct implementation workflow for unambiguous, low-risk,

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 20, 2026
code-qualitytestingrefactoringgitapi

Works with

  • cursor
  • api

Security analysis

A100/100

Scanned September 20, 2026

npx -y skills add ruskicoder/system-prompts --skill direct-implementation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Direct Implementation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Direct Implementation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ruskicoder-direct-implementation/badge)](https://www.skillsdirectory.com/skills/ruskicoder-direct-implementation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: direct-implementation
description: Rapid single-turn direct implementation workflow for unambiguous, low-risk,
  single-file code changes and bug fixes with known root causes. Enforces pre-action
  checks and post-edit sanity verification.
argument-hint: <change description or target file>
---

<!-- Generated from workflows/direct-implementation.md by tools/generate_integrations.py. Edit the source file, not this one. This is an execution WORKFLOW packaged as an Agent Skill so it is discoverable and directly invocable ("/direct-implementation") in every compatible tool. -->

# Workflow: Direct Implementation

## When to Use
| Criteria | Match |
|----------|-------|
| Intention | simple_change, bug_fix (known cause) |
| Complexity | single file, known solution, low risk |
| Power Mode | Eco or Balanced |
| Clarity | requirements are precise and unambiguous |

## Required Skills
- file-operations
- code-execution
- code-quality-testing
- communication-tone
- safety-profiles (default)

## Flow

### Step 0: Thinking Stage (Pre-Action)
Before any action, apply the Universal Pre-Action Protocol from AGENT.md §B:
- [ ] Do I understand the user's actual intent? Re-evaluate on every message *(Factory)*
- [ ] Have I read the relevant files? NEVER edit code you haven't read
- [ ] Have I verified my assumptions? Search/grep/query to confirm before acting
- [ ] Do I have enough context, or am I guessing?
- [ ] If unsure: search first, ask user second

### Step 1: Understand
- Read the request once
- If unclear: ask ONE clarifying question, then proceed
- If clear: acknowledge and move to execute

### Step 2: Locate
- Search/grep for relevant files
- Read the file(s) you need to modify
- Do NOT explore unrelated code

### Step 3: Edit
- Make the minimal change to satisfy the request
- Use SEARCH/REPLACE for targeted edits
- Combine all changes into minimal tool calls
- Verify: all imports, deps, and syntax correct

### Step 4: Verify
- Run linter on changed files
- Run relevant tests
- Fix any introduced errors (max 3 cycles)

### Step 4b: Sanity Check (Pre-Presentation)
Before presenting, run the Sanity Check from AGENT.md §B Stage 2:
- [ ] Is this the MINIMAL change needed? No scope creep?
- [ ] Does the code have all necessary imports and dependencies?
- [ ] Will it compile/build immediately? *(Windsurf)*
- [ ] Have I checked for linter errors? *(Cursor: max 3 fix cycles)*
- [ ] Did I verify the change fixes the actual problem?

If any check fails: STOP, fix, then proceed.

### Step 5: Present
- Brief summary: what changed, why, and (if applicable) how to verify
- Don't elaborate beyond what was asked

## Token Budget
- **Typical**: 2K-10K tokens
- **Max recommended**: 20K tokens
- **Warning threshold**: 50K tokens → you're probably in the wrong workflow

## GitNexus Integration
- Optional: `query({search_query})` for quick symbol lookup if unsure of location
- Skip for known locations

## Hallucination Watchpoints
- Overcomplicating a simple change (adding features not requested)
- Editing files without reading them first
- Making changes beyond the scope of the request
- Refactoring unrelated code "while you're in there"

## Example
```
User: "Change the port from 3000 to 8080 in server.js"

1. grep for "3000" in server.js → found at line 12
2. read server.js → understand context
3. edit: port 3000 → port 8080
4. run linter → clean
5. "Changed port from 3000 to 8080 in server.js:12"
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…