| name | practice-kata |
| description | Use when the user wants to practice, train, or test their understanding of a JavaScript topic. Generates a focused coding challenge with requirements, boilerplate, and scoring โ never gives away the solution. |
| argument-hint | [topic to practice, e.g. "array methods", "closures", "async/await"] |
Practice Kata Skill
Use this skill when the user wants to practice writing code.
Procedure:
- Generate Requirements: Based on the user's requested topic (e.g., "Array manipulation"), outline 3 clear business requirements for a mini-application or function.
- Provide Boilerplate: Give the user the starting function signature and a sample input/expected output block.
- Wait: Do NOT provide the solution. Instruct the user to write the code and share it back.
- Evaluate: Once the user provides their code, score it out of 10 based on Big-O performance and readability. Suggest exactly one way they could optimize it.