agentleFS
Tony363Tony363/SuperClaude/.claude/skills/sc-implement/SKILL.md

sc-implement

Skill19 starsChanged 7 months agoMITView on GitHub

Feature implementation with intelligent persona activation, task orchestration, and MCP integration. Use when implementing features, APIs, components, services, or coordinating multi-agent development. Triggers on requests for code implementation, feature development, or complex task orchestration.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 6 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Generate: - Create implementation with framework best practices

    line 27
  2. Very specific:

    Run KISS validation: python .claude/skills/sc-principles/scripts/validate_kiss.py --scope-root .

    line 29
  3. Very specific:

    Run Purity validation: python .claude/skills/sc-principles/scripts/validate_purity.py --scope-root .

    line 30
  4. Distinctive:

    Integrate: - Update docs, provide testing recommendations

    line 32
  5. Very specific:

    When --loop is enabled, MCP tools are used between iterations:

    line 159
  6. Distinctive:

    Start in analysis mode; produce scoped plan before touching files

    line 169
  7. Distinctive:

    Only mark complete when referencing concrete repo changes (filenames + diff hunks)

    line 170
  8. Distinctive:

    Prefer minimal viable change.

    line 172
  9. Distinctive:

    Never claim code exists without proof

    line 180
  10. Very specific:

    When using --loop, this skill integrates with the skill persistence layer for cross-session learning:

    line 201

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Implementation Skill

Comprehensive feature implementation with coordinated expertise and systematic development.

Quick Start

# Basic implementation
/sc:implement [feature-description] --type component|api|service|feature

# With framework
/sc:implement dashboard widget --framework react|vue|express

# Complex orchestration
/sc:implement [task] --orchestrate --strategy systematic|agile|enterprise

Behavioral Flow

  1. Analyze - Examine requirements, detect technology context
  2. Plan - Choose approach, activate relevant personas
  3. Generate - Create implementation with framework best practices
  4. Validate - Apply security, quality, and principles validation
    • Run KISS validation: python .claude/skills/sc-principles/scripts/validate_kiss.py --scope-root . --json
    • Run Purity validation: python .claude/skills/sc-principles/scripts/validate_purity.py --scope-root . --json
    • If blocked: Refactor code to comply before proceeding
  5. Integrate - Update docs, provide testing recommendations

Flags

FlagTypeDefaultDescription
--typestringfeaturecomponent, api, service, feature
--frameworkstringautoreact, vue, express, etc.
--safeboolfalseEnable safety constraints
--with-testsboolfalseGenerate tests alongside code
--fast-codexboolfalseStreamlined path, skip multi-persona
--orchestrateboolfalseEnable hierarchical task breakdown
--strategystringsystematicsystematic, agile, enterprise, parallel, adaptive
--delegateboolfalseEnable intelligent delegation
--principlesbooltrueEnable KISS/Purity validation
--strict-principlesboolfalseTreat principles warnings as errors

Personas Activated

  • architect - System design, architectural decisions
  • frontend - UI/component implementation
  • backend - API/service implementation
  • security - Security validation, auth concerns
  • qa-specialist - Testing, quality assurance
  • devops - Infrastructure, deployment
  • project-manager - Task coordination (with --orchestrate)
  • code-warden - Principles enforcement (KISS, Purity)

MCP Integration

PAL MCP (Always Use for Quality)

ToolWhen to UsePurpose
mcp__pal__consensusArchitectural decisionsMulti-model validation before major changes
mcp__pal__codereviewCode qualityReview implementation quality, security, performance
mcp__pal__precommitBefore commitValidate all changes before git commit
mcp__pal__debugImplementation issuesRoot cause analysis for bugs encountered
mcp__pal__thinkdeepComplex featuresMulti-stage analysis for complex implementations
mcp__pal__plannerLarge featuresSequential planning for multi-step implementations
mcp__pal__apilookupDependenciesGet current API/SDK documentation
mcp__pal__challengeCode review feedbackCritically evaluate review suggestions

PAL Usage Patterns

# Consensus for architectural decision
mcp__pal__consensus(
    models=[
        {"model": "gpt-5.2", "stance": "for"},
        {"model": "gemini-3-pro", "stance": "against"},
        {"model": "deepseek", "stance": "neutral"}
    ],
    step="Evaluate: Should we use Redux or Context API for state management?"
)

# Pre-commit validation
mcp__pal__precommit(
    path="/path/to/repo",
    step="Validating implementation changes",
    findings="Security, performance, completeness checks",
    confidence="high"
)

