jira.log
Log a new Jira issue to RHOAIENG with Team (Ambient team) and Component (Agentic) pre-filled.
Generate a complete CRUD entity (Kind) using the automated generator script.
$ npx -y skills add ambient-code/platform --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/trex.kind.newContext preview
What this command does when you run it.
Generate a complete CRUD entity (Kind) using the automated generator script.
Generate a complete CRUD entity (Kind) using the automated generator script.
Use the TodoWrite tool to track progress.
Ask the user for: 1. **Kind name** (singular, PascalCase): e.g., "Widget", "Rocket", "Customer" 2. **Fields** beyond the base Meta fields (optional):
go run ./scripts/generator.go --kind {KindName}With custom fields:
go run ./scripts/generator.go --kind {KindName} --fields "{field1}:{type1}:{nullability},{field2}:{type2}"Example:
go run ./scripts/generator.go --kind Rocket --fields "name:string:required,fuel_type:string,max_speed:int"
The generator automatically:
make binary
Fix any compilation errors if they occur.
make test-integration
Or run just the new Kind's tests:
TESTFLAGS="-run Test{Kind}" make test-integration| User Type | Go (required) | Go (nullable) | OpenAPI type | OpenAPI format | DB Type | |-----------|--------------|---------------|-------------|---------------|---------| | string | `string` | `*string` | string | | varchar | | int | `int` | `*int` | integer | int32 | integer | | int64 | `int64` | `*int64` | integer | int64 | bigint | | bool | `bool` | `*bool` | boolean | | boolean | | float64 | `float64` | `*float64` | number | double | float8 | | time | `time.Time` | `*time.Time` | string | date-time | timestamptz |
| Context | Convention | Example | |---------|-----------|---------| | Go struct | PascalCase | `ProductCategory` | | Go variable | camelCase | `productCategory` | | Go package | lowercase plural | `productcategorys` | | API path | snake_case plural | `/product_categorys` | | JSON field | snake_case | `category_name` | | DB table | snake_case plural | `product_categorys` | | DB column | snake_case | `category_name` | | Plugin registry | PascalCase plural | `ProductCategorys` |
Rules:
Kubernetes-native AI automation platform for intelligent agentic sessions
Log a new Jira issue to RHOAIENG with Team (Ambient team) and Component (Agentic) pre-filled.
Start a fresh PostgreSQL container and run all migrations. If a database already exists, this will tear it down first.
Add a new field to an existing Kind, updating all layers consistently.
Completely remove a generated Kind and all its artifacts from the project.
Regenerate the Go client code from OpenAPI specifications. Run this after modifying any `openapi/*.yaml` files.
Validate that this TRex-spawned project is in a healthy, working state. This command is idempotent — it succeeds if everything is…