7 Commits

Author SHA1 Message Date
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