From 4f11f82db9f20469045a5dbf39252e2eabefd0b0 Mon Sep 17 00:00:00 2001 From: yofine Date: Fri, 5 Jun 2026 00:14:10 +0800 Subject: [PATCH] Add brief skill --- src/content/skills-zh/brief.md | 35 ++++++++++++++++++++ src/content/skills/brief.md | 58 ++++++++++++++++++++++++++++++++++ 2 files changed, 93 insertions(+) create mode 100644 src/content/skills-zh/brief.md create mode 100644 src/content/skills/brief.md diff --git a/src/content/skills-zh/brief.md b/src/content/skills-zh/brief.md new file mode 100644 index 0000000..c804cb0 --- /dev/null +++ b/src/content/skills-zh/brief.md @@ -0,0 +1,35 @@ +--- +slug: brief +--- + +## 使用场景 + +- 从内置 React/Vite 模板初始化一个专业的 Brief 研究简报站点 +- 基于文章、主题或代码库生成独立 HTML 形态的 Brief 风格分析报告 +- 将生成的报告发布到站点归档和元数据索引中 +- 构建站点并启动本地预览服务 +- 维护包含头版报告、归档、标签筛选和详情页的研究简报站点 + +## 核心能力 + +- **站点初始化**:默认在 `~/brief` 创建完整 Brief 前端工程 +- **报告生成**:产出独立 HTML 研究报告,包含清晰分析和必要的可视化结构 +- **报告上架**:将报告 HTML 放入 `public/reports`,并更新 `src/content/reports.ts` +- **预览与验证**:按需安装依赖、启动开发服务,并运行构建检查 +- **模板内置**:附带完整 Brief 前端模板和一篇示例报告 + +## 示例 + +``` +使用 brief 初始化一个新的研究简报站点,并在本地启动。 + +然后分析这篇文章,生成一篇 Brief 风格报告,发布到站点中, +并设置为头版报告。 +``` + +## 注意事项 + +- 用户只需要用自然语言描述目标,Agent 负责执行初始化、生成、上架和启动命令 +- 默认站点位置是 `~/brief`,除非用户明确指定其他路径 +- 报告语言跟随用户要求或现有站点语言 +- 该 skill 面向专业研究简报,不是通用博客或营销页面生成器 diff --git a/src/content/skills/brief.md b/src/content/skills/brief.md new file mode 100644 index 0000000..50cb7ab --- /dev/null +++ b/src/content/skills/brief.md @@ -0,0 +1,58 @@ +--- +name: brief +title: Brief +description: Initialize a professional Brief report site, generate Brief-style analysis reports, and publish them into the site +source: community +author: yofine +githubUrl: https://github.com/yofine/skills/tree/main/brief +docsUrl: https://github.com/yofine/skills#brief +category: development +tags: + - reports + - react + - vite + - publishing +roles: + - developer + - content +featured: false +popular: false +isOfficial: false +installCommand: | + git clone https://github.com/yofine/skills + mkdir -p ~/.qoder/skills + cp -r skills/brief ~/.qoder/skills/ +date: 2026-06-05 +--- + +## Use Cases + +- Initialize a polished Brief site from a bundled React/Vite template +- Generate standalone Brief-style HTML analysis reports from articles, topics, or codebases +- Publish generated reports into the site archive and metadata index +- Build the site and start a local preview server +- Maintain a focused report site with one featured report, archive view, tags, and detail pages + +## Core Capabilities + +- **Site Initialization**: Creates a complete Brief frontend project in `~/brief` by default +- **Report Generation**: Produces standalone HTML research reports with clear analysis and useful visual structure +- **Publishing Workflow**: Adds report HTML under `public/reports` and updates `src/content/reports.ts` +- **Preview And Validation**: Installs dependencies, starts the dev server, and runs build checks when needed +- **Template Included**: Ships with a complete Brief frontend template and one sample report + +## Example + +``` +Use brief to initialize a new report site and start it locally. + +Then analyze this article, generate a Brief-style report, publish it to the site, +and make it the featured report. +``` + +## Notes + +- Users describe the desired outcome in natural language; the agent handles setup and commands +- The default site location is `~/brief` unless the user explicitly provides another path +- Reports can follow the language requested by the user or implied by the existing site +- The skill is intended for professional research briefs, not generic blogs or marketing pages