implement-github-feature

0
0
Source

Design and implement a new feature or component from a GitHub issue. Use for net-new functionality, not bug fixes.

Install

mkdir -p .claude/skills/implement-github-feature && curl -L -o skill.zip "https://mcp.directory/api/skills/download/5581" && unzip -o skill.zip -d .claude/skills/implement-github-feature && rm skill.zip

Installs to .claude/skills/implement-github-feature

About this skill

Usage: /implement-github-feature ISSUE_NUMBER

Example: /implement-github-feature 281

Implement GitHub feature request $ARGUMENTS following AgnosticUI conventions, accessibility standards, and CSS-first principles.


Setup

  1. Read project context
    • Read .claude/PROJECT_CONTEXT.md
    • Understand:
      • Repository structure
      • Design principles
      • Accessibility requirements
      • Branch conventions
      • Component workflows

Phase 0: Safety Checks (Required)

  1. Verify clean starting state
    • Run git status
    • Confirm:
      • Working directory is clean
      • Current branch is master
    • If either condition fails:
      • STOP
      • Ask the user to resolve before continuing

Phase 1: Branching

  1. Propose feature branch
    • Follow convention: issue-$ARGUMENTS/short-descriptive-name
    • Example: issue-281/selection-card-group
    • Run:
      git checkout -b issue-$ARGUMENTS/short-description
      
    • WAIT FOR USER APPROVAL of branch name before proceeding

Phase 2: Issue Analysis & Intent Extraction (No Code)

  1. Analyze the GitHub issue

    • Fetch full details:
      gh issue view $ARGUMENTS
      
    • Extract and summarize:
      • Feature goals
      • Non-goals / constraints
      • API expectations
      • Accessibility requirements
      • Styling and theming expectations
      • Framework implications (Lit / React / Vue)
  2. Study existing related components

    • Identify components this feature will compose or resemble
    • Read their implementations in v2/lib/src/components/
    • Note patterns for:
      • Props and attributes
      • Slot usage
      • CSS custom properties
      • ::part exposure
      • Event dispatching
      • Accessibility implementation
    • This ensures consistency with established AgnosticUI conventions
  3. Confirm feature classification

    • This is a:
      • Net-new component OR
      • Major enhancement (not a bug fix)
    • If scope appears ambiguous:
      • Ask the user before proceeding

Phase 3: Design Proposal (Hard Stop Before Code)

  1. Propose high-level design

    • Identify:
      • New components to be created
      • Public vs internal APIs
      • Required props vs optional props
      • Slot usage and responsibilities
      • Accessibility model (labels, roles, keyboard behavior)
      • Shadow DOM strategy (::part, ::slotted)
    • Explicitly call out:
      • Web Component constraints
      • CSS-first decisions
      • What is intentionally not supported
  2. Propose file & directory layout

    • Core components:
      • v2/lib/src/components/...
    • Documentation:
      • v2/site/docs/components/...
    • Storybook playgrounds:
      • Lit
      • React
      • Vue
    • Examples:
      • Lit / React / Vue test examples
  3. WAIT FOR USER APPROVAL

  • Do not create files
  • Do not write code
  • Proceed only after explicit approval of:
    • API shape
    • Accessibility approach
    • Styling strategy

Phase 4: Scaffolding (Minimal, Intentional)

  1. Create initial scaffolding

    • Create component directories
    • Add placeholder files where appropriate
    • Add minimal README or doc stubs if needed
    • No implementation logic yet
  2. Show scaffolding diff

    • Use git diff
    • Explain what was created and why
    • WAIT FOR USER APPROVAL

Phase 5: Core Implementation (Lit Web Components First)

  1. Implement core component(s)

    • Work only in:
      • v2/lib/src/components/
    • Follow:
      • CSS-first approach
      • Design token usage
      • Accessibility requirements
    • Ensure:
      • Keyboard interaction works
      • Labels and semantics are correct
      • Shadow DOM parts are intentional and minimal
  2. Verify build

    • Run npm run build in v2/lib/
    • Fix any compilation errors
    • Run npm run lint if available
  3. Pause for review

    • Explain:
      • DOM structure
      • Slot behavior
      • ::part surface
      • Accessibility decisions
    • WAIT FOR USER APPROVAL before proceeding

Phase 6: Framework Integrations

  1. Integrate with frameworks

    • React playground
    • Vue playground
    • Lit playground
    • APIs should feel idiomatic but map 1:1 conceptually
  2. Add Storybook stories

    • Demonstrate:
      • Core use cases
      • Variants
      • Accessibility states
    • Ensure consistency across frameworks

Phase 7: Documentation & Examples

  1. Write documentation

    • Add VitePress docs:
      • API
      • Slots vs props
      • Styling guidance
      • Accessibility notes
    • Update or add playbooks if applicable
  2. Update examples

    • Verify examples compile and behave correctly
    • Keep examples minimal and educational

Phase 8: Final Review & Commit

  1. Final verification

    • Review:
      • git diff
      • Accessibility behavior
      • Styling hooks
      • API consistency
    • Ensure no accidental breaking changes
  2. Prepare commit

    • Stage changes:
      git add .
      
    • Commit message format:
      Add #$ARGUMENTS: [concise feature description]
      
    • Show commit contents
    • WAIT FOR USER APPROVAL before committing

Phase 9: Handoff

  1. Explain next steps
    • User is on branch: issue-$ARGUMENTS/...
    • Review with:
      git diff master
      
    • Push when ready:
      git push -u origin issue-$ARGUMENTS/...
      
    • Create PR:
      gh pr create --base master --head issue-$ARGUMENTS/...
      

Important Rules

  • NEVER work directly on master
  • NEVER push without explicit user permission
  • ALWAYS stop at design gates
  • ALWAYS prioritize accessibility over convenience
  • Prefer slots for layout, props for semantics
  • CSS custom properties > ::part > ::slotted
  • Do not assume intent — if unclear, ask

You might also like

flutter-development

aj-geddes

Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.

643969

drawio-diagrams-enhanced

jgtolentino

Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.

591705

ui-ux-pro-max

nextlevelbuilder

"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."

318399

godot

bfollington

This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.

340397

nano-banana-pro

garg-aayush

Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.

452339

fastapi-templates

wshobson

Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.

304231

Stay ahead of the MCP ecosystem

Get weekly updates on new skills and servers.