Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .claude/skills/check/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Check Skill

Quick format and ruff linting check

## Description

This skill runs a quick validation check on the codebase by formatting code and running ruff linter.

## Usage

```bash
/check
```

## What it does

- Runs `make format` to format code
- Runs `make ruff` for linting checks

This is a fast validation step useful before committing changes.
5 changes: 5 additions & 0 deletions .claude/skills/check/check.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
# name: check
# description: Quick format and ruff linting check

make format && make ruff
20 changes: 20 additions & 0 deletions .claude/skills/dev/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Dev Skill

Start the FastAPI development server with demo adapters

## Description

This skill starts the development server for the IRI Facility API, enabling local testing and development.

## Usage

```bash
/dev
```

## What it does

- Runs `make dev` to start the FastAPI development server
- Loads demo adapters for testing

Use this when you want to run the API locally for development or testing purposes.
5 changes: 5 additions & 0 deletions .claude/skills/dev/dev.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
# name: dev
# description: Start the FastAPI development server with demo adapters

make dev
24 changes: 24 additions & 0 deletions .claude/skills/lint/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Lint Skill

Run full validation suite (format, ruff, pylint, audit, bandit)

## Description

This skill runs a comprehensive validation suite on the codebase, including formatting, linting, and security checks.

## Usage

```bash
/lint
```

## What it does

- Runs `make lint` which executes:
- Code formatting checks
- Ruff linting
- Pylint analysis
- Pip-audit for dependency vulnerabilities
- Bandit security scanning

This is the full pre-commit validation suite to ensure code quality and security before merging changes.
5 changes: 5 additions & 0 deletions .claude/skills/lint/lint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
# name: lint
# description: Run full validation suite (format, ruff, pylint, audit, bandit)

make lint
21 changes: 21 additions & 0 deletions .claude/skills/logs/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Logs Skill

Run dev server and capture logs to api.log

## Description

This skill starts the development server and captures all output (stdout and stderr) to a log file for review.

## Usage

```bash
/logs
```

## What it does

- Runs `make dev` to start the development server
- Captures all output to `api.log` file
- Displays output in real-time while also saving to file

Useful for debugging issues by having a persistent log file to review after the server runs.
5 changes: 5 additions & 0 deletions .claude/skills/logs/logs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
# name: logs
# description: Run dev server and capture logs to api.log

make dev 2>&1 | tee api.log
20 changes: 20 additions & 0 deletions .claude/skills/security/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Security Skill

Run security scans (pip-audit and bandit)

## Description

This skill performs security scanning on the codebase and dependencies to identify potential vulnerabilities.

## Usage

```bash
/security
```

## What it does

- Runs `make audit` to check for known vulnerabilities in Python dependencies using pip-audit
- Runs `make bandit` to scan code for common security issues

Use this regularly to ensure the codebase doesn't have known security vulnerabilities or insecure code patterns.
5 changes: 5 additions & 0 deletions .claude/skills/security/security.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
# name: security
# description: Run security scans (pip-audit and bandit)

make audit && make bandit