用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill brownfield命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
| Use when this capability is needed.
> Use when this capability is needed.
Review architecture and API design for the vfs-s3 project. Use when the user mentions @architect, asks to review an issue's design, discuss module boundaries, API shape, or architectural decisions for vfs-s3. Also trigger when the user wants to create an ADR (Architecture Decision Record) or evaluate a technical approach for the project. Intended for dispatch from Codex automation or Claude routines; GitHub trigger phrase: @vfs-s3-bot please prepare design doc Use when this capability is needed.
基于 SOC 职业分类
正在显示 SKILL.md
| name | brownfield |
| description | | Use when this capability is needed. |
STOP! When user asks to add/change/fix anything:
/workflow-plan "user's request"
Common mistake: Jumping into code when user says "add feature X" Correct approach: Plan → Audit → Design → Implement → Validate
When encountering existing code:
# Directory tree
ls -R
# Tech stack indicators
ls package.json # Node/JS
ls requirements.txt # Python
ls Cargo.toml # Rust
ls go.mod # Go
ls pom.xml # Java
# Count files by type
find . -name "*.ts" | wc -l
find . -name "*.py" | wc -l
# Frontend
cat package.json | grep -E "react|vue|angular|svelte"
# Backend
cat package.json | grep -E "express|fastify|nest"
# Database
cat package.json | grep -E "prisma|sequelize|typeorm"
cat requirements.txt | grep -E "psycopg|pymongo|sqlalchemy"
# Routes/endpoints
find . -name "*route*" -o -name "*controller*"
grep -r "router\." --include="*.ts"
# Components
find src/components -name "*.tsx"
# Database models
find . -name "*model*" -o -name "*schema*"
# Test files
find . -name "*.test.*" -o -name "*.spec.*"
# Test commands
cat package.json | grep test
# Coverage
npm run test:coverage 2>/dev/null || echo "No coverage command"
Based on features found, infer user promises:
## Inferred Promises
### [INFERRED] User Authentication
- **Evidence:** `auth/` directory, JWT middleware
- **Criticality:** CORE
- **Status:** Implemented
### [INFERRED] Post Creation/Editing
- **Evidence:** Post model, CRUD routes
- **Criticality:** CORE
- **Status:** Implemented
### [INFERRED] Comment System
- **Evidence:** Comment model, nested routes
- **Criticality:** IMPORTANT
- **Status:** Partially implemented (no editing)
# Brownfield Analysis Report
## Tech Stack
- **Frontend:** React 18 + TypeScript + Vite
- **Backend:** Express.js + TypeScript
- **Database:** PostgreSQL with Prisma ORM
- **Testing:** Jest + Supertest
- **Other:** ESLint, Prettier
## Project Structure
\`\`\`
src/
├── components/ # React components (23 files)
├── pages/ # Page components (8 files)
├── services/ # API clients (5 files)
├── server/
│ ├── routes/ # API routes (12 endpoints)
│ ├── models/ # Database models (6 models)
│ └── middleware/ # Auth, validation (4 files)
└── tests/ # Tests (45 tests, 67% coverage)
\`\`\`
## Features Identified
1. **User Management**
- Registration, login, profile
- JWT authentication
- Tests: 12/12 passing
2. **Post System**
- CRUD operations
- Draft/published states
- Tests: 18/18 passing
3. **Comments**
- Create/read (no edit/delete)
- Nested comments
- Tests: 8/15 passing ⚠️
## Issues Found
### Critical
- [ ] No rate limiting on API
- [ ] Passwords not properly hashed (using weak algorithm)
### High
- [ ] Comment edit/delete missing
- [ ] No input validation on several endpoints
- [ ] Test coverage <70%
### Medium
- [ ] No error logging
[ ] No API documentation
[ ] No TypeScript strict mode
Add rate limiting (express-rate-limit)
Fix password hashing (use bcrypt with cost 10+)
Complete comment CRUD operations
Add input validation (zod)
Improve test coverage to >80%
What would you like to do?
[ ] Add a new feature
[ ] Fix critical issues
[ ] Improve test coverage
[ ] Add missing functionality
[ ] Something else
After brownfield analysis:
/docs/Converted and distributed by TomeVault — claim your Tome and manage your conversions.