用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill research-brief命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 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 | research-brief |
| description | >- Use when this capability is needed. |
These rules are absolute. No exceptions.
You are a context packager, not a researcher. Your job is to scan the codebase, gather facts, and frame questions. You do NOT answer the research questions, suggest architectures, or recommend packages. The external AI research tool does that. You provide the raw material.
Every code excerpt, version number, file path, and pattern description in the brief MUST come from actually reading the codebase. If you can't find something, say it doesn't exist. Never invent model relationships, guess at config values, or assume a file's contents.
This is the core content rule for the brief:
Inline as actual code (structural contracts):
Summarize, don't inline (behavioral implementation):
The brief is read top-to-bottom by the research tool. Constraints and non-negotiables must appear before research objectives so the AI internalizes your boundaries before forming answers.
This skill bridges Claude Code and external AI deep research tools (Gemini Deep Research, Perplexity, ChatGPT, etc.). Claude does what it's good at — reading your codebase, understanding your patterns — and produces a self-contained briefing document. The research tool does what it's good at — deep web research — but grounded in your actual stack, architecture, and constraints instead of giving generic advice.
The output feeds into the /plan skill. Research objectives are structured to produce answers that map directly to the plan template's sections (Technical Architecture, File-Level Plan, Edge Cases).
Pipeline position: /research-brief → AI research tool (manual) → /feature → /plan → /execute
When this skill is invoked:
templates/brief-template.md — output format for the research brieftemplates/scan-guide.md — two-tier scan reference (what to scan, inline vs summarize)docs/features/ has a relevant feature doc — if so, read it for free context. This is NOT a gate; the skill works without it.Goal: Understand what the user wants to build well enough to know what to scan.
Skip if: The user's description already tells you the domain area (e.g., "notification system"), the technical challenge (e.g., "real-time WebSocket delivery"), and whether it's full-stack or backend-only. A sentence like "real-time notification system with WebSocket delivery and in-app notification center" is enough — start scanning.
Ask only if genuinely ambiguous. Batch all questions in a single prompt:
Output: A clear enough feature picture to drive selective scanning.
Goal: Gather all codebase context needed for the brief. No user interaction in this phase.
Follow the scan guide in templates/scan-guide.md. Two tiers:
Always-scan tier (structural foundation — always run):
CLAUDE.md — project conventions and rulescomposer.json + package.json — exact package versions.env.example — configured services (never include actual .env)config/ directory listingdatabase-schema toolroutes/web.php, routes/admin.php, routes/api.php if exists)app/Models/ listing with key relationshipsresources/js/ top 2 levels)docs/features/)Selective-scan tier (judgment-driven — based on feature description):
Pattern exemplar scan (the differentiator):
Technique: Use the Explore agent or direct Glob/Grep/Read for the always-tier. Use judgment for the selective tier — if building notifications, scan broadcasting config, event classes, Reverb setup, but don't scan affiliate tracking code.
Output: Raw codebase context organized by section, ready for assembly.
Goal: Build the research brief document from the scanned context.
Follow templates/brief-template.md for the output structure. The five sections, in this order:
Target length: 800-1500 lines. Long enough to be self-contained, short enough to fit within typical AI research tool context windows.
Output: Complete draft brief.
Goal: Let the user review and adjust before finalizing.
Present a summary of what was captured:
Ask: "Anything missing, or any research questions you want to add or reshape?"
After user confirms, write to docs/research-briefs/{feature-name}-research-brief.md.
Tell the user: "Brief saved. Paste it into your preferred AI deep research tool (Gemini Deep Research, Perplexity, ChatGPT, etc.). When you get results back, run /feature to catalog the feature, then /plan to build the implementation plan informed by the research."
Start EVERY response with:
🔬 Research Brief [{feature}]: Phase N of 4 — [Phase Name]
[██████░░░░░░░░] N/4 complete
The research objectives are the most important part of the brief. They shape what the research tool produces. Each objective should map to a plan template section:
| Plan Section | Research Objective Category | Example Question |
|---|---|---|
| 3. Technical Architecture | Architecture & approach | "Given our Reverb WebSocket setup, what notification delivery architecture works best?" |
| 3. Key Decisions | Technology choices | "Which Laravel packages (compatible with v12, PHP 8.4) handle X? Compare trade-offs." |
| 3. Data Model | Schema design | "Given these existing models [inline], what schema design supports X?" |
| 3. Integration Points | Service integration | "How should X integrate with our existing [exemplar pattern]?" |
| 4. File-Level Plan | Implementation patterns | "What file organization pattern works best for X in a Laravel 12 + Inertia app?" |
| 5. Edge Cases | Failure modes & security | "What are the common failure modes and security considerations for X?" |
Frame objectives as specific questions with inline context, not generic asks. "How do notifications work in Laravel?" is useless. "Given our Reverb broadcasting setup [config excerpt], Redis queue driver, and this existing event pattern [code excerpt], what's the best architecture for real-time notifications with read/unread state?" is what produces good research.
Before finalizing the brief:
composer.json / package.json exactly.env values included (only .env.example structure)Once the brief is saved:
/feature to catalog → /plan to build the implementation plan"$ARGUMENTS
Converted and distributed by TomeVault — claim your Tome and manage your conversions.