feature-contract
Skill by FastLED
Generates a structured implementation contract for FastLED changes before any code is written. It covers scope, affected files, platform impact, risks and a test plan.
Install feature-contract
Built from the published package, never by AI.
git clone --depth 1 https://github.com/FastLED/FastLED /tmp/FastLED && mkdir -p ~/.claude/skills && cp -r /tmp/FastLED/.claude/skills/feature-contract ~/.claude/skills/feature-contractRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/FastLED/FastLED /tmp/FastLED && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/FastLED/.claude/skills/feature-contract ~/.gemini/antigravity-cli/skills/feature-contractAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The feature-contract skill is for FastLED, a library that runs on more than 100 microcontroller platforms. Before a feature, bug fix, driver addition or refactoring, it produces an implementation contract. The contract defines scope, non-goals, affected files, touched APIs, and platform impact for areas such as AVR, ESP32, Teensy, RP2040, STM32, WASM and nRF52.
The skill runs in a forked context using the feature-contract-agent. It assesses timing, API compatibility, memory, concurrency and build system risks. It then lists a test plan, a rollback strategy and acceptance criteria. It is intended for FastLED contributors who need a review before implementation. The source says hardware validation is required for driver or timing changes.
Written from the project's SKILL.md and checked against it.
What it can do
- Understand the requestDetermines the change type, affected chipsets or platforms, expected behavior and hardware constraints.
- Define scopeWrites a summary, non-goals, affected files and the list of APIs touched.
- Assess platform impactRates impact per platform area as None, Low, Med or High with notes.
- Assess risksCovers timing, API compatibility, memory, concurrency and build system risks.
- Define test planLists host unit tests, WASM and platform compile checks, and hardware validation.
- Define rollback strategyDocuments how to revert the change, any data migration and user code updates.
- Generate contract documentProduces a markdown implementation contract with acceptance criteria.
What you need
- FastLED repository with bash test and compile commands
- Hardware boards for validating driver or timing changes
Try asking
- Write an implementation contract for adding a WS2812 driver on ESP32.
- Create a contract with platform impact for refactoring the CRGB header.
- Generate a test plan and rollback strategy for this Teensy timing fix.
Good to know
- Hardware validation is required for any driver or timing change.
- WASM compilation alone is not sufficient proof for LED output.
- Unknown platform impact is treated as HIGH risk.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/feature-contract/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB
Alternatives to feature-contract
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
feature-contract: common questions
Does FastLED need a contract before every change?
The rules say never to skip the contract for non-trivial changes. A small change to a shared header can break 100 platform builds.
Which platforms does the contract cover?
The platform table lists AVR, ESP32, Teensy, RP2040, STM32, WASM and nRF52. Each area gets an impact rating of None, Low, Med or High.
Which test layers does the contract require?
Host unit tests and WASM compile checks always apply. Platform compile applies to driver code, and hardware validation applies to driver or timing changes.
How do I install feature-contract?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is feature-contract free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is feature-contract safe to use?
It scores 83 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to feature-contract?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
