The claude-config template repository, a popular kit for Claude Code users working with .NET and Angular, has released version 3.1.0 with a significant architectural shift. Developer AngeloDotNet introduced three distinct project profiles—mini, standard, and strutturato—to address the bloat of rule files in smaller projects. Previously, the kit loaded approximately 88.2 KB of rules in every session, regardless of project complexity, creating unnecessary context overhead for scripts and prototypes.
The Byte-Saving Strategy
The core problem was that comprehensive security and operational rules, designed for large structured projects, were applied to trivial internal tools. In the new system, the 'mini' profile reduces always-loaded rules to just 14.3 KB, while the 'standard' profile sits at 36.3 KB. The 'strutturato' profile remains the default for unconfigured projects, maintaining the original 86.8 KB load to ensure no existing projects lose critical obligations. This tiering allows developers to match the AI’s context window usage to the actual complexity of the codebase.
Iterative Development and Honest Limitations
Implementing this efficiency wasn't instantaneous. The feature debuted in version 2.0.0, but the 'mini' profile still loaded about 67 KB, missing the target significantly. By version 3.0.0, the developer split the files into minimal core modules and moved non-essential details to optional directories. Despite these improvements, the author admits to known gaps: the security review trigger in 'mini' mode has a bug where it points to an unloaded module, and the ADR documentation currently mismatches the actual loaded rules for the 'standard' profile.
Breaking Changes for Existing Users
Users upgrading from version 1.14.0 must proceed with caution, as the update includes breaking changes to the /kit: command structure. Several commands have been renamed or removed, requiring a review of the CHANGELOG.md before updating. The kit now relies on a local clone path defined by the KIT_CONFIG_TEMPLATE_DIR environment variable for copying rules, and new projects are prompted to select a profile during the initial setup via /kit:avvia-progetto.
Key Takeaways
- Rule bloat in Claude Code can be reduced by using the new 'mini' profile for prototypes, cutting always-loaded rules from 88.2 KB to 14.3 KB.
- The update introduces a 'ask, don't assume' exception for mini projects, allowing defaults for common .NET choices like EF Core.
- Current limitations include a broken security review trigger in mini mode and a need for more real-world testing of the profile setup.
- Version 3.1.0 includes breaking changes to slash commands, requiring manual review of the changelog for upgrades.
The Bottom Line
Context window efficiency is becoming a critical metric for AI-assisted development, and AngeloDotNet’s move to tiered rule sets is a pragmatic response to token waste. While the implementation has rough edges, the shift from a one-size-fits-all rulebook to a profile-based system is the correct direction for scalable AI agent configurations.