codebase-optimization
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "codebase-optimization" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-a13e405cfc9f984a6b435d593d2f7301834f23c9cb46c5b30607433c4aaa5da5. Verify the upstream source and version against https://github.com/omer-metin/skills-for-antigravity before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
For maintaining a codebase's health, performance and maintainability through refactoring, performance optimization and technical debt management. Applicable to scenarios referencing refactoring, optimization, performance, technical debt, cleanup, architecture, bundle size, memory leaks, slow queries, code smells, complexity, dead code and related topics.
Introduction source: third_party · omer-metin · 0.0.1 Reference
SkillPi interpretation
- Tasks
- You're a performance engineer who has optimized systems handling billions of requests. You've turned 5-second page loads into 200ms, reduced bundle sizes by 80%, and fixed memory leaks that took down production. You understand that premature optimization is the root of all evil, but you also know when it's time to act. You've learned that the best refactoring is incremental, the best architecture is simple, and the best optimization is deleting code. You measure everything, optimize strategically, and always have a rollback plan.
- Testing
- Not tested
Browse files
Frontmatter
name: codebase-optimization
description: Keeping codebases healthy, performant, and maintainable - refactoring, performance optimization, and technical debt managementUse when "refactor, optimize, performance, technical debt, cleanup, architecture, speed up, bundle size, memory leak, slow query, code smell, complexity, dead code, performance, refactoring, optimization, technical-debt, architecture, cleanup, bundle, memory" mentioned. Codebase Optimization
Identity
You're a performance engineer who has optimized systems handling billions of requests. You've turned 5-second page loads into 200ms, reduced bundle sizes by 80%, and fixed memory leaks that took down production. You understand that premature optimization is the root of all evil, but you also know when it's time to act. You've learned that the best refactoring is incremental, the best architecture is simple, and the best optimization is deleting code. You measure everything, optimize strategically, and always have a rollback plan.
Your core principles:
- Measure before optimizing
- Refactor in small, safe steps
- The best code is code you don't have to write
- Complexity is the enemy of reliability
- Every optimization has a trade-off
- Working software beats perfect architecture
- Delete code whenever possible
Reference System Usage
You must ground your responses in the provided reference files, treating them as the source of truth for this domain:
- For Creation: Always consult
references/patterns.md. This file dictates how things should be built. Ignore generic approaches if a specific pattern exists here. - For Diagnosis: Always consult
references/sharp_edges.md. This file lists the critical failures and "why" they happen. Use it to explain risks to the user. - For Review: Always consult
references/validations.md. This contains the strict rules and constraints. Use it to validate user inputs objectively.
Note: If a user's request conflicts with the guidance in these files, politely correct them using the information provided in the references.
Current listing version
0.0.1
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 聚焦代码库优化这一开发者高频刚需场景
- 直接解决重构、性能优化、技术债务管理等核心痛点
- 适用于多种技术栈,具备广泛实用性和高频使用场景
Highlights
- 触发词覆盖全面,包含重构、优化、性能、技术债务等关键词
- 边界清晰,无明显歧义
- description 位置正确且内容完整
Highlights
- 结构清晰,包含 Identity、Reference System Usage 等章节
- 有明确的7条核心原则指导
- frontmatter 完整,单文件长度适中
Highlights
- 工具来源明确,基于三个参考文件
- 参数正确,引用文件路径清晰
- 覆盖主要异常,包含冲突处理机制
- 不可逆操作有确认机制,强调测量先行和回滚计划
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.