sevenc-nanashi/ported_satsuki/refactor
Claude Code and agent skill by sevenc-nanashi/ported_satsuki
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Refactor the code to improve readability and maintainability.
Install
npx vskill@latest install sevenc-nanashi/ported_satsuki/refactorSKILL.md
refactor
AviUtl1のスクリプトはLuaのコードとしてはかなり混沌としているため、リファクタリングの余地が大いにあります。
グローバル変数
AviUtl1のスクリプトでは、グローバル変数が多用されており、スクリプト間で変数が衝突する可能性があります。 これを避けるために、グローバル変数を使用する場合は、S_というプレフィックスを付けるようにしてください。 また、可能な限りローカル変数を使用するようにしてください。 ローカル変数を使用する場合は、必ずsnake_caseで命名するようにしてください。
ref: .rulesync/rules/lua.md
パラメーター
AviUtl1のスクリプトでは、パラメーターはtrack0やcheck0などの形式で定義されており、どのパラメーターが何を意味するのかがわかりづらいです。 これを改善するために、パラメーターの変数名を意味のある名前に変更するようにしてください。
引数の変更
obj.setoption、obj.copybuffer
以前は3文字の略称でバッファを指定していましたが、AviUtl2ではより可読性の高い文字列に変更されました。 AviUtl2での指定は以下のようになります:
dst->drawtargetobj->objectfrm->framebuffertmp->tempbuffer
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.rulesync/skills/refactor/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sevenc-nanashi/ported_satsuki/refactor)