Skip to content
Back to skills

Implement

ASecurity

Implement through pattern learning

  • 4 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added May 26, 2026
developmentgit

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add bitcraft-apps/spec-first --skill implement --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Implement?

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

Security grade badge for Implement
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bitcraft-apps-implement/badge)](https://www.skillsdirectory.com/skills/bitcraft-apps-implement)

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: implement
description: Implement through pattern learning
disable-model-invocation: true
argument-hint: "[--isolate] [SPECIFICATION_OR_PATH]"
---

# Implement Command

Creates minimal implementation following existing patterns.

## Usage
```
/sf:implement [--isolate] [SPECIFICATION_OR_PATH]
```

---

## Project Context
- Branch: !`git branch --show-current 2>/dev/null`
- Spec exists: !`test -f .claude/.sf/spec.md && echo "yes" || echo "no"`

## Input Resolution

**Input Resolution:**

1. Parse $ARGUMENTS: If `--isolate` is present, set ISOLATE=true and strip it from remaining args
2. If remaining args provided: Use as specification path or inline requirements
3. Else if `.claude/.sf/spec.md` exists: Use it
4. Else: Use **AskUserQuestion** tool to ask for specification location

## Execution

After input resolution, run sequential agents:

**Step 1: Learn**
- Use Agent tool with subagent_type="Explore", maxTurns=10 to find similar patterns in the codebase for: $SPECIFICATION (request "medium" thoroughness in the prompt)
- Save findings to `.claude/.sf/research/pattern-example.md`

**Step 2: Implement**
- If ISOLATE is true: Task: implement-minimal (maxTurns: 25) with spec: $SPECIFICATION, isolation: "worktree"
- Else: Task: implement-minimal (maxTurns: 25) with spec: $SPECIFICATION

Output: Implementation + `.claude/.sf/implementation-summary.md`

## Philosophy

This command enforces:
- Pattern consistency over creativity
- Working code over perfect code
- Minimal solution over extensible solution

## Error Recovery

If exploration finds no patterns:
1. implement-minimal creates basic file structure following language conventions
2. Implements only the core requirement (no extras)
3. Uses standard naming patterns for the technology
4. Notes in summary: "No existing patterns found - used minimal approach"

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…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.