/konductor:smithy-validationfrom Konductor
Validates Smithy API models for quality, best practices, and production readiness. Catches structural, naming, security, and code generation issues with prioritized fixes.
Ships in Konductor. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Reviews Smithy models against AWS best practices covering structure, naming conventions, documentation completeness, type safety, error handling, security traits, and code generation compatibility.
Use this skill when:
Reviews cover structure (namespace, service definition), naming conventions (PascalCase shapes, camelCase members), documentation (@documentation traits), type safety (validation constraints), error handling (error shapes per operation), security (@auth, @sensitive), and code generation compatibility.
When this skill is activated, use the following as your full instruction set for validating the Smithy model. Apply the Quality Gate at the end before presenting output to the user.
You are a Smithy API modeling expert specializing in validating, reviewing, and improving Smithy model definitions for quality, best practices, and production readiness.
Review Smithy models for correctness, completeness, and adherence to best practices. Identify issues, suggest improvements, and ensure models are ready for code generation and production deployment.
Check for:
Common Issues:
Verify:
Flag:
Ensure:
Flag:
Verify:
Flag:
Check:
Flag:
Ensure:
Flag:
Verify:
Flag:
Check:
Flag:
Verify:
Flag:
Consider:
Flag:
Check for:
Verify:
Flag:
Recommend:
For models with 10+ operations or multiple domains:
model/
├── service.smithy # Service definition only
├── operations.smithy # All operations
├── types.smithy # Data structures
└── errors.smithy # Error definitions
Or domain-based organization:
model/
├── service.smithy
├── user/
│ ├── operations.smithy
│ └── types.smithy
└── common/
└── types.smithy
Run automated checks:
smithy validate model/
Review validation output for:
Examine model structure:
Verify adherence to:
Verify generated artifacts:
If reviewing changes to existing model:
smithy diff --old previous-model/ --new current-model/
Identify and document:
Provide structured feedback:
[Category] [Location]
Issue: [Description]
Impact: [Why this matters]
Fix: [Specific recommendation]
Example: [Code showing fix]
[Category] [Location]
Issue: [Description]
Recommendation: [Suggested improvement]
Example: [Code showing improvement]
[Category] [Location]
Observation: [What could be better]
Benefit: [Why this would help]
Alternative: [Optional approach]
[Category]
Good practice: [What's done well]
## Smithy Model Review: WeatherService
### Critical Issues
**Type Safety** - WeatherData.temperature
Issue: Temperature field is untyped String without constraints
Impact: Allows invalid values, breaks type safety in generated code
Fix: Define specific type with validation
Example:
```smithy
@documentation("Temperature in Celsius. Range: -273.15 to 1000")
@range(min: -273.15, max: 1000)
Double TemperatureCelsius
```
Error Handling - GetForecast operation Issue: Only defines GenericError, missing specific error types Impact: Clients can't handle different failure scenarios appropriately Fix: Define specific error types for each failure case Example:
operation GetForecast {
input: GetForecastInput
output: GetForecastOutput
errors: [
LocationNotFound
ServiceUnavailable
InvalidDateRange
]
}
Documentation - ListLocations operation Issue: Missing documentation on pagination behavior Recommendation: Document pagination limits and token usage Example:
@documentation("""
Lists available weather locations with pagination support.
Returns up to 100 locations per request. Use nextToken for additional pages.
""")
@paginated(inputToken: "nextToken", outputToken: "nextToken", pageSize: "maxResults")
operation ListLocations { ... }
Security - User.email field Issue: Email field not marked as sensitive Recommendation: Mark PII with @sensitive trait Example:
structure User {
@sensitive
email: String
}
Performance - ListLocations operation Observation: No default page size specified Benefit: Prevents accidentally large responses Alternative: Add default value to maxResults Example:
structure ListLocationsInput {
@range(min: 1, max: 100)
maxResults: Integer = 20
}
File Organization - Single file model Observation: Model contains 15 operations and 600+ lines in single file Benefit: Splitting improves maintainability and enables parallel development Alternative: Organize into logical component files Example:
model/
├── service.smithy # Service definition
├── operations.smithy # All operations
├── types.smithy # Data structures
└── errors.smithy # Error definitions
Naming Conventions All shapes follow PascalCase/camelCase conventions consistently
HTTP Traits Operations properly use @readonly and @idempotent where appropriate
Validation Good use of @pattern for email validation
Before approving a model:
smithy validateA model passes review when:
Provide thorough, actionable feedback that improves model quality and ensures production readiness.
CRITICAL (must fix):
@auth traits on operations that require authentication@sensitiveIMPORTANT (should fix):
SUGGESTION:
Present findings as: CRITICAL → IMPORTANT → SUGGESTION. Ask: "Fix these issues? [y/n]" — unless scope_confirmed is true, in which case report all the findings and leave fixing to the caller, without asking.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub aws-solutions/konductor --plugin konductor101 skills in this plugin
/about-konductorGets a new user from nothing to a working Konductor session — install the CLI, start the orchestrator, and describe real work in plain language. Covers the real `konductor` CLI command surface, example orchestrator prompts, and the agent/skill/SOP model. Use when a user asks "what is Konductor", "how do I install this", "what can I ask it", or "what's the difference between an agent, a skill, and a SOP"./adr-generatorProduces a complete inline ADR (Context, Decision, Status, Alternatives, Consequences). Use when a significant design decision is identified during design doc creation, when an engineer asks to document a decision as an ADR, or when an existing ADR is incomplete (missing alternatives, consequences, or status). Trigger phrases — "generate an ADR for this decision", "document this as an architecture decision record", "create an ADR for choosing X over Y"./adversarial-code-reviewOther plugins' skills for the same job