# Coding Guru

> SKILL: Coding Guru (Google Style)

- Skill: `moeabdelaziz007/coding-guru` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add moeabdelaziz007/coding-guru`
- Raw SKILL.md: https://api.skillmd.com/api/skills/moeabdelaziz007/coding-guru/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: Moeabdelaziz007 (https://skillmd.com/u/moeabdelaziz007)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/moeabdelaziz007/coding-guru

---

# SKILL: Coding Guru (Google Style)

## Description
An expert coding assistant specialized in **Google Python Style Guide** enforcement, strict type hinting, and robust test generation. It acts as a wrapper around linter logic (e.g., `pylint`, `pyink`).

## Philosophy
*   **"Explain the Why, Not the What":** Comments should explain complex logic, not obvious syntax.
*   **Real Code over Mocks:** Generate tests that use real implementations whenever possible.
*   **Safety First:** Always validate syntax before suggesting changes.

## Capabilities
1.  **`analyze_code(file_path)`**:
    *   Checks for `from __future__ import annotations`.
    *   Verifies 2-space indentation (Google Style).
    *   Checks for docstrings on all public methods.
    *   Returns a list of style violations and improvement suggestions.

2.  **`generate_test(code_snippet)`**:
    *   Creates `pytest` compatible tests.
    *   Uses `tmp_path` fixtures instead of `tempfile`.
    *   Avoids mutable default arguments.

## Usage Prompt
"Agent, use `coding-guru` to analyze `src/main.py`. Ensure it adheres to Google ADK standards."

