deep-research
Use when the user needs multi-source research with citation tracking, evidence persistence, structured report generation, or an implementation landscape that includes GitHub and other open-source forges. Triggers on "deep research", "comprehensive analysis", "research report", "c
Install
npx skills add https://github.com/lovstudio/skills/tree/main/skills/deep-research
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install lovstudio-skills@llmmart
git clone https://github.com/lovstudio/skills.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole lovstudio/skills collection as a plugin from our marketplace. Git is the plain clone.
README
深度研究 · Deep Research
Enterprise-grade research engine for Claude Code. Produces citation-backed reports with source credibility scoring, multi-provider search, and automated validation.
Part of LovStudio Skills — by LovStudio
Installation
npx skills add lov-deep-research -g -y
No additional dependencies required for basic usage.
Optional: search-cli (multi-provider search)
For aggregated search across Brave, Serper, Exa, Jina, and Firecrawl:
brew tap 199-biotechnologies/tap && brew install search-cli
search config set keys.brave YOUR_KEY # configure at least one provider
Usage
/lov-deep-research
deep research in ultradeep mode: compare PostgreSQL vs Supabase for our stack
Research Modes
| Mode | Phases | Duration | Best For |
|---|---|---|---|
| Quick | 3 | 2-5 min | Initial exploration |
| Standard | 6 | 5-10 min | Most research questions |
| Deep | 8 | 10-20 min | Complex topics, critical decisions |
| UltraDeep | 8+ | 20-45 min | Comprehensive reports, maximum rigor |
Pipeline
Scope → Plan → Retrieve (parallel search + agents) → Triangulate → Outline Refinement → Synthesize → Critique (with loop-back) → Refine → Package
Key features:
- Step 0: Retrieves current date before searches (prevents stale training-data year assumptions)
- Parallel retrieval: 5-10 concurrent searches + 2-3 focused sub-agents returning structured evidence objects
- First Finish Search: Adaptive quality thresholds by mode
- Critique loop-back: Phase 6 can return to Phase 3 with delta-queries if critical gaps found
- Multi-persona red teaming: Skeptical Practitioner, Adversarial Reviewer, Implementation Engineer (Deep/UltraDeep)
- Disk-persisted citations:
sources.jsonsurvives context compaction and continuation agents - Open-source solution landscape: implementation research searches GitHub and other relevant forges, inspects code-level evidence, and publishes a reusable linked repository catalog
Output
Reports saved to ~/Documents/[Topic]_Research_[Date]/:
- Markdown (primary source of truth)
open_source_solutions.jsonlfor applicable software/tooling research- HTML (McKinsey-style, auto-opened in browser)
- PDF (professional print via WeasyPrint)
Reports >18K words auto-continue via recursive agent spawning with context preservation.
Quality Standards
- 10+ sources, 3+ per major claim
- Executive summary 200-400 words
- Findings 600-2,000 words each, prose-first (>=80%)
- Full bibliography with URLs, no placeholders
- GitHub plus other relevant forge coverage and a shareable repository comparison for implementation/tooling topics
- Automated validation:
validate_report.py(9 checks) +verify_citations.py(DOI/URL/hallucination detection) - Validation loop: validate → fix → retry (max 3 cycles)
Search Tools
| Tool | Priority | Setup |
|---|---|---|
| search-cli | Primary — all searches go here first | brew install search-cli + API keys |
| WebSearch | Fallback — if search-cli fails or rate-limited | None (built-in) |
| Exa MCP | Optional — semantic/neural search alongside search-cli | MCP config |
Architecture
deep-research/
├── SKILL.md # Skill entry point (lean, ~100 lines)
├── reference/
│ ├── methodology.md # 8-phase pipeline details
│ ├── report-assembly.md # Progressive generation strategy
│ ├── quality-gates.md # Validation standards
│ ├── open-source-solutions.md # Forge discovery and shareable repository landscape
│ ├── html-generation.md # McKinsey HTML conversion
│ ├── continuation.md # Auto-continuation protocol
│ └── weasyprint_guidelines.md # PDF generation
├── templates/
│ ├── report_template.md # Report structure template
│ └── mckinsey_report_template.html # HTML report template
├── scripts/
│ ├── validate_report.py # 9-check structure validator
│ ├── verify_citations.py # DOI/URL/hallucination checker
│ ├── source_evaluator.py # Source credibility scoring
│ ├── citation_manager.py # Citation tracking
│ ├── validate_open_source_solutions.py # Open-source artifact and report-link gate
│ ├── md_to_html.py # Markdown to HTML converter
│ ├── verify_html.py # HTML verification
│ └── research_engine.py # Core orchestration engine
└── tests/
└── fixtures/ # Test report fixtures
Version History
| Version | Date | Changes |
|---|---|---|
| 2.5.2 | 2026-08-30 | Add early branching decision guides for comparison and solution-selection reports |
| 2.5.1 | 2026-08-30 | Render direct HTTP(S) repository links as clickable anchors inside report tables and prose |
| 2.5.0 | 2026-08-30 | Verified open-source forge discovery, code-level evidence, shareable repository registry, and multilingual validation parity |
| 2.4.0 | 2026-08-24 | Shared feedback-classification and approval-invalidation gate |
| 2.3.1 | 2026-03-19 | Template/validator harmonization, structured evidence, critique loop-back, multi-persona red teaming |
| 2.3 | 2026-03-19 | Contract harmonization, search-cli integration, dynamic year detection, disk-persisted citations, validation loops |
| 2.2 | 2025-11-05 | Auto-continuation system for unlimited length |
| 2.1 | 2025-11-05 | Progressive file assembly |
| 1.0 | 2025-11-04 | Initial release |
License
MIT - modify as needed for your workflow.
Skill manifest
深度研究 · Deep Research
Core Purpose
Deliver citation-tracked research reports through a structured pipeline with evidence persistence, source identity management, claim-level verification, and progressive context management.
Autonomy Principle: Operate independently. Infer assumptions from context. Only stop for critical errors or incomprehensible queries. Surface high-materiality assumptions explicitly in the Introduction and Methodology rather than silently defaulting.
Dependencies
lov-dev-blogowns the Skill Publisher website blog publishing contract.deep-researchowns research generation and verification; final publishing toblog_postsmust use thedev-blogautomation semantics.
Decision Tree
Request Analysis
+-- Simple lookup? --> STOP: Use WebSearch
+-- Debugging? --> STOP: Use standard tools
+-- Complex analysis needed? --> CONTINUE
Mode Selection
+-- Initial exploration --> quick (3 phases, 2-5 min)
+-- Standard research --> standard (6 phases, 5-10 min) [DEFAULT]
+-- Critical decision --> deep (8 phases, 10-20 min)
+-- Comprehensive review --> ultradeep (8+ phases, 20-45 min)
Default assumptions: Technical query = technical audience. Comparison = balanced perspective. Trend = recent 1-2 years.
Workflow Overview
| Phase | Name | Quick | Std | Deep | Ultra |
|---|---|---|---|---|---|
| 1 | SCOPE | Y | Y | Y | Y |
| 2 | PLAN | - | Y | Y | Y |
| 3 | RETRIEVE | Y | Y | Y | Y |
| 4 | TRIANGULATE | - | Y | Y | Y |
| 4.5 | OUTLINE REFINEMENT | - | Y | Y | Y |
| 5 | SYNTHESIZE | - | Y | Y | Y |
| 6 | CRITIQUE | - | - | Y | Y |
| 7 | REFINE | - | - | Y | Y |
| 8 | PACKAGE | Y | Y | Y | Y |
Note: Phases 3-5 operate as an evidence loop per section (retrieve → evidence store → refine outline → draft → verify claims → delta-retrieve if needed), not as strict sequential gates.
Execution
On invocation, load relevant reference files:
- Phase 1-7: Load methodology.md for detailed phase instructions
- Phase 8 (Report): Load report-assembly.md for progressive generation
- HTML/PDF output: Load html-generation.md
- Quality checks: Load quality-gates.md
- Implementation/tooling research: Load open-source-solutions.md
- Comparison/selection/adoption research: Load decision-guides.md
- Long reports (>18K words): Load continuation.md
Templates:
- Report structure: report_template.md
- HTML styling: mckinsey_report_template.html
Scripts:
python scripts/validate_report.py --report [path]python scripts/verify_citations.py --report [path]python scripts/md_to_html.py [markdown_path]python scripts/validate_open_source_solutions.py --artifact [open_source_solutions.jsonl] --report [report.md] --strictpython scripts/validate_decision_guide.py --report [report.md] --strict
Post-report publishing (Skill Publisher):
- This is a mandatory completion gate, not an optional follow-up. Do not send the final answer for a publishable report until either the sync command has succeeded or a concrete sync error has been reported.
- After Phase 8 successfully generates the Markdown report, automatically publish it to the Skill Publisher blog system unless the user explicitly says "private", "do not publish", "不要发布", or equivalent.
- This gate depends on
lov-dev-blog. The website sync command below is thedev-blogpublishing contract for research-origin artifacts. - Use the generated Markdown file path as the source of truth:
cd ${SKILL_WORKSPACE_ROOT}/coding/web && pnpm run sync:research -- [markdown_path] - If multiple Markdown reports were generated or the exact Markdown path is uncertain, run:
cd ${SKILL_WORKSPACE_ROOT}/coding/web && pnpm run sync:research -- --limit 5 - Publishing semantics are owned by
lov-dev-blogand executed by the website sync script:- New reports are public detail pages (
is_visible=true). - New reports appear in the
/blogindex by default (show_in_index=true). - Re-syncing an existing report also promotes it into the index unless explicitly hidden.
- Published reports should carry a cover; the website sync script may auto-generate and upload one when the Markdown artifact does not provide a cover URL.
- New reports are public detail pages (
- Tell the user the final public URL in the form:
https://lovstudio.ai/blog/[slug] - In the final answer, include a one-line publishing status:
Published to Skill Publisher: yes/no, plus the public URL when yes. - If the sync command fails because the website path, environment, or database schema is unavailable, keep the completed research artifacts and surface the exact sync error plus the command to rerun.
Output Contract
Required sections:
- Executive Summary (200-400 words)
- Introduction (scope, methodology, assumptions)
- Main Analysis (4-8 findings, 600-2,000 words each, cited)
- Decision Guide (required for comparison, selection, procurement, architecture-choice, or adoption reports; place before detailed findings)
- Open-Source Solutions Landscape (required when the topic concerns software, tooling, automation, implementation, or deployable solutions)
- Synthesis & Insights (patterns, implications)
- Limitations & Caveats
- Recommendations
- Bibliography (COMPLETE - every citation, no placeholders)
- Methodology Appendix
Output files (all to ~/Documents/[Topic]_Research_[YYYYMMDD]/):
- Markdown (primary source of truth)
sources.jsonl— stable source registry with canonical IDsevidence.jsonl— append-only evidence store with quotes and locatorsclaims.jsonl— atomic claim ledger with support statusrun_manifest.json— query, mode, assumptions, provider configopen_source_solutions.jsonl— canonical repository registry for applicable implementation/tooling research; one verified repository per line- HTML (McKinsey style, auto-opened)
- PDF (professional print, auto-opened)
Quality standards:
- 10+ sources, 3+ per major claim (cluster-independent, not just count)
- All factual claims cited immediately [N] with evidence backing in
evidence.jsonl - Claim-support verification mandatory: no unsupported factual claims pass delivery
- Applicable comparison/selection reports must turn decisive constraints into a branching decision flow with explicit terminal recommendations and a textual fallback; score tables alone do not pass
- Applicable implementation/tooling reports must search GitHub plus other relevant forges, inspect repository evidence beyond README claims, publish a linked comparison table, and persist
open_source_solutions.jsonl; an explicit no-results record is required when no repository qualifies - No placeholders, no fabricated citations
- Prose-first (>=80%), bullets sparingly
When to Use / NOT Use
Use: Comprehensive analysis, technology comparisons, state-of-the-art reviews, multi-perspective investigation, market analysis.
Do NOT use: Simple lookups, debugging, 1-2 search answers, quick time-sensitive queries.
Runtime context (shared)
运行前读取本 Skill 包的 skill.yaml,由宿主提供 skill-runtime/v1 上下文。字段解析顺序为:当前请求、项目上下文、个人 Preferences、品牌 Profile、通用默认值。
- 只使用 Manifest 声明的字段;Profile 保存公开品牌事实,Preferences 保存个人工作偏好。
required: true字段缺失时,按 Manifest 的问题配置向用户提出一个聚焦问题;用户明确同意后再保存回答。- 报错提供可复制的
context_id、字段路径与来源,诊断内容避开秘密、完整私人路径和原始配置。
通用反馈闭环
用户在 Skill 驱动任务中提出修改意见时,继续当前产物前必须执行:
- 先判断意见是
task-specific(仅本次)还是reusable(可跨任务复用)。 task-specific只修改当前任务,不改 Skill。reusable先确定作用域:领域规则先更新对应 canonical Skill;适用于所有 Skill 的规则先更新共享规范。- 完成规则更新、版本、lint 与分发核验后,再把修改应用到当前任务。
reusable修改会使此前的“确认”“继续”“发吧”失效;完成当前产物修改和回读后必须停下,等待用户下一步指示,不自动进入发布、提交或其他外部写入。
Files (skills)
-
reference
-
continuation.md 4.5 KB
Loading… -
decision-guides.md 2.6 KB
Loading… -
html-generation.md 2.9 KB
Loading… -
methodology.md 17 KB
Loading… -
open-source-solutions.md 4.7 KB
Loading… -
quality-gates.md 8.3 KB
Loading… -
report-assembly.md 4.9 KB
Loading… -
weasyprint_guidelines.md 5.7 KB
Loading…
-
-
schemas
-
claim.schema.json 1.6 KB
Loading… -
evidence.schema.json 1.4 KB
Loading… -
run_manifest.schema.json 2.8 KB
Loading… -
source.schema.json 1.6 KB
Loading…
-
-
scripts
-
citation_manager.py 10.1 KB
Loading… -
evidence_store.py 6.4 KB
Loading… -
extract_claims.py 11.8 KB
Loading… -
md_to_html.py 10.4 KB
Loading… -
research_engine.py 16.4 KB
Loading… -
source_evaluator.py 9.2 KB
Loading… -
validate_decision_guide.py 2.3 KB
Loading… -
validate_open_source_solutions.py 4.9 KB
Loading… -
validate_report.py 13.6 KB
Loading… -
verify_citations.py 15.2 KB
Loading… -
verify_claim_support.py 10.8 KB
Loading… -
verify_html.py 7.8 KB
Loading…
-
-
templates
-
mckinsey_report_template.html 10.2 KB · in bundle
-
report_template.md 14.2 KB
Loading…
-
-
tests
-
fixtures
-
invalid_report.md 288 B
Loading… -
valid_report.md 3.3 KB
Loading…
-
-
test_citation_manager.py 7.6 KB
Loading… -
test_evidence_store.py 5.8 KB
Loading… -
test_extract_claims.py 8.1 KB
Loading… -
test_md_to_html.py 1.2 KB
Loading… -
test_validate_decision_guide.py 1.4 KB
Loading… -
test_validate_open_source_solutions.py 2.5 KB
Loading… -
test_verify_claim_support.py 8.5 KB
Loading…
-
-
.gitignore 76 B · in bundle
-
CHANGELOG.md 1.1 KB
Loading… -
LICENSE 1 KB · in bundle
-
README.md 5.8 KB
# 深度研究 · Deep Research  Enterprise-grade research engine for Claude Code. Produces citation-backed reports with source credibility scoring, multi-provider search, and automated validation. Part of [LovStudio Skills](https://lovstudio.ai/skills) — by [LovStudio](https://lovstudio.ai) ## Installation ```bash npx skills add lov-deep-research -g -y ``` No additional dependencies required for basic usage. ### Optional: search-cli (multi-provider search) For aggregated search across Brave, Serper, Exa, Jina, and Firecrawl: ```bash brew tap 199-biotechnologies/tap && brew install search-cli search config set keys.brave YOUR_KEY # configure at least one provider ``` ## Usage ``` /lov-deep-research ``` ``` deep research in ultradeep mode: compare PostgreSQL vs Supabase for our stack ``` ## Research Modes | Mode | Phases | Duration | Best For | |------|--------|----------|----------| | Quick | 3 | 2-5 min | Initial exploration | | Standard | 6 | 5-10 min | Most research questions | | Deep | 8 | 10-20 min | Complex topics, critical decisions | | UltraDeep | 8+ | 20-45 min | Comprehensive reports, maximum rigor | ## Pipeline Scope → Plan → **Retrieve** (parallel search + agents) → Triangulate → Outline Refinement → Synthesize → Critique (with loop-back) → Refine → Package Key features: - **Step 0**: Retrieves current date before searches (prevents stale training-data year assumptions) - **Parallel retrieval**: 5-10 concurrent searches + 2-3 focused sub-agents returning structured evidence objects - **First Finish Search**: Adaptive quality thresholds by mode - **Critique loop-back**: Phase 6 can return to Phase 3 with delta-queries if critical gaps found - **Multi-persona red teaming**: Skeptical Practitioner, Adversarial Reviewer, Implementation Engineer (Deep/UltraDeep) - **Disk-persisted citations**: `sources.json` survives context compaction and continuation agents - **Open-source solution landscape**: implementation research searches GitHub and other relevant forges, inspects code-level evidence, and publishes a reusable linked repository catalog ## Output Reports saved to `~/Documents/[Topic]_Research_[Date]/`: - Markdown (primary source of truth) - `open_source_solutions.jsonl` for applicable software/tooling research - HTML (McKinsey-style, auto-opened in browser) - PDF (professional print via WeasyPrint) Reports >18K words auto-continue via recursive agent spawning with context preservation. ## Quality Standards - 10+ sources, 3+ per major claim - Executive summary 200-400 words - Findings 600-2,000 words each, prose-first (>=80%) - Full bibliography with URLs, no placeholders - GitHub plus other relevant forge coverage and a shareable repository comparison for implementation/tooling topics - Automated validation: `validate_report.py` (9 checks) + `verify_citations.py` (DOI/URL/hallucination detection) - Validation loop: validate → fix → retry (max 3 cycles) ## Search Tools | Tool | Priority | Setup | |------|----------|-------| | search-cli | **Primary** — all searches go here first | `brew install search-cli` + API keys | | WebSearch | Fallback — if search-cli fails or rate-limited | None (built-in) | | Exa MCP | Optional — semantic/neural search alongside search-cli | MCP config | ## Architecture ``` deep-research/ ├── SKILL.md # Skill entry point (lean, ~100 lines) ├── reference/ │ ├── methodology.md # 8-phase pipeline details │ ├── report-assembly.md # Progressive generation strategy │ ├── quality-gates.md # Validation standards │ ├── open-source-solutions.md # Forge discovery and shareable repository landscape │ ├── html-generation.md # McKinsey HTML conversion │ ├── continuation.md # Auto-continuation protocol │ └── weasyprint_guidelines.md # PDF generation ├── templates/ │ ├── report_template.md # Report structure template │ └── mckinsey_report_template.html # HTML report template ├── scripts/ │ ├── validate_report.py # 9-check structure validator │ ├── verify_citations.py # DOI/URL/hallucination checker │ ├── source_evaluator.py # Source credibility scoring │ ├── citation_manager.py # Citation tracking │ ├── validate_open_source_solutions.py # Open-source artifact and report-link gate │ ├── md_to_html.py # Markdown to HTML converter │ ├── verify_html.py # HTML verification │ └── research_engine.py # Core orchestration engine └── tests/ └── fixtures/ # Test report fixtures ``` ## Version History | Version | Date | Changes | |---------|------|---------| | 2.5.2 | 2026-08-30 | Add early branching decision guides for comparison and solution-selection reports | | 2.5.1 | 2026-08-30 | Render direct HTTP(S) repository links as clickable anchors inside report tables and prose | | 2.5.0 | 2026-08-30 | Verified open-source forge discovery, code-level evidence, shareable repository registry, and multilingual validation parity | | 2.4.0 | 2026-08-24 | Shared feedback-classification and approval-invalidation gate | | 2.3.1 | 2026-03-19 | Template/validator harmonization, structured evidence, critique loop-back, multi-persona red teaming | | 2.3 | 2026-03-19 | Contract harmonization, search-cli integration, dynamic year detection, disk-persisted citations, validation loops | | 2.2 | 2025-11-05 | Auto-continuation system for unlimited length | | 2.1 | 2025-11-05 | Progressive file assembly | | 1.0 | 2025-11-04 | Initial release | ## License MIT - modify as needed for your workflow. -
requirements.txt 579 B
Loading… -
SKILL.md 9.4 KB
--- name: deep-research description: Use when the user needs multi-source research with citation tracking, evidence persistence, structured report generation, or an implementation landscape that includes GitHub and other open-source forges. Triggers on "deep research", "comprehensive analysis", "research report", "compare X vs Y", "analyze trends", "state of the art", "open-source solutions", or "开源方案". Not for simple lookups, debugging, or questions answerable with 1-2 searches. license: MIT compatibility: Requires Python 3.8+ for bundled scripts. search-cli and forge APIs are optional; use available web search and public repository metadata as fallbacks. The public name remains deep-research for compatibility with existing installations and dependency IDs. metadata: author: lovstudio version: "2.5.2" tags: deep-research citations evidence open-source github gitlab gitee reports dependencies: - lov-dev-blog --- # 深度研究 · Deep Research ## Core Purpose Deliver citation-tracked research reports through a structured pipeline with evidence persistence, source identity management, claim-level verification, and progressive context management. **Autonomy Principle:** Operate independently. Infer assumptions from context. Only stop for critical errors or incomprehensible queries. Surface high-materiality assumptions explicitly in the Introduction and Methodology rather than silently defaulting. ## Dependencies - `lov-dev-blog` owns the Skill Publisher website blog publishing contract. `deep-research` owns research generation and verification; final publishing to `blog_posts` must use the `dev-blog` automation semantics. --- ## Decision Tree ``` Request Analysis +-- Simple lookup? --> STOP: Use WebSearch +-- Debugging? --> STOP: Use standard tools +-- Complex analysis needed? --> CONTINUE Mode Selection +-- Initial exploration --> quick (3 phases, 2-5 min) +-- Standard research --> standard (6 phases, 5-10 min) [DEFAULT] +-- Critical decision --> deep (8 phases, 10-20 min) +-- Comprehensive review --> ultradeep (8+ phases, 20-45 min) ``` **Default assumptions:** Technical query = technical audience. Comparison = balanced perspective. Trend = recent 1-2 years. --- ## Workflow Overview | Phase | Name | Quick | Std | Deep | Ultra | |-------|------|-------|-----|------|-------| | 1 | SCOPE | Y | Y | Y | Y | | 2 | PLAN | - | Y | Y | Y | | 3 | RETRIEVE | Y | Y | Y | Y | | 4 | TRIANGULATE | - | Y | Y | Y | | 4.5 | OUTLINE REFINEMENT | - | Y | Y | Y | | 5 | SYNTHESIZE | - | Y | Y | Y | | 6 | CRITIQUE | - | - | Y | Y | | 7 | REFINE | - | - | Y | Y | | 8 | PACKAGE | Y | Y | Y | Y | **Note:** Phases 3-5 operate as an evidence loop per section (retrieve → evidence store → refine outline → draft → verify claims → delta-retrieve if needed), not as strict sequential gates. --- ## Execution **On invocation, load relevant reference files:** 1. **Phase 1-7:** Load [methodology.md](./reference/methodology.md) for detailed phase instructions 2. **Phase 8 (Report):** Load [report-assembly.md](./reference/report-assembly.md) for progressive generation 3. **HTML/PDF output:** Load [html-generation.md](./reference/html-generation.md) 4. **Quality checks:** Load [quality-gates.md](./reference/quality-gates.md) 5. **Implementation/tooling research:** Load [open-source-solutions.md](./reference/open-source-solutions.md) 6. **Comparison/selection/adoption research:** Load [decision-guides.md](./reference/decision-guides.md) 7. **Long reports (>18K words):** Load [continuation.md](./reference/continuation.md) **Templates:** - Report structure: [report_template.md](./templates/report_template.md) - HTML styling: [mckinsey_report_template.html](./templates/mckinsey_report_template.html) **Scripts:** - `python scripts/validate_report.py --report [path]` - `python scripts/verify_citations.py --report [path]` - `python scripts/md_to_html.py [markdown_path]` - `python scripts/validate_open_source_solutions.py --artifact [open_source_solutions.jsonl] --report [report.md] --strict` - `python scripts/validate_decision_guide.py --report [report.md] --strict` **Post-report publishing (Skill Publisher):** - This is a mandatory completion gate, not an optional follow-up. Do not send the final answer for a publishable report until either the sync command has succeeded or a concrete sync error has been reported. - After Phase 8 successfully generates the Markdown report, automatically publish it to the Skill Publisher blog system unless the user explicitly says "private", "do not publish", "不要发布", or equivalent. - This gate depends on `lov-dev-blog`. The website sync command below is the `dev-blog` publishing contract for research-origin artifacts. - Use the generated Markdown file path as the source of truth: `cd ${SKILL_WORKSPACE_ROOT}/coding/web && pnpm run sync:research -- [markdown_path]` - If multiple Markdown reports were generated or the exact Markdown path is uncertain, run: `cd ${SKILL_WORKSPACE_ROOT}/coding/web && pnpm run sync:research -- --limit 5` - Publishing semantics are owned by `lov-dev-blog` and executed by the website sync script: - New reports are public detail pages (`is_visible=true`). - New reports appear in the `/blog` index by default (`show_in_index=true`). - Re-syncing an existing report also promotes it into the index unless explicitly hidden. - Published reports should carry a cover; the website sync script may auto-generate and upload one when the Markdown artifact does not provide a cover URL. - Tell the user the final public URL in the form: `https://lovstudio.ai/blog/[slug]` - In the final answer, include a one-line publishing status: `Published to Skill Publisher: yes/no`, plus the public URL when yes. - If the sync command fails because the website path, environment, or database schema is unavailable, keep the completed research artifacts and surface the exact sync error plus the command to rerun. --- ## Output Contract **Required sections:** - Executive Summary (200-400 words) - Introduction (scope, methodology, assumptions) - Main Analysis (4-8 findings, 600-2,000 words each, cited) - Decision Guide (required for comparison, selection, procurement, architecture-choice, or adoption reports; place before detailed findings) - Open-Source Solutions Landscape (required when the topic concerns software, tooling, automation, implementation, or deployable solutions) - Synthesis & Insights (patterns, implications) - Limitations & Caveats - Recommendations - Bibliography (COMPLETE - every citation, no placeholders) - Methodology Appendix **Output files (all to `~/Documents/[Topic]_Research_[YYYYMMDD]/`):** - Markdown (primary source of truth) - `sources.jsonl` — stable source registry with canonical IDs - `evidence.jsonl` — append-only evidence store with quotes and locators - `claims.jsonl` — atomic claim ledger with support status - `run_manifest.json` — query, mode, assumptions, provider config - `open_source_solutions.jsonl` — canonical repository registry for applicable implementation/tooling research; one verified repository per line - HTML (McKinsey style, auto-opened) - PDF (professional print, auto-opened) **Quality standards:** - 10+ sources, 3+ per major claim (cluster-independent, not just count) - All factual claims cited immediately [N] with evidence backing in `evidence.jsonl` - Claim-support verification mandatory: no unsupported factual claims pass delivery - Applicable comparison/selection reports must turn decisive constraints into a branching decision flow with explicit terminal recommendations and a textual fallback; score tables alone do not pass - Applicable implementation/tooling reports must search GitHub plus other relevant forges, inspect repository evidence beyond README claims, publish a linked comparison table, and persist `open_source_solutions.jsonl`; an explicit no-results record is required when no repository qualifies - No placeholders, no fabricated citations - Prose-first (>=80%), bullets sparingly --- ## When to Use / NOT Use **Use:** Comprehensive analysis, technology comparisons, state-of-the-art reviews, multi-perspective investigation, market analysis. **Do NOT use:** Simple lookups, debugging, 1-2 search answers, quick time-sensitive queries. ## Runtime context (shared) 运行前读取本 Skill 包的 `skill.yaml`,由宿主提供 `skill-runtime/v1` 上下文。字段解析顺序为:当前请求、项目上下文、个人 Preferences、品牌 Profile、通用默认值。 - 只使用 Manifest 声明的字段;Profile 保存公开品牌事实,Preferences 保存个人工作偏好。 - `required: true` 字段缺失时,按 Manifest 的问题配置向用户提出一个聚焦问题;用户明确同意后再保存回答。 - 报错提供可复制的 `context_id`、字段路径与来源,诊断内容避开秘密、完整私人路径和原始配置。 ## 通用反馈闭环 用户在 Skill 驱动任务中提出修改意见时,继续当前产物前必须执行: 1. 先判断意见是 `task-specific`(仅本次)还是 `reusable`(可跨任务复用)。 2. `task-specific` 只修改当前任务,不改 Skill。 3. `reusable` 先确定作用域:领域规则先更新对应 canonical Skill;适用于所有 Skill 的规则先更新共享规范。 4. 完成规则更新、版本、lint 与分发核验后,再把修改应用到当前任务。 5. `reusable` 修改会使此前的“确认”“继续”“发吧”失效;完成当前产物修改和回读后必须停下,等待用户下一步指示,不自动进入发布、提交或其他外部写入。 -
skill.yaml 832 B
Loading…
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.