Repotype – Linting for your repository and to clean your Agent's rooms'

Posted by supernalai 2 hours ago

Counter1Comment1OpenOriginal

Comments

Comment by supernalai 2 hours ago

ESLint checks your code. Prettier formats it. But nothing checks your repo structure.

I kept reviewing AI-agent creations where the code compiled and was tested, documentation may have been there - but it was a MESS. Files were in the wrong folder, naming conventions were broken, random markdowns, scripts, and files were laying about like kid who never cleans their room.

So I built Repotype.

  npx repotype validate .
It validates folder structure, file naming (kebab-case enforcement), documentation frontmatter, and content policies (secret detection, forbidden patterns). Config is a simple YAML file. There's also an autofix command for some issues.

MIT licensed.

GitHub: https://github.com/supernalintelligence/repotype npm: https://www.npmjs.com/package/repotype Docs: https://supernalintelligence.github.io/repotype/