Project Structure
clean-framework-prompts/
├── .claude-plugin/
│ └── plugin.json # Manifest (name, version, hooks, LSP refs)
├── .lsp.json # C# language server configuration
├── hooks/
│ └── hooks.json # Automated hook definitions
├── scripts/
│ ├── check-dotnet-environment.ps1
│ ├── dotnet-format.ps1
│ └── dotnet-build-check.ps1
├── agents/ # 7 subagent definitions (.md with YAML frontmatter)
├── skills/ # 6 slash commands (SKILL.md per skill)
├── common/
│ ├── rules/ # Coding conventions, CI/CD, commit format
│ ├── architecture/ # Architectural principles, patterns, anti-patterns
│ ├── technology/ # Technology-specific rules + host infrastructure stack
│ └── layers/ # Layer-specific rules (Shared, Domain, Application, Infrastructure)
├── docs/ # This documentation site (NOT included in published package)
└── CLAUDE.md # Overview (loaded by Claude Code as project instructions)
Key Configuration Files
.claude-plugin/plugin.json
The manifest. Contains the package name, version, and references to LSP and hook configurations:
{
"name": "clean-framework-prompts",
"version": "1.1.0",
"lspServers": "./.lsp.json",
"hooks": "./hooks/hooks.json"
}
.lsp.json
Configures the C# language server (csharp-ls) for code intelligence:
{
"csharp": {
"command": "csharp-ls",
"extensionToLanguage": { ".cs": "csharp" },
"transport": "stdio",
"restartOnCrash": true,
"maxRestarts": 3
}
}
CLAUDE.md
The main entry point — Claude Code reads this file as project instructions when the prompt collection is loaded. It provides a quick reference to all agents, skills, hooks, and the LSP configuration.