Skip to content
Back to skills

Code Quality 26

ASecurity

Fix lint errors, format code, run type checking, check code quality. Use when fixing linting issues, formatting Python, running ruff, running ty, checking TypeScript types, or ensuring code quality.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
developmenttypescriptpythonbashreactfastapiapifrontendbackend

Works with

  • api

Security analysis

A100/100

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill code-quality-26 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Code Quality 26?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Code Quality 26
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-code-quality-26/badge)](https://www.skillsdirectory.com/skills/david-li0406-code-quality-26)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: code-quality
description: Fix lint errors, format code, run type checking, check code quality. Use when fixing linting issues, formatting Python, running ruff, running ty, checking TypeScript types, or ensuring code quality.
allowed-tools: Bash, Read, Edit, Grep, Glob
---

# Code Quality

Handles all code quality tasks for the CCBell Sound Generator project including linting, formatting, and type checking.

## Project Stack

- **Backend (Python)**: FastAPI with ruff for linting/formatting and ty for type checking
- **Frontend (TypeScript)**: React 19 with ESLint and TypeScript compiler

## Available Commands

### Backend Linting (ruff)
```bash
cd backend && source venv/bin/activate && ruff check .
```

To auto-fix issues:
```bash
cd backend && source venv/bin/activate && ruff check --fix .
```

### Backend Formatting (ruff)
Check formatting:
```bash
cd backend && source venv/bin/activate && ruff format --check .
```

Apply formatting:
```bash
cd backend && source venv/bin/activate && ruff format .
```

### Backend Type Checking (ty)
```bash
cd backend && source venv/bin/activate && ty check .
```

### Frontend Linting (ESLint)
```bash
cd frontend && npm run lint
```

To auto-fix:
```bash
cd frontend && npm run lint -- --fix
```

### Frontend Type Checking (TypeScript)
```bash
cd frontend && npx tsc --noEmit
```

## Full Quality Check

Run all checks in sequence:
```bash
cd backend && source venv/bin/activate && ruff check . && ruff format --check . && ty check .
cd frontend && npm run lint && npx tsc --noEmit
```

## Important Notes

- Virtual environment is at `backend/venv` (created by `uv sync --group dev`)
- Backend uses ruff with 100 char line length and double quotes
- Always run quality checks before committing
- These checks are enforced in the CI pipeline

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…