From prompt-language
This skill should be used when the user asks to 'refactor this', 'clean up this code', 'make this cleaner', 'safe refactor', 'restructure this', or wants to refactor code with continuous test verification.
npx claudepluginhub 45ck/prompt-language --plugin prompt-languageThis skill is limited to using the following tools:
Refactor the target code incrementally, verifying tests pass after each change.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
Refactor the target code incrementally, verifying tests pass after each change.
Use this when the intended behavior should stay the same and the goal is maintainability.
Do not use this for feature work that requires new failing tests (use tdd) or for already-broken suites where the primary goal is recovery (use fix-and-test).
flow:
retry max 5
prompt: Apply one behavior-preserving refactor to the target code. Make one focused structural change only.
run: npm test
end
done when:
tests_pass
lint_pass
For refactor loops across JavaScript, Python, Go, and Rust projects, see examples/multi-ecosystem.md.