
create-refactor-rfc
by mattpocock
SKILL.md
name: create-refactor-rfc description: Use this skill to create an RFC for a refactor.
This skill will be invoked when the user wants to create an RFC for a refactor. Follow the steps below:
-
Ask the user for a long, detailed description of the problem they want to solve and any potential ideas for solutions.
-
Explore the repo to understand the current state of the codebase and in what ways the codebase violates the values.
-
Sketch out the major modules you will need to build or modify to complete the implementation. Actively look for opportunities to extract deep modules that can be tested in isolation.
A deep module (as opposed to a shallow module) is one which encapsulates a lot of functionality in a simple, testable interface which rarely changes.
Check with the user that these modules match their expectations. Check with the user which modules they want tests written for.
-
Interview the user about changes they would like to see made. Be extremely detailed and thorough.
-
Create a RFC for the changes that will be made. The RFC should be structured like so:
Problem Statement
The problem that the developer is facing, from the developer's perspective. This should be readable by a newcomer to the project.
Solution
The solution to the problem, from the developer's perspective.
Implementation
This section should explain the rough API changes (internal and external), package changes, etc. The goal is to give an idea to reviews about the subsystems that require change and the surface area of those changes.
Behaviors
A LONG, numbered list of user stories. Each user story should be in the format of:
- :
Do NOT suggest an ordering of the tasks. The ordering will be determined later based on priority.
This list of user stories should be extremely extensive and cover all aspects of the refactor.
- Submit the RFC as a GitHub issue.
スコア
総合スコア
リポジトリの品質指標に基づく評価
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
3ヶ月以内に更新がある
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
レビュー
レビュー機能は近日公開予定です