implement-rfc
БесплатноБез исполняемых скриптовНе проверенImplement a React Router RFC from a GitHub discussion URL. Fetches the proposal, evaluates community feedback, resolves outstanding questions interactively…
от remix-run★ 56 659 звёзд на GitHubОб этом скилле
Implement React Router RFC
Implement the RFC from the following GitHub discussion: $ARGUMENTS
Branching
RFC implementations should start from a clean working tree. If there are uncommitted changes, stop and ask me to resolve them before continuing.
- If you are already on a named branch that is at the same HEAD as
main, use that branch. - Otherwise, create a branch from
mainusing the format{author}/rfc-{semantic-name}:git branch {author}/rfc-{semantic-name} main git checkout {author}/rfc-{semantic-name}
Workflow
1. Fetch and Understand the RFC
Use WebFetch to read the discussion URL. If a GitHub discussion number is given instead of a URL, construct:
https://github.com/remix-run/react-router/discussions/<number>
Extract:
Problem being solved: what pain point does this RFC address?
Proposed API: exact function signatures, hook names, types, option shapes
Affected modes: Declarative / Data / Framework / RSC Data / RSC Framework
Breaking changes: does this change or remove existing public API?
Open questions: anything explicitly marked as unresolved, "TBD", or asked as a question in the proposal
Status: are there linked tracking issues? Look for links to other github issues and read them to see if there is additional context.
gh issue view <number> --repo remix-run/react-router
2. Evaluate Community Feedback
Fetch all comments from the discussion:
Use WebFetch on https://github.com/remix-run/react-router/discussions/<number> and scroll through the full thread. Look for:
- Concerns or objections raised by community members or maintainers
- Alternative proposals or API shape suggestions
- Edge cases raised that the proposal does not address
- Positive signals — repeated praise for a specific approach signals it's the right direction
- Maintainer responses — Ryan Florence, Michael Jackson, or other core team members clarifying intent
Summarize the community sentiment into:
- Points of consensus (safe to proceed)
- Points of contention (need resolution before implementing)
- Unanswered questions from the original proposal
3. Resolve Outstanding Questions
Before writing any code, present me with a numbered list of every unresolved question — from both the RFC itself and from community feedback. For each question:
- State the question clearly
- Summarize relevant community input
- Offer a recommended answer with reasoning
Ask me to confirm, override, or skip each question. Do not proceed to implementation until all questions are either answered or explicitly deferred.
Example format:
## Unresolved Questions
1. **Should `useRouterState()` accept a path argument for scoped matching?**
Community feedback: 3 comments in favor, 1 against (concerns about complexity).
Recommendation: Yes — scoped matching improves type safety for nested routes.
→ Your decision: [confirm / override / defer]
2. **What should happen when the path doesn't match the current location?**
Recommendation: Return `null` for active state (consistent with `useMatch()`).
→ Your decision: [confirm / override / defer]
Save the resolved decisions to a scratch file at tasks/rfc-decisions.md for reference during implementation.
4. Plan the Implementation
Before writing code, produce a concise implementation plan covering:
- New types/interfaces to add
- New functions/hooks to implement and their file locations
- Existing APIs to deprecate (mark with
@deprecatedJSDoc + console warning in dev) - Whether a future flag is needed (see §5 below)
- Test files to create or extend (unit and/or integration)
- Changeset bump level (
minorfor new features,majorfor breaking changes behind a future flag that is now defaulted on)
Present the plan to me and wait for approval before implementing.
5. Future Flags for Breaking Changes
If the RFC changes or removes existing public API behavior, it must ship behind a future flag which will start with an unstable_ prefix.
Future flag pattern:
Add the flag to
FutureConfiginpackages/react-router/lib/router/utils.ts:export interface FutureConfig { // existing flags... unstable_myNewBehavior: boolean; }Gate the new behavior on the flag:
if (router.future.unstable_myNewBehavior) { // new behavior } else { // legacy behavior }Document the flag in
docs/upgrading/future.md.
New additive APIs (no behavior change to existing code) do not need a future flag.
6. Key File Locations
| Area | Files |
|---|---|
| Core router logic | packages/react-router/lib/router/router.ts |
| Router types/utils | packages/react-router/lib/router/utils.ts |
| React components | `packages/react-router/lib/components.ts |
Установить implement-rfc в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл implement-rfc?
Implement a React Router RFC from a GitHub discussion URL. Fetches the proposal, evaluates community feedback, resolves outstanding questions interactively, then implements the feature with tests, future flags (if breaking), and a changeset.
Как установить скилл implement-rfc?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл implement-rfc запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic