gsd-profile-user
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese<objective>
Generate a developer behavioral profile from session analysis (or questionnaire) and produce artifacts (USER-PROFILE.md, `gsd-dev-preferences` skill config, CLAUDE.md section) that personalize Claude's responses.
Routes to the profile-user workflow which orchestrates the full flow: consent gate, session analysis or questionnaire fallback, profile generation, result display, and artifact selection.
</objective>
<execution_context>
@/.claude/gsd-core/workflows/profile-user.md
@/.claude/gsd-core/references/ui-brand.md
</execution_context>
<context>
Flags from $ARGUMENTS:
- `--questionnaire` -- Skip session analysis entirely, use questionnaire-only path
- `--refresh` -- Rebuild profile even when one exists, backup old profile, show dimension diff
</context>
<process>
Execute the profile-user workflow end-to-end.
The workflow handles all logic including:
- Initialization and existing profile detection
- Consent gate before session analysis
- Session scanning and data sufficiency checks
- Session analysis (profiler agent) or questionnaire fallback
- Cross-project split resolution
- Profile writing to USER-PROFILE.md
- Result display with report card and highlights
- Artifact selection (dev-preferences, CLAUDE.md sections)
- Sequential artifact generation
- Summary with refresh diff (if applicable)
<objective>
通过会话分析(或问卷)生成开发者行为档案,并生成可个性化Claude回复的工件(USER-PROFILE.md、`gsd-dev-preferences` skill配置、CLAUDE.md章节)。
进入profile-user工作流,该工作流编排完整流程:同意校验、会话分析或问卷备选方案、档案生成、结果展示以及工件选择。
</objective>
<execution_context>
@/.claude/gsd-core/workflows/profile-user.md
@/.claude/gsd-core/references/ui-brand.md
</execution_context>
<context>
来自$ARGUMENTS的参数:
- `--questionnaire` —— 完全跳过会话分析,仅使用问卷路径
- `--refresh` —— 即使已有档案也重新构建,备份旧档案,显示维度差异
</context>
<process>
端到端执行profile-user工作流。
该工作流处理所有逻辑,包括:
- 初始化与现有档案检测
- 会话分析前的同意校验
- 会话扫描与数据充足性检查
- 会话分析(profiler agent)或问卷备选方案
- 跨项目拆分解析
- 将档案写入USER-PROFILE.md
- 附带报告卡和重点内容的结果展示
- 工件选择(dev-preferences、CLAUDE.md章节)
- 按顺序生成工件
- 包含刷新差异的总结(如适用)