DEVKIT (@bhattasubash/devkit)

BY SUBASH BHATTA · ZERO-DEPENDENCY AGENT SKILLS & SCANNERS

@bhattasubash/devkit (v1.1.2, MIT) is an open-source Node.js CLI and deterministic skill suite created by Subash Bhatta to prevent AI coding agents from guessing line numbers, shipping leaked secrets, editing unapproved files, or neglecting SEO and web accessibility.

What is @bhattasubash/devkit?

Devkit pairs Markdown SKILL.md workflows with zero-dependency Node.js scanners (node >=18) and a state machine in .devkit/state.json. Every audit requires exact file:line quotes and passes through an explicit approval gate before code changes happen.

npx @bhattasubash/devkit init

What skills and scanners are included?

  • security-audit: check-secrets.mjs, check-code-vulns.mjs, and SSRF-guarded check-headers.mjs
  • web-best-practices: check-html.mjs and multi-viewport audit-browser.mjs
  • anti-slop-design: lint-design.mjs plus domain blueprints and style guidelines
  • seo-audit: check-seo-files.mjs covering robots.txt, sitemap.xml, JSON-LD, Open Graph, and llms.txt

How does devkit prevent unverified edits?

Before fixes run, the plan locks permitted file paths in .devkit/scope.json with dependency edits disabled by default. Post-edit checks validate git diff against the approved scope and verify every finding quote matches the source file within ±3 lines.

How is devkit tested and supported?

  • 98 unit tests passing across 18 test files via node --test
  • 10-case benchmark suite detecting 20/20 defects with 0 false positives
  • Compatible with Claude Code, Cursor, Codex CLI, Gemini CLI / Antigravity, and Windsurf