Skip to content

Commit 392ca25

Browse files
committed
chore: add scoped AI guardrails for docs maintenance
Keeps documentation guidance concise, publishable, and aligned with helper/app behavior.
1 parent a455f4c commit 392ca25

3 files changed

Lines changed: 36 additions & 0 deletions

File tree

.claude/CLAUDE.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# mobileid-docs - Claude Notes
2+
3+
- Keep diffs small and publishable.
4+
- Prefer accuracy over fluency; do not invent behavior or guarantees.
5+
- Keep terminology, frontmatter, and navigation conventions consistent.
6+
- Avoid marketing phrasing and unnecessary URL query parameters.
7+
- Use realistic but safe example data (no secrets/tokens/PII).
8+
- If behavior is unclear, document uncertainty explicitly.
9+
- Verify flow/UI wording against `mobileid-helper` and `mybank-demo-app`.

.cursor/rules/00-core.mdc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
description: Core guardrails for mobileid-docs documentation changes
3+
globs:
4+
- "**/*"
5+
alwaysApply: true
6+
---
7+
8+
- Keep edits narrow; avoid broad rewrites unless requested.
9+
- Prefer factual accuracy over stylistic polish.
10+
- Do not invent parameters, guarantees, or flow behavior.
11+
- Keep terminology consistent with existing pages/navigation.
12+
- Use safe placeholder data only; never include real secrets or PII.
13+
- If implementation evidence is unclear, state assumptions explicitly.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
description: Docs guardrails for publishable, implementation-aligned content
3+
globs:
4+
- "docs/**"
5+
- "README.md"
6+
alwaysApply: true
7+
---
8+
9+
- Keep text aligned with `mobileid-helper` and `mybank-demo-app`.
10+
- Distinguish normative Mobile-ID behavior from demo/helper behavior.
11+
- Avoid marketing phrasing; use concrete behavior and constraints.
12+
- Preserve existing structure, frontmatter, and navigation conventions.
13+
- Keep links clean; avoid unnecessary query parameters in references/sources.
14+
- Keep snippets realistic, safe, and copy-paste plausible.

0 commit comments

Comments
 (0)