Menu

Claude config: rules and guardrails for Claude Code on .NET + Angular projects
📰

Claude config: rules and guardrails for Claude Code on .NET + Angular projects

DEV Community: dotnet·Angelo Pirola·11 days ago
#MlOBc9hR
#devtodotnet#devto#dev#claude#rules
Reading 0:00
15s threshold

I work on .NET and Angular projects with Claude Code, and I kept rewriting the same setup instructions for each new project. To stop doing that, I built claude-config : a public template of rules, plus a small Claude Code plugin that enforces the most important of them.

This is my own opinionated approach, not a universal standard. Treat the rules as a starting point, and check the details against the documentation of the versions you use.

What is in the repository

Claude Code loads .claude/rules/ automatically, so the rules are copied into each project , not installed globally.

Module When it loads What it covers

core.md always stack, tests, observability, Docker scope, interaction rules

git.md always branches, commits, release

security.md always authentication, secrets, input validation, CSP, supply chain, OWASP Top 10 2025, ASVS 5.0

frontend.md on *.ts , *.html , *.css , *.scss Angular

backend.md , backend-architecture.md , backend-app.md on C# and project files .NET

docker.md Dockerfiles and…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.