From fa413ddd45011370edecc1c2545f898906a05daa Mon Sep 17 00:00:00 2001 From: Renn F Date: Thu, 24 Sep 2026 02:49:16 +0200 Subject: [PATCH 1/2] docs: fix pymarkdown violations in agent-guidance files --- AGENTS.md | 3 ++- CLAUDE.md | 3 ++- pyproject.toml | 4 ++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 8c1114f..9ae874c 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,4 +1,5 @@ # AGENTS.md + Guidance for AI agents (including Claude Code) working in this repository. ## Project Overview @@ -25,7 +26,7 @@ It is a direct port of [FastAPI Guard](https://github.com/rennf93/fastapi-guard) FlaskAPI Guard is a **thin adapter** over [guard-core](https://github.com/rennf93/guard-core). All security logic (models, handlers, decorators, detection engine, protocols, utilities) lives in the `guard_core` package; this repo contains only the Flask/WSGI integration layer. -``` +```text guard-core (engine, PyPI dependency >=3.15.0) <- all security logic └── flaskapi-guard (this repo) <- Flask extension adapter ├── fastapi-guard <- sibling adapter (ASGI middleware) diff --git a/CLAUDE.md b/CLAUDE.md index 8c1114f..9ae874c 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -1,4 +1,5 @@ # AGENTS.md + Guidance for AI agents (including Claude Code) working in this repository. ## Project Overview @@ -25,7 +26,7 @@ It is a direct port of [FastAPI Guard](https://github.com/rennf93/fastapi-guard) FlaskAPI Guard is a **thin adapter** over [guard-core](https://github.com/rennf93/guard-core). All security logic (models, handlers, decorators, detection engine, protocols, utilities) lives in the `guard_core` package; this repo contains only the Flask/WSGI integration layer. -``` +```text guard-core (engine, PyPI dependency >=3.15.0) <- all security logic └── flaskapi-guard (this repo) <- Flask extension adapter ├── fastapi-guard <- sibling adapter (ASGI middleware) diff --git a/pyproject.toml b/pyproject.toml index 26714b9..23b7338 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -126,6 +126,10 @@ warn_unreachable = true exclude = ["vulture_whitelist.py", ".venv"] +[tool.pymarkdown.extensions] +# Enable YAML front matter parsing (agent skill files use front matter) +front-matter = {enabled = true} + [tool.pymarkdown.plugins.md007] # MD007 - Unordered list indentation (set to 2 spaces) enabled = true From b91952f4f37097e2dd4ab1e5f4a5f22edfa099ed Mon Sep 17 00:00:00 2001 From: Renn F Date: Thu, 24 Sep 2026 02:49:16 +0200 Subject: [PATCH 2/2] ci: trigger Docs Update on agent-guidance markdown files --- .github/workflows/docs.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index c0499d0..33d817a 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -13,6 +13,9 @@ on: - 'LICENSE' - 'SECURITY.md' - 'CHANGELOG.md' + - 'AGENTS.md' + - 'CLAUDE.md' + - '**/SKILL.md' tags: - 'v*' workflow_dispatch: