pressure-vessel
Skill for pressure vessel design and analysis per ASME BPVC
What this skill does
# Pressure Vessel Design Skill
## Purpose
The Pressure Vessel Design skill provides capabilities for designing and analyzing pressure vessels per ASME Boiler and Pressure Vessel Code, ensuring code compliance and safe operation.
## Capabilities
- ASME Section VIII Division 1/2 compliance
- Shell and head thickness calculations
- Nozzle reinforcement analysis
- Flange rating and selection
- Hydrostatic test specification
- MDMT (Minimum Design Metal Temperature) determination
- Stress classification and evaluation
- U-stamp documentation support
## Usage Guidelines
### ASME Section VIII Overview
#### Division Comparison
| Aspect | Division 1 | Division 2 |
|--------|------------|------------|
| Design basis | Design-by-rule | Design-by-analysis |
| Allowable stress | Lower | Higher |
| Safety factor | 3.5 (UTS) | 2.4 (UTS) |
| Analysis required | Limited | Detailed FEA |
| Typical application | General service | High pressure, critical |
### Shell and Head Design
#### Cylindrical Shell (Division 1)
```
Internal pressure:
t = (P * R) / (S * E - 0.6 * P)
External pressure:
t = iterative based on L/D_o and D_o/t
Where:
t = required thickness
P = design pressure
R = inside radius
S = allowable stress
E = joint efficiency
```
#### Head Types
| Type | Stress Ratio | Application |
|------|--------------|-------------|
| Hemispherical | 0.5 | High pressure |
| 2:1 Elliptical | 1.0 | General purpose |
| Torispherical | 1.77 | Low pressure |
| Flat | Variable | Limited pressure |
| Conical | Variable | Transitions |
#### 2:1 Elliptical Head
```
t = (P * D) / (2 * S * E - 0.2 * P)
Where:
D = inside diameter
S = allowable stress
E = joint efficiency
```
### Nozzle Reinforcement
#### Area Replacement Method
```
Required reinforcement area:
A = d * t_r * F
Where:
d = finished nozzle diameter
t_r = required shell thickness
F = correction factor for plane
Available area from:
- Excess shell thickness (A1)
- Excess nozzle thickness (A2)
- Reinforcing pad (A3)
- Weld area (A4, A5)
Criterion: A1 + A2 + A3 + A4 + A5 >= A
```
#### Reinforcement Limits
```
Horizontal limit: d or R + t_n + t
Vertical limit (shell): d or R + t_n + t
Vertical limit (nozzle): 2.5 * t_n or 2.5 * t + t_e
```
### Flange Design
#### Flange Types
| Type | Rating | Application |
|------|--------|-------------|
| Slip-on | 150-600 lb | General, lower pressure |
| Weld neck | 150-2500 lb | High pressure, critical |
| Socket weld | 150-600 lb | Small bore |
| Blind | 150-2500 lb | Closures |
| Lap joint | 150-600 lb | Corrosive service |
#### Flange Rating
```
ASME B16.5 pressure-temperature ratings:
- Class 150, 300, 600, 900, 1500, 2500
Select class where:
P_design <= P_rating at T_design
```
### MDMT Determination
#### Impact Test Exemption
```
Impact test required if:
T_design < MDMT
MDMT determination:
1. Base MDMT from UCS-66 curves
2. Adjust for actual stress ratio
3. Consider coincident ratio
4. Apply Table UCS-66.1 reduction
Stress ratio reduction:
MDMT_adjusted = MDMT - temperature credit
```
#### Impact Test Requirements
```
If impact testing required:
- Test temperature <= MDMT - 30 F (typical)
- Minimum energy: 15 ft-lb (full size Charpy)
- Average of 3 specimens
- Single specimen minimum: 10 ft-lb
```
### Hydrostatic Test
#### Test Pressure
```
Division 1:
P_test = 1.3 * MAWP * (S_test / S_design)
Division 2:
P_test = 1.43 * MAWP * (S_test / S_design)
Where:
MAWP = Maximum Allowable Working Pressure
S_test = allowable stress at test temperature
S_design = allowable stress at design temperature
```
#### Test Procedure
```
1. Fill vessel completely with water
2. Remove all air pockets
3. Apply test pressure slowly
4. Hold for minimum 10 minutes
5. Reduce to MAWP for inspection
6. Inspect all welds and connections
7. Document results
```
### Stress Classification (Division 2)
#### Stress Categories
| Category | Symbol | Limit |
|----------|--------|-------|
| General membrane | Pm | S |
| Local membrane | PL | 1.5S |
| Bending | Pb | 1.5S |
| Secondary | Q | 3S |
| Peak | F | Fatigue analysis |
#### Stress Combinations
```
Primary stress:
Pm <= S
PL <= 1.5S
PL + Pb <= 1.5S
Primary + Secondary:
PL + Pb + Q <= 3S
Fatigue:
Use peak stress F in fatigue curves
```
### Code Compliance Documentation
#### U-1 Data Report
```
Required information:
- Manufacturer identification
- Vessel description and design data
- Material specifications
- Joint efficiencies
- Inspection data
- Test data
- Stamping information
```
## Process Integration
- Related to structural analysis processes for pressure equipment
## Input Schema
```json
{
"vessel_type": "pressure|vacuum|combined",
"design_conditions": {
"pressure": "number (psig or barg)",
"temperature": "number (F or C)",
"MDMT": "number (F or C)"
},
"geometry": {
"diameter": "number",
"length": "number",
"head_type": "elliptical|hemispherical|torispherical|flat"
},
"material": {
"shell": "string (SA-XXX)",
"heads": "string",
"nozzles": "string"
},
"code_edition": "string",
"division": "1|2"
}
```
## Output Schema
```json
{
"design_summary": {
"MAWP": "number",
"required_thicknesses": {
"shell": "number",
"heads": "number"
},
"selected_thicknesses": "object"
},
"nozzle_schedule": [
{
"size": "string",
"purpose": "string",
"reinforcement": "object"
}
],
"MDMT_evaluation": {
"MDMT": "number",
"impact_test_required": "boolean"
},
"hydrostatic_test": {
"test_pressure": "number",
"test_procedure": "string"
},
"code_compliance": {
"paragraph_references": "array",
"calculation_summary": "object"
},
"drawings_required": "array"
}
```
## Best Practices
1. Always use current code edition
2. Verify material availability and certification
3. Consider corrosion allowance
4. Check MDMT early in design
5. Coordinate with authorized inspector
6. Document all design decisions
## Integration Points
- Connects with Material Selection for appropriate materials
- Feeds into FEA Structural for Division 2 analysis
- Supports Welding Qualification for weld procedures
- Integrates with FAI Inspection for verification
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.