dev-design-context
Establish or update persistent product and visual design guidance in .design-context.md. Use for initial design setup, a deliberate design-direction…
它会碰到什么
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
Dev Design Context
Persist the project-specific design decisions future UI work needs. Read [references/dev-baseline.md](references/dev-baseline.md). This skill writes design guidance, not application code, mockups, or implementation reviews.
Establish what is already known
Read existing .design-context.md, product/brand documentation, representative screens, reusable components, design tokens, and actual assets. Inspect relevant paths rather than cataloging every style declaration. Distinguish deliberate conventions from isolated inconsistencies or legacy accidents.
Capture the audience and their recurring tasks, product context, visual hierarchy, typography, color roles, layout density, component patterns, asset identity, supported devices, and interaction/accessibility constraints where evidenced. Reference source paths so future agents can find authoritative tokens and components rather than duplicating them.
An existing valid design context usually needs no update. An absent .design-context.md does not block implementation when existing instructions, code, or supplied designs already establish the direction.
Resolve material gaps
Ask only what affects the design and cannot be inferred: a conflicting audience, undefined brand constraints, a major direction change, target device needs, or an explicit accessibility requirement. Use focused questions, not a fixed questionnaire or mandatory three-word personality exercise.
Choose reversible details from established conventions and record consequential assumptions. Do not invent a brand direction unsupported by the brief, and do not label accessibility compliance as achieved without evidence. References describe intent; copying arbitrary reference styling is not a substitute for understanding the product.
Write the reusable context
Default output is .design-context.md in the project root. If it exists, update its ## Design Context section in place, preserving unrelated content. Follow a user-specified destination or chat-only instruction instead when present.
Include only sections that guide actual decisions:
## Design Context
### Users and tasks
<Audience, context of use, and recurring workflows>
### Product and brand
<Supported voice, identity, and visual constraints>
### Existing design system
<Authoritative tokens, components, assets, and relevant source paths>
### Design direction
<Hierarchy, density, typography, color roles, imagery, responsive and motion expectations>
### Design principles
<Concrete project-specific rules and the decisions they guide>
### Open assumptions
<Material unresolved assumptions only; omit if none>
Keep guidance concise and evidence-based; avoid universal design advice, invented requirements, task checklists, or duplicate token tables that will drift. Update another assistant configuration such as .github/copilot-instructions.md only when that destination is requested; do not add an unsolicited synchronization question.
Re-read the result to check consistency with the sources and the user's direction. Report the path and the principles that materially guide future work, plus remaining uncertainty. Do not claim UI parity, responsiveness, or accessibility from a documentation edit alone.
Multi-Agent Profile
Recommended agent_type: explorer
When delegation is available and authorized, a bounded explorer can inspect components, tokens, assets, and representative screens and return facts with source paths. One agent owns user questions and the final context file. In the source repository, docs/multi-agent-policy.md is optional guidance, not a required standalone resource.
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。
它属于哪个仓库
plugins/Jason-chen-coder/dev-skills/skills/dev-design-context/SKILL.md