treg
superdesigndev
OpenRouter for agent tools. Join community here: https://discord.gg/6mQYYfFMAn
sakikoTGW/dsh-plugin-tailor
Make a repository look and read like it is ready to ship: 8-dimension / 44-check audit, 3 README layout engines, a 12-file deterministic brand kit with WCAG contrast QA, bilingual drafts, and pre-release verification. DSH plugin + CLI.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:sakikoTGW/dsh-plugin-tailor
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
简体中文 · English
44 项检查 · 18/18 测试 · 7 种风格 · 3 套版式 · 12 个品牌文件 · MIT
同一仓库:手工 README → tailor 生成。首屏、demo、证据、品牌、链接检查一次成型。
本仓库就是用自己重写的:审计分 37 → 100(D → A),dsh-plugin-resolver 用同一套工具做到 81/100 · verify PASS。
# 1) DSH 插件(推荐)
dsh plugin --profile <profile> add dsh-plugin-tailor
# 2) CLI(不需要 DSH)
npm install -g dsh-plugin-tailor
dsh-repo-tailor styles
# 3) 离线:源码或 Release tarball
git clone https://github.com/sakikoTGW/dsh-plugin-tailor
把这句话交给你的 agent:
用 dsh-plugin-tailor 审计这个仓库,按 product 风格重写 README 和品牌素材,最后跑 verify。
| 阶段 | 工具 | 结果 |
|---|---|---|
| 审计 | repo_audit |
8 维 44 项、0–100 分、按影响排序的缺口 |
| 规划 | repo_plan |
P0/P1/P2 任务,每条带验收与 verify 命令 |
| 简报 | repo_brief |
.tailor/brief.json + BRIEF.md:承诺、受众、语气、非目标、验收 |
| 品牌 | repo_brand |
12 个确定性 SVG + 对比度 QA |
| README | repo_readme |
双语草稿、版式引擎、diff、写保护 |
| Agent 层 | repo_agent |
agent.json、llms.txt、docs/*.md 渲染成带导航的静态站点 |
| 校验 | repo_verify |
链接、图片、锚点、章节、TODO、PASS/FAIL |
写操作默认 dry-run;手写 README 与已有素材默认保留,force 才覆盖。
| 工具 | 读写 | 输入 | 输出 |
|---|---|---|---|
repo_styles |
读 | path?, json? |
内置 + 自定义风格、来源、校验错误 |
repo_audit |
读 | path, style? |
分数、维度明细、gaps |
repo_plan |
读 | path, style?, limit? |
P0/P1/P2 + acceptance + verify |
repo_brief |
dry-run / 写 | path, style?, audience?, promise?, voice?, nonGoals?, acceptance?, apply?, force? |
brief.json、BRIEF.md、开放问题 |
repo_readme |
dry-run / 写 | path, style?, lang?, apply?, force? |
diff、TODO、风格缺口 |
repo_brand |
dry-run / 写 | path, style?, concept?, apply?, force? |
12 个品牌文件 |
repo_agent |
dry-run / 写 | path, style?, apply?, force?, docs? |
agent.json、llms.txt、docs 站点 |
repo_verify |
读 | path, style? |
PASS/FAIL、逐项检查、剩余 TODO |
editorial / centered / showcase 由 visual 字段配置。.tailor/styles/ 或 ~/.tailor/styles/,支持 extends 与 schema 校验。repo_brief 把承诺、受众、语气、非目标和验收写进 .tailor/brief.json;没回答的问题不会被 agent 猜。repo_agent 从 package.json 和 host/register.js 生成契约骨架、llms.txt 和 docs 站点;语义缺口留成显式 TODO,不编造。npm test # 21/21
node bin/tailor.mjs verify . --style=evidence # PASS
node bin/tailor.mjs audit . --style=evidence # 100/100
node bin/tailor.mjs brief . --style=product # draft: open questions
node bin/tailor.mjs agent . --style=product # dry-run: agent.json, llms.txt, docs site
{
"tools": ["repo_styles", "repo_audit", "repo_plan", "repo_brief", "repo_readme", "repo_brand", "repo_agent", "repo_verify"],
"styles": "JSON presets with extends + schema validation",
"writes": ["README.md", "README.en.md", "assets/*.svg", "assets/README.md", ".tailor/brief.json", ".tailor/BRIEF.md", "agent.json", "llms.txt", "docs/*.html", ".tailor/baseline.json"],
"safety": "dry-run default; hand-written README, assets and agent files preserved unless force",
"verify": "links, images, anchors, required sections, remaining TODO"
}
把仓库从能跑,改到敢发布。
npm · GitHub · Issues · dsh-plugins
Built for DeepSeek Harness · MIT · 回到顶部 ↑
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: cli、template。