# Code review after implementation
mcp__pal__codereview(
    review_type="full",
    step="Reviewing new authentication implementation",
    findings="Quality, security, performance, architecture",
    relevant_files=["/src/auth/login.ts", "/src/auth/middleware.ts"]
)

# Debug implementation issue
mcp__pal__debug(
    step="Investigating why API returns 500 on edge case",
    hypothesis="Null check missing for optional field",
    confidence="medium"
)

Rube MCP (Automation & Integration)

ToolWhen to UsePurpose
mcp__rube__RUBE_SEARCH_TOOLSExternal servicesFind APIs, SDKs, integrations
mcp__rube__RUBE_MULTI_EXECUTE_TOOLCI/CD, notificationsTrigger builds, notify team, update tickets
mcp__rube__RUBE_REMOTE_WORKBENCHCode generationBulk code operations, transformations
mcp__rube__RUBE_CREATE_UPDATE_RECIPEReusable workflowsSave implementation patterns as recipes
mcp__rube__RUBE_MANAGE_CONNECTIONSVerify integrationsEnsure external service connections

Rube Usage Patterns

# Search for integration tools
mcp__rube__RUBE_SEARCH_TOOLS(queries=[
    {"use_case": "send slack message", "known_fields": "channel_name:dev-updates"},
    {"use_case": "create github pull request", "known_fields": "repo:myapp"}
])

# Notify team and update ticket on completion
mcp__rube__RUBE_MULTI_EXECUTE_TOOL(tools=[
    {"tool_slug": "SLACK_SEND_MESSAGE", "arguments": {
        "channel": "#dev-updates",
        "text": "Feature implemented: User authentication flow"
    }},
    {"tool_slug": "JIRA_UPDATE_ISSUE", "arguments": {
        "issue_key": "PROJ-123",
        "status": "In Review"
    }},
    {"tool_slug": "GITHUB_CREATE_PULL_REQUEST", "arguments": {
        "repo": "myapp",
        "title": "feat: Add user authentication",
        "base": "main",
        "head": "feature/auth"
    }}
])

# Save implementation workflow as recipe
mcp__rube__RUBE_CREATE_UPDATE_RECIPE(
    name="Feature Implementation Workflow",
    description="Standard flow for implementing features with notifications",
    workflow_code="..."
)

MCP-Powered Loop Mode

When --loop is enabled, MCP tools are used between iterations:

  1. Iteration N - Implement feature
  2. PAL codereview - Assess quality (target: 70+ score)
  3. PAL debug - Investigate any issues found
  4. Iteration N+1 - Apply improvements
  5. PAL precommit - Final validation before marking complete

Guardrails

  • Start in analysis mode; produce scoped plan before touching files
  • Only mark complete when referencing concrete repo changes (filenames + diff hunks)
  • Return plan + next actions if tooling unavailable
  • Prefer minimal viable change; skip speculative scaffolding
  • Escalate to security persona before modifying auth/secrets/permissions

Evidence Requirements

This skill requires evidence. You MUST:

  • Show actual file diffs or code changes
  • Reference test results or lint output
  • Never claim code exists without proof

Examples

React Component

/sc:implement user profile component --type component --framework react

API with Tests

/sc:implement user auth API --type api --safe --with-tests

Complex Orchestration

/sc:implement "enterprise auth system" --orchestrate --strategy systematic --delegate

Loop Mode & Learning

When using --loop, this skill integrates with the skill persistence layer for cross-session learning:

How Learning Works

  1. Feedback Recording - Each iteration's quality scores and improvements are persisted
  2. Skill Extraction - Successful patterns are extracted when quality threshold is met
  3. Skill Retrieval - Relevant learned skills are injected into subsequent tasks
  4. Effectiveness Tracking - Applied skills are tracked for success rate

Loop Flags

FlagTypeDefaultDescription
--loopint3Enable iterative improvement (max 5)
--learnbooltrueEnable learning from this session
--auto-promoteboolfalseAuto-promote high-quality skills

Example with Learning

# Iterative implementation with learning
/sc:implement auth flow --loop 3 --learn

# View learned skills
python scripts/skill_learn.py '{"command": "stats"}'

# Retrieve relevant skills
python scripts/skill_learn.py '{"command": "retrieve", "task": "auth"}'

Learned Skills Location

Promoted skills are stored in:

.claude/skills/learned/
├── SKILL.md                    # Index
├── learned-backend-auth/       # Example promoted skill
│   ├── SKILL.md
│   └── metadata.json

Resources

  • scripts/select_agent.py - Agent selection logic
  • scripts/evidence_gate.py - Evidence validation
  • scripts/skill_learn.py - Skill learning management

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.