Prompt file imported from OthmanAdi/MDDesign (
.cursor/commands/inject.md). Copyright stays with the author.
/mddesign:inject
Manually run the design-bridge skill's token-inject logic.
What I do
GlobDESIGN.mdat project root. If absent, surface/mddesign:harvestnudge and stop.Readtask_plan.mdto identify the active phase.- Extract the token slice relevant to the active phase (using the same heuristics as the UserPromptSubmit hook).
Editfindings.mdto add or replace the## Design Contextblock with the current slice.
Full logic in skills/design-bridge/SKILL.md.
Why use this instead of waiting for the hook
The UserPromptSubmit hook only fires on UI-keyword detection. If you know you are about to start a UI task but your prompt does not have obvious UI keywords, /mddesign:inject gets the context into findings.md preemptively.
Boundaries
- Never edits
DESIGN.mdortask_plan.md. - Only edits
findings.mdunder the## Design Contextsection.