Commit Graph

39 Commits

Author SHA1 Message Date
titanwings
7a842d0faf feat: 新增示例同事「天意」和「佳秀」
- 天意:AI Lab 安全部门安全可信工程师,负责 safework-f1、safework-ri、agentdog、deepscan
- 佳秀:AI Lab HRBP,负责 Lab 招聘

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-04 21:52:14 +08:00
titanwings
03f5da5439 docs: improve p2p collection guide - teach model to obtain chat_id and tokens dynamically
- Add detailed OAuth flow with step-by-step instructions
- Document how to obtain chat_id via send message API (GET /im/v1/chats doesn't return p2p)
- Add flexibility principle: model can write scripts directly instead of relying on collector
- Include full Feishu API reference for token, message, and contact endpoints
- Add contact/v3/scopes for open_id discovery

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-02 20:40:31 +08:00
titanwings
a2b6ef3903 feat: add private chat (p2p) message collection via user_access_token
- Add user_access_token support to api_get/api_post for user-identity API calls
- Add fetch_p2p_messages() to collect both sides of a private conversation
- Extend collect_messages() to combine p2p + group chat messages
- Add --exchange-code to convert OAuth code to user_access_token
- Add --user-token, --p2p-chat-id, --open-id CLI flags
- Update SKILL.md with p2p collection flow and permission requirements

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-02 20:18:58 +08:00
titanwings
ce30311a72 fix: replace broken /search/v1/user with department traversal + batch_get_id
The old find_user() used /search/v1/user which requires user_access_token,
but the code only has tenant_access_token, causing error 99991663 every time.

New strategy:
1. Email/phone → /contact/v3/users/batch_get_id (fastest, proven working)
2. Name → department traversal + find_by_department (needs contact:department.base:readonly)
3. Both fail → clear error message with suggestions

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 19:10:48 +08:00
titanwings
3e9cc07b62 docs: add WeChat to data sources, clarify recommended export tools
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 15:30:39 +08:00
titanwings
be54d25f03 docs: remove instability wording from chat export tools section
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 15:17:38 +08:00
titanwings
3db7e8d83e docs: add recommended WeChat chat export tools section
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 15:09:24 +08:00
titanwings
c276624214 docs: sync README_EN.md with Chinese version
- Add Slack row to data sources table
- Add ex-skill cross-promotion section
- Add slack_auto_collector.py to project structure
- Update intro text to mention Slack

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 13:23:38 +08:00
titanwings
804025553a docs: move ex-skill promo above data sources table
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 12:51:15 +08:00
titanwings
7aff711793 docs: add cross-promotion for ex-skill in README
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 12:50:09 +08:00
titanwings
b8305a38f3 feat: add Slack auto collector
- tools/slack_auto_collector.py: Slack Bot API 自动采集消息
- requirements.txt: 新增 slack-sdk 依赖
- INSTALL.md: 新增 Slack 配置章节(6 步配置流程、Scope 列表、报错解决)
- README.md: 新增 Slack 数据来源行及工具文件

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 18:41:54 +08:00
titanwings
6a5432836e revert: remove image, restore original text layout 2026-03-31 18:14:44 +08:00
titanwings
a0a424d13e fix: rename image to bypass CDN cache 2026-03-31 18:13:27 +08:00
titanwings
0479591acb fix: brighter image and remove table border 2026-03-31 18:10:33 +08:00
titanwings
3111b522f3 feat: side-by-side layout for parallel sentences and Wandering Earth 2 image 2026-03-31 18:09:12 +08:00
titanwings
f2aeff4a52 feat: add Wandering Earth 2 image with side-by-side layout 2026-03-31 18:06:02 +08:00
titanwings
51a6a845ae chore: trigger README re-render to refresh Star History cache
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 10:39:50 +08:00
titanwings
797dd41696 docs: switch Star History to SVG endpoint for fresher cache
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-31 10:32:14 +08:00
titanwings
f8778cdad0 docs: bust Star History image cache with version param
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-31 10:31:08 +08:00
titanwings
df2808c570 docs: fix PDF column in data sources table (CN + EN)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-30 22:15:54 +08:00
titanwings
8781dbc9e4 docs: add hook paragraph, merge data sources table, remove subtitle (CN + EN)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-30 22:03:43 +08:00
titanwings
f4e3e16239 docs: move data sources section before install, merge into one table
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-30 21:58:35 +08:00
titanwings
8711b6fedf docs: add emotional hook paragraph to README
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-30 21:56:12 +08:00
titanwings
48fd130a96 docs: add Star History chart to English README
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-30 18:40:15 +08:00
titanwings
d6327ebd63 docs: split README into Chinese + English with cross-links
- README.md (Chinese) links to README_EN.md via [English]
- README_EN.md (English) links back to README.md via [中文]

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
v0.01
2026-03-30 17:21:05 +08:00
titanwings
4ac6ef6f30 docs: add English version of README (bilingual Chinese + English)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-30 17:18:31 +08:00
titanwings
d234cd343c docs: add demo note to README
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-30 16:54:29 +08:00
titanwings
09f6f8f419 docs: move quote below title
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-30 16:39:19 +08:00
titanwings
4f593c549c feat: add bilingual SKILL.md (Chinese + English) and README quote
- SKILL.md now contains full instructions in both Chinese and English
- Auto-detect user language and respond accordingly
- Add quote to README header

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-30 16:38:17 +08:00
titanwings
638973f0ac refactor: simplify intake to 3 questions, unify naming to create-colleague
- Merge 7 intake questions into 3: name, basic info, personality profile
- Each question includes a one-shot example
- Change "姓名" to "花名/代号", slug uses - separator
- Unify all references from colleague-creator to create-colleague

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-30 16:34:04 +08:00
titanwings
1c9672d04a docs: rewrite README with polished layout and correct content
- Centered header with badges and nav links
- Install section first with git root warning
- Usage with /create-colleague command
- Demo examples, feature details, project structure

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-30 16:00:03 +08:00
titanwings
87dce6faa8 docs: rewrite README to match standard Claude Code skill format
Follows patterns from anthropics/skills and honnibal/claude-skills:
- Lead with install command, not feature list
- Usage section immediately after install
- Keep it scannable and copy-paste ready

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-30 15:57:54 +08:00
titanwings
3115f88884 fix: rename skill to create-colleague and clarify install location
- SKILL.md name: colleague-creator → create-colleague (matches /create-colleague command)
- README/INSTALL: add warning that skill must be in git repo root's .claude/skills/
- Clone target dir: colleague-creator → create-colleague

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-30 15:52:26 +08:00
titanwings
4051ef183b fix: remove stray CDATA opening tag from README
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-30 15:44:47 +08:00
titanwings
9be9b837f4 fix: remove stray CDATA closing tag from README
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-30 15:42:50 +08:00
titanwings
89d8d73c0c fix: use ${CLAUDE_SKILL_DIR} for all skill-internal paths
Skill runs in the user's project directory, not the skill directory.
All references to tools/ and prompts/ must use the CLAUDE_SKILL_DIR
substitution variable so Claude Code resolves them correctly.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-30 15:39:57 +08:00
titanwings
f133e86b69 docs: redesign README with badges, better layout and cleaner sections
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-30 15:36:03 +08:00
titanwings
6a0b31aa6c refactor: restructure to official AgentSkills/Claude Code skill format
- Flatten colleague-creator/ to repo root (repo = skill directory)
- Update SKILL.md frontmatter with official fields: name, description,
  argument-hint, version, user-invocable, allowed-tools
- Move PRD.md → docs/PRD.md
- Add .gitignore, requirements.txt, LICENSE
- Update README and INSTALL docs to reflect new structure and git clone install

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-30 13:37:54 +08:00
titanwings
4f33f68426 Initial commit: colleague-skill 同事.skill 创建器
功能:
- 通过飞书/钉钉自动采集同事的消息、文档、多维表格
- 支持 PDF、邮件、截图等手动上传
- 分析生成 Work Skill(工作能力)和 Persona(人物性格)两部分
- 支持对话纠正和版本管理
- 兼容 OpenClaw 和 Claude Code 双平台

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-30 13:24:09 +08:00