code-simplifier
簡化與精煉代碼,提升清晰度、一致性和可維護性,同時保留所有功能。 預設聚焦於最近修改的代碼,除非另有指示。 觸發時機: - 完成功能實作後,需要清理代碼 - 發現代碼過於複雜或難以理解 - 重構既有代碼以提升可讀性 - 用戶提到「簡化」、「simplify」、「清理」、「refactor」
আপনার এজেন্টের জন্য উপযুক্ত সক্ষমতা খুঁজে নিন।
簡化與精煉代碼,提升清晰度、一致性和可維護性,同時保留所有功能。 預設聚焦於最近修改的代碼,除非另有指示。 觸發時機: - 完成功能實作後,需要清理代碼 - 發現代碼過於複雜或難以理解 - 重構既有代碼以提升可讀性 - 用戶提到「簡化」、「simplify」、「清理」、「refactor」
Update and maintain core repository documentation files (README.md, CHANGELOG.md, LICENSE, CONTRIBUTING.md) before commits or releases. Use when users need to update documentation to reflect code changes, prepare for releases, or ensure documentation consistency.
Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Focuses on recently modified code unless instructed otherwise.
Generates src/shared/EnvConsts.ts for type-safe environment variable access. Provides TypeScript interface and exports for accessing Vite environment variables throughout the application.
Defines the standard 8-category taxonomy for classifying project files: Config, Tests, Docs, Scripts, Source Code, Data, AI Tooling, and Other. REFERENCE THIS SKILL whenever categorizing files, auditing project structure, or answering 'what types of files are here.' Apply these categories and patterns whether using the bundled script or manual analysis.
Refactor code, rename symbols, extract modules, split services. Plan safe refactoring by mapping dependencies, find what depends on code before moving or deprecating APIs. NOT for quick change impact (use change-planning) or debugging failures (use debugging).
Lint X07 x07AST JSON and converge via deterministic quickfixes (x07c fix) or explicit JSON Patch (x07 ast apply-patch).
Reorganize scattered modules into subpackages while maintaining backwards compatibility via shims. Trigger when: (1) too many root-level files, (2) need to group related functionality, (3) cleaning up codebase structure.
AI生成コードの冗長性・複雑性を検出し、リファクタリングを行うスキル。「コードを脱臭して」「AIコードをリファクタリング」「冗長なコードを簡潔にして」「このコードを最適化」「複雑度を下げて」などのリクエストで起動する。Python/JavaScript/TypeScriptの生成コードに対して、ガード節の適用、DRY原則の強制、認知的複雑度の低減を実施する。
Generates src/shared/constants/global.ts file containing application-wide constants used throughout the application.
Automatically invoked when writing formal documentation (specs, ADRs, reviews, plans). Ensures consistent structure, appropriate detail level, and proper file location.
Apply Go idioms from “Effective Go” when writing, reviewing, or refactoring Go code so results remain idiomatic, maintainable, and performant.
A quick lookup guide for navigating a repository: where to find endpoints, business logic, models, tests, configs, docs, scripts, plus search patterns and commands
Keep oltre-content-ingestor documentation accurate when code/config/infrastructure changes. Use when implementing features, refactors, or fixes that affect main code, scripts, env vars, integrations (Strapi/Slack/scraping providers). Updates README.md, AGENTS.md docs/, and operational guides, and verifies links/commands stay correct.
Update import statements across the codebase when modules are moved or renamed. This skill should be used after refactoring operations to ensure all imports remain functional and properly organized.
強制執行「先讀後寫」規範,確保 Claude 在修改任何檔案前完整閱讀相關代碼。當需要修改檔案時自動使用。