Skip to content

ZJU-REAL/Easel / skills/builtin/skill-zhihu-answer

skill-zhihu-answer

Verified

知乎问答回答发布:在知乎问题下发布原创回答——搜热门问题、检查可答性、写内容、 Playwright 发布(绕 header 遮挡 + JS 遍历发布按钮)。当用户说"回答知乎问题""在知乎问答下回答" "发知乎回答""知乎答题""帮我回答这个知乎问题""批量回答知乎"时使用。与 skill-zhihu-publisher 区别:那个发**专栏文章**(zhuanlan),本 SKILL 专发**问答区的回答**;回答内容写作用制作层 SKILL (novel-writer / copywriting)。

FileKindSize
EASEL-META.mdmarkdown1.4 KB
SKILL.mdskill md7.1 KB
references/commands.mdmarkdown2.9 KB

EASEL-META.md

View on GitHub
# Easel SKILL 元数据

| 字段 | 值 |
|------|-----|
| **SKILL 名称** | skill-zhihu-answer |
| **所属层** | publish |
| **来源类型** | 自研(工具封装 + 实战沉淀) |
| **原始来源** | Easel 自研。知乎问答**回答**发布,走 `skills/shared/scripts/zhihu_answer.py`(Playwright 浏览器自动化 + ZhihuProfile 登录态持久化)。2026-08-06 由 skill-workshop 从两轮共 9 条真实知乎回答发布沉淀(原提案 `skill-zhihu-answer-20260806-a4fd2d217c`,因网关插件授权不可用改为手动落库)。 |
| **参考项目** | Playwright(https://playwright.dev/)— 浏览器自动化与登录态持久化;与 skill-zhihu-publisher / channels-upload / kuaishou-upload 共用同一 ZhihuProfile 与浏览器发布方法论 |
| **许可** | 随 Easel 项目许可 |

## 实战沉淀要点(2026-08-06)

调试中发现并修复的三个核心问题(选择器经多次真实页面验证):
1. **header 遮挡「写回答」** → dispatch_event / React 事件序列 / focus+Enter 三策略绕过 pointer 拦截。
2. **编辑器延迟出现** → 每策略后轮询 `.public-DraftEditor-content` 判定成功。
3. **「发布回答」按钮滚出视口** → JS 遍历全部 button 精确匹配「发布回答」+ scrollIntoView,避开与「发布设置」歧义。

> 整理时间: 2026-08-06
> 用途: 来源溯源与致谢
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 198kUpdated Claude CodeCodexVerifiedInstall