maslow-audit
Run architecture, security, and code quality audits on the Maslow codebase.
Skill by twlines
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/twlines-maslow-audit
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/maslow-audit
What's inside
- Skill name
maslow-audit- Description
- Run architecture, security, and code quality audits on the Maslow codebase. Use when reviewing changes before commit, checking for security issues, validating boundary rules, or assessing build readiness. Invoke with /maslow-audit [scope] where scope is one of full, security, architecture, deps, or encryption.
- License
- MIT
- Instructions
- 122 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Maslow Codebase Audit Systematically audit the Maslow codebase for architecture violations, security issues, dependency problems, and code quality concerns. Run this before commits, after major changes, or when assessing build readiness. ## Audit Scopes | Scope | What it checks | |-------|---------------| | `full` (default) | All checks below | | `security` | Secrets exposure, input validation, encryption usage, env var handling | | `architecture` | Boundary rules, layer composition, circular deps, service patterns | | `deps` | Unused imports, missing dependencies, version conflicts | | `encryption` | E2E encryption wiring — is crypto actually used, or just imported? | ## Workflow 1. **Determine scope** from user input (default: `full`) 2. **Run checks** for that scope using the procedures below 3. **Report findings** as a structured table with severity levels 4. **Suggest fixes** for any issues found ## Check Procedures ### Security Audit 1. **Secrets in code** — Search for hardcoded tokens, API keys, passwords: - Grep for patterns: `password`, `secret`, `token`, `apikey`, `api_key`, `ANTHROPIC`, `Bearer` - Exclude: `.env.example`, `node_modules/`, test files, this skill file - Verify `.env` is in `.gitignore` - Check git history is clean: `git log --all --oneline -S "ANTHROPIC_API_KEY" -- ':!.env.example'` 2. **Input validation** — Check all HTTP/WS handlers validate input before processing: - Read `src/services/AppServer.ts` - Verify REST endpoints validate request body fields - Verify WebSocket message handlers check `type` and required fields - Flag any `JSON.parse()` without try/catch 3. **Env var stripping** — Verify ANTHROPIC_API_KEY is stripped from child process env: - Read ClaudeSession.ts spawn configuration - Confirm `ANTHROPIC_API_KEY` is explicitly deleted from env 4. **Auth** — Check bearer token auth is enforced: - Read AppServer.ts auth middleware - Verify all routes (except health check) require auth 5. **File permissions** — Check `.env` file permissions: - Run `ls -la .env` and verify it's `600` (owner read/write only) ### Architecture Audit 1. **Boundary rules** — Verify import paths follow rules: - `apps/*` files must NOT import from `src/` - `packages/*` files must NOT import from `src/` or `apps/` - `src/` files must NOT import from `apps/` - Grep for violations: `from ["'].*\.\./\.\./src/` in apps/, `from ["'].*\.\./\.\./apps/` in src/ 2. **Service pattern compliance** — Each service in `src/services/` should have: - An exported interface (`<Name>Service`) - A `Context.Tag` class - A `Layer.effect` or `Layer.scoped` implementation - Read each service file and verify 3. **Layer composition** — Read `src/index.ts`: - Verify all services are composed - Verify composition order matches dependency graph - Flag any service that's defined but not composed 4. **Circular dependencies** — Check for import cycles: - Build a dependency map from import statements - Flag any cycles ### Dependency Audit 1. **TypeScript strict mode** — Verify `strict: true` in all tsconfig files 2. **No `any`** — Grep for `: any` and `as any` (excluding node_modules) 3. **Unused imports** — Run `npx tsc --noEmit` and check for unused import warnings 4. **Lint clean** — Run `npx eslint .` and report error count ### Encryption Audit 1. **Crypto module status** — Read `packages/shared/src/crypto/`: - Is the module complete? (key generation, encrypt, decrypt) - Is it exported from the package? 2. **Usage check** — Grep for crypto imports across the codebase: - Is `encrypt()` called before storing messages? - Is `decrypt()` called when reading messages? - Are keys generated and stored securely? 3. **Gap analysis** — If crypto exists but isn't wired: - Identify exactly where encryption should be added - List the files and functions that need modification ## Report Format ``` ## Maslow Audit Report — <scope> ### Summary - Checks passed: X/Y - Issues found: Z (N critical, M warning, K info) ### Findings | # | Severity | Category | Finding | Location | Fix | |---|----------|----------|---------|----------|-----| | 1 | CRITICAL | Security | Hardcoded token found | file:line | Remove and use env var | | 2 | WARNING | Architecture | Boundary violation | file:line | Change import path | | 3 | INFO | Deps | Unused import | file:line | Remove import | ### Recommendations 1. ... 2. ... ``` ## Severity Levels | Level | Meaning | |-------|---------| | CRITICAL | Security vulnerability, data exposure risk, or broken functionality | | WARNING | Architecture violation, code smell, or potential future issue |
From twlines/maslow, MIT.
More from twlines/maslow
- 0.409score
wire-feature
twlines
Scaffold and wire a full-stack feature across server, shared types, and client.
SkillDFreshness: DClaude Code +9 - 0.409score
document
twlines
Generate structured code documentation for files, services, or modules.
SkillDFreshness: DClaude Code +9 - 0.409score
effect-service
twlines
Scaffold a new Effect-TS service following Maslow's Context.Tag + Layer pattern.
SkillDFreshness: DClaude Code +9 - 0.404score
conversation-context
twlines
How to use prior decisions and daily logs before starting work
SkillDFreshness: DClaude Code +9 - 0.404score
refactor-patterns
twlines
Safe refactoring patterns for moves, renames, and extractions
SkillDFreshness: DClaude Code +9 - 0.401score
security-check
twlines
Security checklist for code changes
SkillDFreshness: DClaude Code +9 - 0.401score
api-endpoint
twlines
REST API route patterns for AppServer
SkillDFreshness: DClaude Code +9 - 0.401score
code-review
twlines
Self-review checklist before committing changes
SkillDFreshness: DClaude Code +9 - 0.401score
sql-migration
twlines
SQLite schema and migration patterns for Maslow
SkillDFreshness: DClaude Code +9 - 0.401score
effect-conventions
twlines
Effect-TS patterns and anti-patterns for Maslow codebase
SkillDFreshness: DClaude Code +9 - 0.401score
pr-preparation
twlines
Commit and PR preparation standards for agent output
SkillDFreshness: DClaude Code +9 - 0.401score
schema-to-service
twlines
End-to-end pipeline for adding a new entity to Maslow
SkillDFreshness: DClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Feb 13, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/twlines/maslow
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from twlines
- 0.409score
effect-service
twlines
Scaffold a new Effect-TS service following Maslow's Context.Tag + Layer pattern.
SkillDFreshness: DClaude Code +9 - 0.409score
wire-feature
twlines
Scaffold and wire a full-stack feature across server, shared types, and client.
SkillDFreshness: DClaude Code +9 - 0.409score
document
twlines
Generate structured code documentation for files, services, or modules.
SkillDFreshness: DClaude Code +9 - 0.404score
conversation-context
twlines
How to use prior decisions and daily logs before starting work
SkillDFreshness: DClaude Code +9 - 0.404score
refactor-patterns
twlines
Safe refactoring patterns for moves, renames, and extractions
SkillDFreshness: DClaude Code +9 - 0.401score
sql-migration
twlines
SQLite schema and migration patterns for Maslow
SkillDFreshness: DClaude Code +9
Cite this page
maslow-audit skill. Agent Mart. https://agentmart.dev/skills/twlines-maslow-audit (last updated 2026-10-24)