siluzan-seo-cli 0.1.1-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,25 @@
1
+ 请为以下关键词列表批量生成 SEO 引流页,每个关键词对应一个独立页面,一次性全部返回。
2
+
3
+ **关键词列表**:
4
+ {{#each keywords}}
5
+ - {{this}}
6
+ {{/each}}
7
+
8
+ 共 {{keywords.length}} 个关键词,需生成 {{keywords.length}} 个页面。
9
+
10
+ ---
11
+
12
+ ## 企业知识库上下文(来自 siluzan-cso RAG)
13
+
14
+ {{rag_context}}
15
+
16
+ ---
17
+
18
+ 要求:
19
+ 1. 每个关键词生成一个完整独立的页面,围绕该关键词展开,不出现与该关键词无关的产品
20
+ 2. 所有页面内容必须完全独特,禁止在不同页面中复用相同句子、案例描述、FAQ 问题或亮点表述
21
+ 3. 每个页面使用不同的切入角度、不同的案例侧重点、不同的 FAQ 问题
22
+ 4. 优先使用知识库中的真实案例和资质数据,评价模块优先检索真实评价
23
+ 5. 所有内容用英语输出,纯文本,不得包含 Markdown 或 HTML
24
+ 6. 严格遵守各模块的字符限制
25
+ 7. 按照 output schema 输出合法 JSON,pages 数组长度必须等于关键词数量
@@ -0,0 +1,49 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "SEO Traffic Page Generator Output",
4
+ "type": "object",
5
+ "required": ["pages"],
6
+ "properties": {
7
+ "pages": {
8
+ "type": "array",
9
+ "description": "生成的页面列表,数量与输入关键词数量一致,顺序一一对应",
10
+ "items": {
11
+ "type": "object",
12
+ "required": ["Title", "Content", "TDK"],
13
+ "properties": {
14
+ "Title": {
15
+ "type": "string",
16
+ "description": "该页面的关键词"
17
+ },
18
+ "Content": {
19
+ "type": "string",
20
+ "description": "纯文本,包含全部 7 个模块(优势/案例/产品/文本/FAQ/评价/亮点),按顺序连续输出,模块间空行分隔,禁止 Markdown 和 HTML,内容必须与其他页面完全不重复"
21
+ },
22
+ "TDK": {
23
+ "type": "object",
24
+ "required": ["seo_title", "seo_description", "seo_keywords"],
25
+ "properties": {
26
+ "seo_title": {
27
+ "type": "string",
28
+ "maxLength": 120,
29
+ "description": "SEO 标题,不超过 120 个字符,含核心关键词"
30
+ },
31
+ "seo_description": {
32
+ "type": "string",
33
+ "maxLength": 500,
34
+ "description": "SEO 描述,不超过 500 个字符,含关键词和行动引导"
35
+ },
36
+ "seo_keywords": {
37
+ "type": "array",
38
+ "items": { "type": "string" },
39
+ "minItems": 3,
40
+ "maxItems": 3,
41
+ "description": "SEO 关键词,固定 3 个"
42
+ }
43
+ }
44
+ }
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
@@ -0,0 +1,51 @@
1
+ name: seo-traffic-page-generator
2
+ version: 1.0.0
3
+ description: 基于企业知识库批量生成 SEO 引流页,输入 N 个关键词,一次性返回 N 个独立页面,内容互不重复
4
+ author: WorkBuddy
5
+
6
+ model:
7
+ provider: anthropic
8
+ name: claude-sonnet-4-5
9
+ temperature: 0.7
10
+ max_tokens: 4096
11
+
12
+ inputs:
13
+ - name: keywords
14
+ type: array
15
+ items: string
16
+ required: true
17
+ description: 关键词列表,输入几个生成几个页面
18
+
19
+ rag:
20
+ provider: siluzan-cso
21
+ queries:
22
+ - id: keywords_context
23
+ template: "{{keywords | join: ' '}}"
24
+ top_k: 10
25
+ purpose: 召回与所有关键词相关的案例和产品描述
26
+ - id: company_profile
27
+ template: "company profile brand overview services"
28
+ top_k: 5
29
+ purpose: 召回企业档案和品牌信息
30
+ - id: trust_assets
31
+ template: "certification award trust partnership media"
32
+ top_k: 4
33
+ purpose: 召回资质荣誉
34
+ - id: faq_pool
35
+ template: "FAQ question answer product service"
36
+ top_k: 8
37
+ purpose: 召回问答素材池,供各页面分配使用
38
+ - id: reviews
39
+ template: "customer review testimonial satisfaction feedback"
40
+ top_k: 3
41
+ purpose: 召回真实客户评价,无数据时由 Claude 生成虚构评价
42
+ merge: union
43
+ dedup: true
44
+
45
+ prompts:
46
+ system: prompts/system.md
47
+ user: prompts/user.md
48
+
49
+ output:
50
+ schema: schemas/output.json
51
+ format: json
package/package.json ADDED
@@ -0,0 +1,61 @@
1
+ {
2
+ "name": "siluzan-seo-cli",
3
+ "version": "0.1.1-beta.3",
4
+ "description": "Siluzan SEO 网页结构化 JSON Skill CLI — 引流页 / Blog / 外链 schema 生成(配合 siluzan-cso RAG)。",
5
+ "keywords": [
6
+ "ai-skill",
7
+ "cli",
8
+ "cursor",
9
+ "openclaw",
10
+ "seo",
11
+ "siluzan",
12
+ "skill",
13
+ "landing-page"
14
+ ],
15
+ "homepage": "https://www.siluzan.com",
16
+ "bugs": {
17
+ "url": "https://dev.azure.com/jack4it/Sammamish/_git/siluzan-skill/issues"
18
+ },
19
+ "license": "UNLICENSED",
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "https://dev.azure.com/jack4it/Sammamish/_git/siluzan-skill",
23
+ "directory": "seo-cli"
24
+ },
25
+ "bin": {
26
+ "siluzan-seo": "./dist/index.js"
27
+ },
28
+ "files": [
29
+ "dist",
30
+ "README.md",
31
+ "scripts/postinstall.mjs"
32
+ ],
33
+ "type": "module",
34
+ "publishConfig": {
35
+ "access": "public"
36
+ },
37
+ "dependencies": {
38
+ "commander": "^12.1.0",
39
+ "docx": "^9.5.0",
40
+ "pdfkit": "^0.17.1",
41
+ "proper-lockfile": "^4.1.2"
42
+ },
43
+ "devDependencies": {
44
+ "@types/node": "^22.10.0",
45
+ "@types/pdfkit": "^0.13.9",
46
+ "tsup": "^8.3.0",
47
+ "typescript": "^5.7.2",
48
+ "siluzan-cli-common": "1.0.0"
49
+ },
50
+ "engines": {
51
+ "node": ">=18"
52
+ },
53
+ "scripts": {
54
+ "postinstall": "node scripts/postinstall.mjs",
55
+ "build": "node scripts/write-defaults.mjs --env production && tsup && node scripts/copy-skill-assets.mjs --env production",
56
+ "build:prod": "node scripts/write-defaults.mjs --env production && tsup && node scripts/copy-skill-assets.mjs --env production",
57
+ "build:test": "node scripts/write-defaults.mjs --env test && tsup && node scripts/copy-skill-assets.mjs --env test",
58
+ "start": "node dist/index.js",
59
+ "typecheck": "tsc --noEmit -p tsconfig.json"
60
+ }
61
+ }
@@ -0,0 +1,3 @@
1
+ console.log(
2
+ "[siluzan-seo]: 安装成功。运行 siluzan-seo init 将 SEO Skill 写入 AI 助手目录;配合 siluzan-cso 做 RAG 检索。",
3
+ );