-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Summary
Add dependency visualization and boundary enforcement to existing devops tooling. Could extend techdebt-finder or be new skill.
Problem
- Vibe coding causes dependency leakage
- No visual way to understand control flow
- Architecture drift goes unnoticed
- Build warnings pollute agent context
Proposed Addition
Name: codebase-guardian
Plugin: devops-skills
Triggers: "dependency graph", "package boundaries", "architecture drift", "zero warnings"
Core Content
Dependency Graph Visualization
Build SVG diagrams of codebase dependencies:
- ~500 lines, diffable
- Pass to agents as image OR diff
- Catch dependency leaks in PRs
# Example: Check dependency changes
git diff dependency-graph.svgTools: graphviz, d3, mermaid
Pre-commit Boundary Hooks
// Example: compiler packages can only be imported by specific modules
if (isCompilerPackage(source)) {
allowImports(['compiler/*', 'lsp/*', 'core-project'])
} else {
denyImports(['compiler/*']) // CI error
}Zero-Warning Enforcement
# Treat warnings as errors
tsc --noEmitOnError
cargo build --deny warnings
eslint --max-warnings 0Why: Every warning = context bloat for agents
Integration with Agents
- SVG is diffable → show Claude the dependency diff
- SVG as image → Claude can "see" architecture
- Pre-commit blocks bad patterns before agent sees them
Relationship to Existing
Could be:
- New skill in devops-skills
- Extension to techdebt-finder (add
--dependenciesflag) - References added to existing skills
References
- [rework/04-team-practices.md] - Vibov's dependency graph approach
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request