163
total weekly downloads
25 packages
@clinetools/anonymizer
Replace PII (names, emails, phone numbers, addresses, SSNs) with realistic fake data. Consistent replacement across files.
@clinetools/api-lister
Discover and catalog all API routes, endpoints, middleware, and handlers. Supports Express, Fastify, Next.js, Django, Flask, Rails.
@clinetools/api-surface
Map all public interfaces, exported functions, and API endpoints. Detect breaking changes between versions.
@clinetools/arch-doc
Auto-generate architecture documentation from code analysis: module responsibilities, data flows, integration points.
@clinetools/audit-logger
Generate compliance-ready audit logs of all agent actions: files modified, commands run, APIs called. Export as JSON, CSV, or HTML reports.
@clinetools/benchmark
Run micro-benchmarks on functions and compare performance across implementations. Track regression over time.
@clinetools/codebase-mapper
Generate visual dependency graphs, module maps, and architecture diagrams from source code. Output as Mermaid, DOT, or JSON.
@clinetools/code-sanitizer
Strip dangerous patterns from code before execution: eval(), exec(), system calls, network requests. Configurable allowlists.
@clinetools/comment-quality
Find outdated, misleading, or redundant comments. Detect TODO/FIXME/HACK markers. Score comment-to-code ratio.
@clinetools/complexity
Calculate cyclomatic complexity, cognitive complexity, maintainability index, and Halstead metrics for any codebase. Supports JS/TS, Python, Go, Rust, Java.
@clinetools/config-validator
Validate JSON, YAML, TOML, and INI config files against schemas. Detect typos, missing required fields, and type mismatches.
@clinetools/context-mgr
Analyze and optimize what fits in the context window. Prioritize recent, relevant, and high-value content. Track token budgets.
@clinetools/contract-test
Verify API contracts between frontend and backend. Detect schema mismatches, missing fields, and type incompatibilities.
@clinetools/coverage-gaps
Identify untested code paths, uncovered branches, and functions without test files. Prioritize by risk and complexity.
@clinetools/cred-rotator
Detect exposed credentials and automatically rotate them. Supports .env files, config files, and CI/CD secrets.
@clinetools/dead-code
Find unused functions, variables, imports, exports, and CSS classes across your codebase. Supports tree-shaking analysis.
@clinetools/dep-scanner
Scan package.json, requirements.txt, Cargo.toml, and go.mod for known CVEs. Offline database of vulnerabilities, no API needed.
@clinetools/edge-cases
Analyze function signatures and generate boundary value test cases: empty strings, zero, negative numbers, unicode, huge inputs.
@clinetools/env-tracker
Catalog all environment variables used across the codebase. Detect missing .env entries, unused vars, and inconsistencies.
@clinetools/file-monitor
Log and alert on file system operations during agent execution. See exactly which files were read, written, or deleted.
@clinetools/file-validator
Verify file integrity: valid JSON, well-formed XML, correct CSV headers, valid images. Check encoding, line endings, BOM markers.
@clinetools/fixture-gen
Create realistic test fixtures from database schemas, API responses, and TypeScript types. Faker-powered data generation.
@clinetools/git-analyzer
Analyze git history patterns: hotspot files, churn rate, contributor patterns, commit message quality, branch age.
@clinetools/import-cycles
Find circular dependencies between modules. Visualize dependency chains and suggest breaking points.
@clinetools/secret-scanner
Detect leaked API keys, tokens, passwords, and credentials in code. Supports AWS, GitHub, OpenAI, Stripe, and 40+ provider patterns.