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:
  1. Initialization and existing profile detection
  2. Consent gate before session analysis
  3. Session scanning and data sufficiency checks
  4. Session analysis (profiler agent) or questionnaire fallback
  5. Cross-project split resolution
  6. Profile writing to USER-PROFILE.md
  7. Result display with report card and highlights
  8. Artifact selection (dev-preferences, CLAUDE.md sections)
  9. Sequential artifact generation
  10. Summary with refresh diff (if applicable)
</process>
<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工作流。
该工作流处理所有逻辑,包括:
  1. 初始化与现有档案检测
  2. 会话分析前的同意校验
  3. 会话扫描与数据充足性检查
  4. 会话分析(profiler agent)或问卷备选方案
  5. 跨项目拆分解析
  6. 将档案写入USER-PROFILE.md
  7. 附带报告卡和重点内容的结果展示
  8. 工件选择(dev-preferences、CLAUDE.md章节)
  9. 按顺序生成工件
  10. 包含刷新差异的总结(如适用)
</process>