cross file AI Agent Skills
Browse 15 skills related to cross file
refactor
Perform large-scale refactors and renames in TypeScript codebases. Use when renaming symbols across files, doing pattern replacements, changing function signatures, or performing codebase-wide refactors. Prefer AST-aware tools over text-based replacements.
windsurf-multi-file-editing
Manage multi-file edits with Cascade coordination. Activate when users mention "multi-file edit", "edit multiple files", "cross-file changes", "refactor across files", or "batch modifications". Handles coordinated multi-file operations. Use when working with windsurf multi-file editing functionality. Trigger with phrases like "windsurf multi-file editing", "windsurf editing", "windsurf".
moai-tool-ast-grep
AST-based structural code search, security scanning, and refactoring using ast-grep (sg CLI) with pattern matching and code transformation across 40+ languages. Use when performing structural code search, AST-based refactoring, codemod operations, security pattern scanning, or syntax-aware code transformations across files. Do NOT use for simple text search (use Grep tool instead) or full codebase exploration (use Explore agent instead).
claude-md-progressive-disclosurer
Optimize CLAUDE.md files using progressive disclosure. Goal: Maximize information efficiency, readability, and maintainability. Use when: User wants to optimize CLAUDE.md, information is duplicated across files, or LLM repeatedly fails to follow rules.
sadd:do-in-parallel
Launch multiple sub-agents in parallel to execute tasks across files or targets with intelligent model selection and quality-focused prompting
code-refactor
Perform bulk code refactoring operations like renaming variables/functions across files, replacing patterns, and updating API calls. Use when users request renaming identifiers, replacing deprecated code patterns, updating method calls, or making consistent changes across multiple locations.
req-change-workflow
Standardize requirement or feature changes in an existing codebase (especially Chrome extensions) by turning "changing requirements / requirement changes / interaction adjustments / feature changes / refactoring flows" into a repeatable loop: clarify acceptance criteria, confirm current behavior from code, assess impact and risk, design the new logic, implement with small diffs, run a fixed regression checklist, and update docs/decision log. Use when the change process feels chaotic, when edits sprawl across files, or when changes touch manifest/service worker/OAuth/storage/UI and need reliable verification and rollback planning.
gemini-research-subagent
Delegates large-context code analysis to Gemini CLI. Use when analyzing codebases, tracing bugs across files, reviewing architecture, or performing security audits. Gemini reads, Claude implements.
Documentation Specialist
Complete documentation management for enterprise projects. It generates READMEs from repository metadata, extracts API documentation from route definitions or OpenAPI specs, synchronizes version numbers and environment examples across files, and produces user guides, architecture docs, ADRs, runbooks, and changelogs derived from git history. Built-in templates cover README, QUICKSTART, API.md, CONFIGURATION, SECURITY.md, CONTRIBUTING.md, and CHANGELOG.md. Use it to onboard new services, update documentation after code changes, perform documentation audits and gap analyses, and integrate automated doc generation into CI/CD pipelines. Core advantages include consistent documentation structure, faster developer onboarding, reduced manual drift between code and docs, traceable changelogs, and improved operational readiness and compliance.
refactoring-code
Batch refactoring via MorphLLM edit_file. Use for "refactor across files", "batch rename", "update pattern everywhere", large files (500+ lines), or 5+ edits in same file.
ast-grep-search
Find and replace code patterns structurally using ast-grep. Use when you need to match code by its AST structure (not just text), such as finding all functions with specific signatures, replacing API patterns across files, or detecting code anti-patterns that regex cannot reliably match.
parallel-edits
Apply coordinated changes across multiple files efficiently using parallel Edit tool calls. Use when making systematic changes like renaming variables, updating imports, applying pattern changes, or refactoring across files. Triggers on: rename across files, update all imports, change pattern in multiple files, refactor across codebase, batch edit files.
performing-timeline-reconstruction-with-plaso
Build comprehensive forensic super-timelines using Plaso (log2timeline) to correlate events across file systems, logs, and artifacts into a unified chronological view.
refactorer
Code cleanup and consolidation. Activates when user asks to clean up, combine, simplify, or refactor code, when files exceed 200 lines, or when duplicate functions/constants are found across files. Creates dependency maps before changes.
windsurf-multi-file-editing
Manage multi-file edits with Cascade coordination. Activate when users mention "multi-file edit", "edit multiple files", "cross-file changes", "refactor across files", or "batch modifications". Handles coordinated multi-file operations. Use when working with windsurf multi file editing functionality. Trigger with phrases like "windsurf multi file editing", "windsurf editing", "windsurf".