How computerlovetech/ryni works
Rýni is a Rust harness linter. Its main workflow accepts a project or file, discovers Markdown inputs, parses documents, runs link, Agent Skills, and project-wide convention checks, then reports findings and optionally applies explicitly requested fixes. The graph preserves documented configuration packs, preview checks, structured output, and CLI capabilities. Some internal links are supported by the library excerpt or SOURCE INDEX; README-documented behavior is cited there. Unsampled CLI and reporting details are represented only at the documented capability level.
Main entry points: lib.rs Check engine · main.rs CLI commands · markdown.rs Local link checks · document.rs Document parsing
Components 17
Command entry
- CLI commands
src/main.rs - Check engine
src/lib.rs
Scan and analysis
- Input discovery
src/discovery.rs - Settings and packs
src/settings.rs - Document parsing
src/document.rs - Source snapshots
src/source.rs - Target filesystem
src/filesystem.rs
Rule checks
- Rule registry
src/registry.rs - Local link checks
src/rules/markdown.rs - Skill metadata checks
src/rules/skill.rs - Project conventions
src/rules/project.rs
Results and edits
- Findings
src/diagnostic.rs - Fix application
src/fix.rs - Check report
src/report.rs - Text and JSON output
src/output.rs
Other components
- Engineer
- Project files
Connections 23
- Engineer → CLI commands: runs check
README.md - CLI commands → Check engine: starts scan
- Check engine → Input discovery: discovers inputs
src/lib.rs - Check engine → Settings and packs: resolves settings
src/lib.rs - Check engine → Document parsing: parses sources
src/lib.rs - Document parsing → Source snapshots: stores snapshot
src/document.rs - Check engine → Local link checks: runs checks
src/lib.rs - Check engine → Skill metadata checks: runs checks
src/lib.rs - Check engine → Project conventions: checks project
src/lib.rs - Local link checks → Document parsing: reads links
src/rules/markdown.rs - Skill metadata checks → Document parsing: reads metadata
src/rules/skill.rs - Local link checks → Target filesystem: inspects targets
src/rules/markdown.rs - Project conventions → Target filesystem: checks required files
src/rules/project.rs - Check engine → Rule registry: selects rules
src/lib.rs - Settings and packs → Rule registry: selects rules
src/settings.rs - Check engine → Findings: collects findings
src/lib.rs - Check engine → Check report: builds report
src/lib.rs - Check report → Text and JSON output: formats results
- CLI commands → Text and JSON output: prints results
- CLI commands → Fix application: applies requested fixes
- Fix application → Project files: rewrites files
src/fix.rs - Local link checks → Project files: checks link targets
src/rules/markdown.rs - Project conventions → Findings: emits findings
src/rules/project.rs