Manages cross-file dependencies by enforcing context headers and ensuring AI reads related system files before modification.
The cellm file-context skill is a specialized utility designed to prevent architectural regressions by enforcing a deep understanding of file relationships. It works by classifying files into categories like Protocol, Shared Data, or Lifecycle systems and injecting standardized 'Related files' headers. This automation ensures that Claude Code follows a 'Read-Before-Edit' rule, forcing the AI to analyze the entire subsystem before making changes to any single component. By mapping non-obvious dependencies and runtime files, it maintains system integrity in complex, multi-file environments like Nuxt 4 stacks.
Características Principales
01Passive detection of multi-file system boundaries based on import patterns
02Enforcement of the 'Read-Before-Edit' protocol to prevent breaking dependencies
03Support for mapping non-obvious runtime dependencies and configuration files
04Automatic classification of file relationships (Protocol, Shared Data, Lifecycle, Pipeline)
05Standardized 'Related files' header generation for system-level documentation
060 GitHub stars
Casos de Uso
01Managing complex state management or database schemas shared across multiple consumers
02Refactoring multi-stage data pipelines where the output of one file is the input of the next
03Documenting and safely editing start/stop/cleanup lifecycle sequences in backend services