dfm-review
Skill for design for manufacturing review and optimization
What this skill does
# DFM Review Skill
## Purpose
The DFM Review skill provides capabilities for systematic design for manufacturing review and optimization, enabling cost-effective and producible mechanical designs.
## Capabilities
- Manufacturability assessment
- Process selection guidance
- Tooling feasibility analysis
- Cost driver identification
- Design modification recommendations
- Tolerance and surface finish review
- Material availability assessment
- Supplier capability consideration
## Usage Guidelines
### DFM Principles
#### Core DFM Guidelines
```
1. Minimize part count
2. Use standard components
3. Design for ease of fabrication
4. Design for ease of assembly
5. Design for ease of service
6. Consider process capabilities
7. Minimize secondary operations
```
#### Process-Specific Guidelines
| Process | Key DFM Considerations |
|---------|----------------------|
| Machining | Access, fixturing, tool reach |
| Casting | Draft, wall thickness, gates/risers |
| Injection molding | Draft, undercuts, sink marks |
| Sheet metal | Bend radius, hole-to-edge, grain |
| Welding | Access, joint design, distortion |
| Assembly | Part orientation, fastener access |
### Machining DFM
#### Feature Guidelines
```
Holes:
- Standard drill sizes preferred
- L/D ratio < 5 for drills
- Flat bottoms require end mill
- Provide drill point clearance
Pockets:
- Corner radius = tool radius
- Max depth < 4x tool diameter
- Provide tool access
Threads:
- Standard thread sizes
- Depth 1.5-2x diameter sufficient
- Provide thread relief
Wall thickness:
- Minimum 1-2 mm for steel
- Consider deflection during machining
```
#### Tolerance Capability
| Dimension Type | Typical Capability |
|----------------|-------------------|
| Linear (milling) | +/- 0.025 mm |
| Linear (turning) | +/- 0.013 mm |
| Hole diameter | +/- 0.013 mm |
| Surface finish | Ra 1.6-3.2 um |
| Flatness | 0.025 mm/100 mm |
### Casting DFM
#### Design Guidelines
```
Draft angles:
- External: 1-3 degrees minimum
- Internal: 2-5 degrees
- Deep pockets: increase draft
Wall thickness:
- Minimum: 3-5 mm (sand casting)
- Minimum: 2-3 mm (die casting)
- Uniform thickness preferred
- Gradual transitions
Radii:
- Internal corners: R > 3 mm
- External corners: R > 1 mm
- Avoid sharp transitions
```
#### Shrinkage Allowance
| Material | Shrinkage % |
|----------|-------------|
| Aluminum | 1.2-1.5 |
| Steel | 1.5-2.0 |
| Cast iron | 0.8-1.2 |
| Bronze | 1.0-1.5 |
### Injection Molding DFM
#### Design Guidelines
```
Wall thickness:
- Uniform 1.5-4 mm
- Transitions < 25% thickness change
- Avoid thick sections (sink marks)
Draft:
- 0.5-1 degree per side minimum
- Textured surfaces: add 1 degree per 0.025 mm depth
Ribs:
- Thickness: 50-75% of wall
- Height: < 3x wall thickness
- Spacing: > 2x wall thickness
Bosses:
- Wall: 50-75% of base wall
- Height: < 2x diameter
- Add gussets for strength
```
### Sheet Metal DFM
#### Bend Guidelines
```
Minimum bend radius:
- Soft materials: 0.5x thickness
- Hard materials: 1-2x thickness
- With grain: smaller radius OK
- Against grain: larger radius
Minimum flange:
- Flange > 4x thickness
- Flange > 3 mm practical minimum
Hole-to-bend:
- Distance > 2x thickness + bend radius
- Prevents hole distortion
```
#### Punching Guidelines
```
Minimum hole size:
- Round: 1x material thickness
- Square/rectangle: 0.8x thickness
Minimum edge distance:
- 2x material thickness minimum
- Prevents edge deformation
Minimum hole spacing:
- 2x material thickness minimum
```
### Cost Drivers
#### Cost Analysis Framework
```
Manufacturing cost components:
1. Material cost
- Raw material
- Scrap/waste
- Special materials
2. Labor cost
- Setup time
- Run time
- Inspection time
3. Equipment cost
- Machine time
- Tooling amortization
4. Overhead
- Facility
- Support functions
```
#### Cost Reduction Opportunities
| Area | Opportunity |
|------|-------------|
| Material | Standard grades, near-net-shape |
| Features | Eliminate unnecessary features |
| Tolerances | Relax to process capability |
| Finish | Specify only where needed |
| Operations | Combine or eliminate steps |
| Assembly | Reduce part count, use snap fits |
### Tolerance Review
#### Tolerance Stacking
```
Before specifying tight tolerances:
1. Verify functional requirement
2. Check assembly chain
3. Confirm process capability
4. Consider inspection cost
5. Evaluate statistical tolerance
```
#### Cost Impact
| Tolerance Class | Relative Cost |
|-----------------|---------------|
| Standard (+/- 0.5 mm) | 1x |
| Precision (+/- 0.1 mm) | 2-3x |
| Close (+/- 0.025 mm) | 5-10x |
| Very close (+/- 0.01 mm) | 10-20x |
## Process Integration
- ME-005: Design for Manufacturing (DFM) Review
## Input Schema
```json
{
"design_data": {
"cad_model": "file reference",
"drawings": "array of references",
"material": "string"
},
"manufacturing_context": {
"target_process": "machining|casting|molding|sheet_metal|additive",
"production_volume": "prototype|low|medium|high",
"target_cost": "number (optional)"
},
"supplier_constraints": {
"preferred_suppliers": "array",
"equipment_limitations": "array"
}
}
```
## Output Schema
```json
{
"dfm_assessment": {
"overall_rating": "good|acceptable|needs_improvement",
"manufacturability_score": "number (1-10)"
},
"issues": [
{
"feature": "string",
"issue": "string",
"severity": "critical|major|minor",
"recommendation": "string",
"cost_impact": "string"
}
],
"cost_analysis": {
"material_cost": "number",
"labor_cost": "number",
"tooling_cost": "number",
"total_unit_cost": "number"
},
"improvement_opportunities": [
{
"change": "string",
"cost_savings": "number or percentage",
"effort": "low|medium|high"
}
],
"process_recommendation": {
"primary_process": "string",
"secondary_operations": "array",
"special_requirements": "array"
}
}
```
## Best Practices
1. Involve manufacturing early in design
2. Understand process capabilities
3. Challenge tight tolerances
4. Consider total cost, not just piece cost
5. Design for the target volume
6. Document DFM decisions and rationale
## Integration Points
- Connects with CAD Modeling for design review
- Feeds into Process Planning for manufacturing
- Supports Trade Study for process selection
- Integrates with Cost estimation
Related in Design
contribute
IncludedLocal-only OSS contribution command center. Auto-refreshes the user's in-flight PR and issue state on invoke so conversations start with full context — no need to brief Claude on what's in flight. Helps the user find issues to contribute to on GitHub, builds per-repo dossiers of what each upstream expects (CLA, DCO, branch convention, AI policy, draft-first, review bots, issue templates), runs deterministic gates before any external action so AI-assisted contributions don't reach maintainers as slop. State is markdown-only: candidate files at ~/.contribute-system/candidates/, repo dossiers at ~/.contribute-system/research/, append-only event log at ~/.contribute-system/log.jsonl. No database, no cloud calls. Use when the user asks about their PRs / issues / contributions, wants to find new work to take on, claim an issue, build/refresh a repo's dossier, or draft a Design Issue or PR. Trigger with "/contribute", "what's my PR status", "find a contribution", "claim issue X", "draft a Design Issue for Y", "refresh dossier for Z".
architectural-analysis
IncludedUser-triggered deep architectural analysis of a codebase or scoped subtree across eight modes — information architecture, data flow, integration points, UI surfaces, interaction patterns, data model, control flow, and failure modes. This skill should be used when the user asks to "diagram this codebase," "map the architecture," "show the data flow," "give me an ERD," "trace control flow," "find the integration points," "verify the layout pattern," "audit the UX architecture," or any similar request whose primary deliverable is mermaid diagrams plus cited reports under docs/architecture/. Dispatches haiku/sonnet sub-agents in parallel for per-mode exploration, then verifies every citation mechanically before any node lands in a diagram. Not for one-off prose explanations of code (use code-explanation) or for high-level system design from scratch (use system-design).
mcp
IncludedModel Context Protocol (MCP) server development and tool management. Languages: Python, TypeScript. Capabilities: build MCP servers, integrate external APIs, discover/execute MCP tools, manage multi-server configs, design agent-centric tools. Actions: create, build, integrate, discover, execute, configure MCP servers/tools. Keywords: MCP, Model Context Protocol, MCP server, MCP tool, stdio transport, SSE transport, tool discovery, resource provider, prompt template, external API integration, Gemini CLI MCP, Claude MCP, agent tools, tool execution, server config. Use when: building MCP servers, integrating external APIs as MCP tools, discovering available MCP tools, executing MCP capabilities, configuring multi-server setups, designing tools for AI agents.
react-native-skia
IncludedDesign, build, debug, and optimise high-polish animated graphics in React Native or Expo using @shopify/react-native-skia, Reanimated, and Gesture Handler. Use when the user wants canvas-driven UI, shaders, paths, rich text, image filters, sprite fields, Skottie, video frames, snapshots, web CanvasKit setup, or performance tuning for custom motion-heavy elements such as loaders, hero art, cards, charts, progress indicators, particle systems, or gesture-driven surfaces. Also use when the user asks for fluid, glow, glass, blob, parallax, 60fps/120fps, or GPU-friendly animated effects in React Native, even if they do not explicitly say "Skia". Do not use for ordinary form/layout work with standard views.
plaid
IncludedProduct Led AI Development — guides founders from idea to launched product. Six capabilities: Idea (discover a product idea), Validate (pressure-test the idea against fatal flaws, problem reality, competition, and 2-week MVP feasibility), Plan (vision intake + document generation), Design (translate image references into a design.md spec), Launch (go-to-market strategy), and Build (roadmap execution). Use when someone says "PLAID", "plaid idea", "help me find an idea", "product idea", "idea from my business", "idea from my expertise", "plaid validate", "validate my idea", "pressure-test", "is this idea good", "find fatal flaws", "validate the problem", "plan a product", "define my vision", "generate a PRD", "product strategy", "plaid design", "design from image", "translate image to design", "create design.md", "extract design tokens", "plaid launch", "go-to-market", "launch plan", "GTM strategy", "launch playbook", "plaid build", "build the app", "start building", or "execute the roadmap".
nextjs-framer-motion-animations
IncludedAdds production-safe Motion for React or Framer Motion animations to Next.js apps, including reveal, hover and tap micro-interactions, whileInView, stagger, AnimatePresence, layout and layoutId transitions, reorder, scroll-linked UI, and lightweight route-content transitions. Use when the user asks to add, refactor, or debug Motion or Framer Motion in App Router or Pages Router codebases, especially around server/client boundaries, reduced motion, LazyMotion, bundle size, hydration, or route transitions. Avoid for GSAP-style timelines, WebGL or 3D scenes, heavy scroll storytelling, or CSS-only effects unless Motion is explicitly requested.