8 Commits

Author SHA1 Message Date
zhoutianyi
0c09a898ac fix: correct mismatched option labels in SKILL.md (A-E menu vs sections) (#64)
Both the Chinese and English versions of SKILL.md had option labels
in the section headers that did not match the A–E menu presented to
users during Step 2.

Chinese bugs (before this fix):
- 方式 C:上传文件  → should be 方式 D (D=上传文件 in menu)
- 方式 B:飞书链接  → should be 方式 C (C=飞书链接 in menu) — duplicate B
- 方式 C:直接粘贴  → should be 方式 E (E=直接粘贴 in menu)

English bugs (before this fix):
- Option C: Upload Files  → should be Option D (D=Upload Files in menu)
- Option D: Feishu Link   → should be Option C (C=Feishu Link in menu)

Both menus are consistent with each other (A=Feishu auto, B=DingTalk,
C=Feishu link, D=Upload, E=Paste); it was only the section headers
that were out of sync.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-13 15:04:53 +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
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
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
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
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