一键导入
diff-generate
Generate a DexDiff methodology document from your vault customisations: package how you use Dex so others can replicate it
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate a DexDiff methodology document from your vault customisations: package how you use Dex so others can replicate it
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | diff-generate |
| description | Generate a DexDiff methodology document from your vault customisations: package how you use Dex so others can replicate it |
In plain English: You've built a workflow in Dex that works well. This command scans your vault, identifies what you've customised, and writes a methodology document describing how it works. That document can be published to heydex.ai/diff so others can adopt a similar setup using /diff-adopt.
When to use it:
How to run it:
/diff-generate "my meeting prep workflow"
/diff-generate
$ARGUMENTS: Optional description of the workflow to package.
Scan these locations for custom components:
.claude/skills/ - custom or modified skills
.claude/hooks/ - custom hooks
CLAUDE.md - custom sections
.claude/CLAUDE.md - local extensions
To identify what's custom vs. baseline dex-core:
-custom suffix are always custom-dave or other personal suffixes are customPresent findings:
I found these customisations in your vault:
Skills ([count] custom):
[skill-name] - [one-line description]
...
Hooks ([count]):
[hook-name] - [one-line description]
...
CLAUDE.md extensions ([count] custom sections detected)
What would you like to package?
- Describe a workflow (e.g. "my meeting prep")
- Or pick from the list above
If the user provided a description, use it to identify related components.
Grouping heuristic: components belong together if:
Present the proposed grouping and let the user adjust.
For the selected components, generate a methodology YAML following the v2.0 schema.
How to write each section:
methodology.problem: What was life like before this workflow? Write from the user's perspective.methodology.solution: What does the workflow do end to end? Describe the experience, not the code.methodology.user_experience.commands: For each skill: name, trigger, description, realistic example input/output.methodology.vault_structure: For each folder the skills reference: purpose, typical path, required/optional.methodology.data_patterns: For each data format expected: description, realistic example (anonymised).methodology.integrations: For each MCP or tool: name, examples, value add, required/optional.methodology.behaviors: For each automatic action: what happens, when, automatic or manual.Anonymise real data. Use realistic but anonymised names, companies, and dates in examples.
A few details for the methodology:
Diff ID (URL-safe, kebab-case): [suggest]
Display name: [suggest]
Description (1-2 sentences): [draft]
Tags: [suggest]
Edit any of these, or accept the defaults.
Display the complete methodology YAML. Ask:
Methodology drafted. What would you like to do?
[Save] - saves to the DexDiff draft area (`DEXDIFF_DIFFS_DIR`, default `04-Projects/DexDiff/beta/diffs/[id].yaml`)
[Edit first] - adjust any section before saving
[Test it] - run /diff-adopt against this to see what it generates
After the methodology YAML is saved, publishing is optional.
If the user wants to publish it, use the terminal bridge that ships with this skill:
~/.dex/heydex-auth.json exists and is less than 30 days old.https://heydex.ai/connect/?cli=true, sign in, create a sign-in code, then run:python3 .claude/skills/diff-generate/scripts/publish_diff.py link --code ABC123
python3 .claude/skills/diff-generate/scripts/publish_diff.py publish <path-to-yaml>
The script opens a browser review page. Tell the user that page is where they can edit the workflow and choose Publish. Nothing is shared without their explicit approval on that page.
dexdiff_schema: "2.0". See 04-Projects/DexDiff/design/methodology-schema.md for the full spec.Process synced Granola meetings to update person pages, extract tasks, and organize meeting notes
Capture solved problems as categorized documentation with YAML frontmatter for fast lookup
Personal career coach with 4 modes: weekly reports, monthly reflections, self-reviews, promotion assessments
Rigorous whole-system checkup — verifies every Dex feature honestly (working / off / broken / couldn't-check), self-heals what is provably safe, and guides the user only where Dex cannot fix itself. Replaces /health-check.
Interactive post-onboarding tour with adaptive pathways based on available data
Initial Dex system setup and onboarding