skills/727474430/use-gemini-for-code-analysis/SKILL.md
【大型代码库分析专用】当需要分析整个项目架构、识别代码模式、追踪功能实现、梳理模块关系时必须使用本技能。触发关键词:分析整个项目/代码库、架构梳理、模块划分、代码模式识别、功能追踪、全局扫描。本技能通过 Gemini CLI 快速扫描完整代码库,提供 AI 驱动的架构洞察和代码分析,大幅节省手动探索时间。仅返回原始分析结果,不做二次解读。
npx skillsauth add aiskillstore/marketplace use-gemini-for-code-analysisInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
本技能提供基于 Gemini CLI 的大型代码库 AI 分析能力,负责调用 Gemini CLI 工具执行大型代码库分析任务。
作为 CLI 包装器调用 Gemini,返回原始分析结果。
--all-files 进行全代码库分析-p 参数编写清晰的分析提示词--yolo 跳过确认(仅限非破坏性任务)gemini --all-files -p "分析此代码库,识别所有 [特定模式]。展示使用示例和潜在问题。"
gemini --all-files -p "分析应用整体架构。识别主要组件、数据流、目录结构和关键设计决策。"
gemini --all-files -p "追踪 [特定功能] 的完整实现。展示涉及的所有文件、数据流和集成点。"
gemini --all-files -p "扫描潜在的性能瓶颈、安全漏洞或代码异味。"
development
Apple Human Interface Guidelines for content display components. Use this skill when the user asks about charts component, collection view, image view, web view, color well, image well, activity view, lockup, data visualization, content display, displaying images, rendering web content, color pickers, or presenting collections of items in Apple apps. Also use when the user says how should I display charts, what's the best way to show images, should I use a web view, how do I build a grid of items, what component shows media, or how do I present a share sheet. Cross-references: hig-foundations for color/typography/accessibility, hig-patterns for data visualization patterns, hig-components-layout for structural containers, hig-platforms for platform-specific component behavior.
tools
Automate HelpDesk tasks via Rube MCP (Composio): list tickets, manage views, use canned responses, and configure custom fields. Always search tools first for current schemas.
testing
Expert Haskell engineer specializing in advanced type systems, pure functional design, and high-reliability software. Use PROACTIVELY for type-level programming, concurrency, and architecture guidance.
tools
GraphQL gives clients exactly the data they need - no more, no less. One endpoint, typed schema, introspection. But the flexibility that makes it powerful also makes it dangerous. Without proper controls, clients can craft queries that bring down your server. This skill covers schema design, resolvers, DataLoader for N+1 prevention, federation for microservices, and client integration with Apollo/urql. Key insight: GraphQL is a contract. The schema is the API documentation. Design it carefully.