mcpField
S
sc-implement

sc-implement

github.com/tony363Development2094 installsUpdated 30w ago
Repository

About sc-implement

sc-implement is an implementation skill for planning and carrying out software work, from components to APIs and services. It moves through analysis, planning, generation, validation, and integration, with options for quality checks, MCP tools, and iterative learning.

Key features

  1. 01Analyze requirements and form an implementation plan
  2. 02Generate components, APIs, services, or features
  3. 03Run security, quality, and principles validation
  4. 04Coordinate complex tasks with selectable strategies
  5. 05Support iterative improvement and skill learning

Use cases

  1. 01Implement an API with tests
  2. 02Build React or Vue components
  3. 03Orchestrate a complex feature task
  4. 04Improve an implementation through review loops

MCP support

The skill can use PAL MCP for architecture decisions, code review, debugging, and pre-commit checks, and Rube MCP to find integration tools and run automation. In loop mode, MCP tools are used between iterations.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/tony363/superclaude --skill sc-implement

After installing, type/sc-implementin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

scripts/
evidence_gate.py
loop_entry.py
run_tests.py
select_agent.py
skill_learn.py

Details

From the project README

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

Comments

Markdown supported