| name | project-demo-stage-authoring |
| metadata | {"author":"rhoai3-demo","version":"1.0.0","platform-family":"rhoai","platform-baseline":"repo","ocp-baseline":"repo","skill-group":"Project Structure"} |
| description | Use when creating, planning, implementing, or reviewing a new rhoai3-demo demo stage from ideation to validated GitOps implementation. Covers stage scope, dependencies, Red Hat narrative and official product source capture, Red Hat-team GitHub reference implementation discovery, skill routing, README Why/What/Architecture drafting, PLAN.md creation, GitOps ownership decisions, Argo CD Application setup, Kustomize manifests, official-doc-backed configuration, deploy and validation scripts, operations and troubleshooting updates, source-alignment review, manifest review, and definition-of-done gates. Do NOT use as product authority for RHOAI, OCP, ODF, Grafana, or other component APIs; route those details to the matching rhoai-*, ocp-*, odf-*, or project-red-hat-operator-gitops skill.
|
Demo Stage Authoring
Use this skill as the repeatable process for turning a demo idea into a
validated Red Hat product demo stage. A stage is not complete until its
documentation, GitOps, scripts, validation, source grounding, and operational
notes move together.
Core Rule
Every new stage must pass the same phase gates:
- intent and scope
- source capture
- skill routing
- implementation plan
- README story
- GitOps ownership
- manifest generation
- deploy and validation scripts
- operations and troubleshooting updates
- review and acceptance
Do not start the next demo stage until the current stage has an explicit
definition of done and the user accepts any deferred work.
Do not silently defer or remove components from an agreed stage scope, Red Hat
reference implementation pattern, source-derived acceptance criteria, or user
requirement. If a component is blocked, risky, expensive, or better suited for
a later stage, stop and discuss the tradeoff with the user before marking it
deferred, future, non-goal, or backlog. Record the accepted decision in
the stage PLAN.md or docs/BACKLOG.md.
Stage Artifact Contract
Prefer this artifact set for a normal independent stage:
stage-YXX-slug/
README.md
PLAN.md
deploy.sh
validate.sh
gitops/
argocd/app-of-apps/stage-YXX-slug.yaml
stage-YXX-slug/base/kustomization.yaml
stage-YXX-slug/overlays/<purpose>/kustomization.yaml
Shared platform resources are the main exception. If a stage introduces a
capability by patching a shared owner such as the RHOAI DataScienceCluster,
ODF storage layer, OpenShift GitOps bootstrap, or Grafana observability layer,
record the shared owner path in PLAN.md and avoid duplicate full-resource
ownership.
Workflow
- Read
references/stage-lifecycle.md.
- Create or update the stage
PLAN.md using
examples/stage-plan-template.md.
- Use
references/stage-taxonomy.md to choose the stage-YXX-slug identifier.
- Capture sources with
references/source-capture-checklist.md.
- Use
.agents/references/red-hat-doc-map.yaml to route official product
docs to existing rhoai-*, ocp-*, or odf-* skills.
- Search for relevant GitHub reference implementations from Red Hat product,
field, solution, or community-of-practice teams; use them as implementation
patterns only after official docs are captured.
- Prefer
rh-brain narrative sources that link to concrete GitHub projects
or code examples when multiple Red Hat articles cover the same concept.
- If required product coverage is missing, create or update the product skill
before authoring manifests.
- Draft the stage README with
project-documentation-authoring and
references/stage-lifecycle.md.
- Design GitOps with
project-gitops-authoring and, for Operators,
project-red-hat-operator-gitops.
- Generate manifests only from official docs, active skills, verified live
schema, locally curated reference implementations, or explicitly documented
demo exceptions.
- Add deploy and validation scripts only after the GitOps ownership decision
is clear. Scripts that touch a live cluster must use the repo OpenShift
safety guard.
- Run the quality gates in
references/definition-of-done.md.
- Use
project-manifest-review and
project-red-hat-doc-alignment-review before treating the stage as ready.
Required Handoffs
project-documentation-authoring: README, PLAN.md, operations,
troubleshooting, and backlog updates.
project-gitops-authoring: Kustomize, Argo CD Application, labels,
annotations, scripts, and secret handling.
project-red-hat-operator-gitops: Operator Subscription, channel overlays,
operand instance resources, aggregate overlays, and lifecycle management.
project-manifest-review: structural and security review of rendered
manifests.
project-red-hat-doc-alignment-review: Red Hat narrative, official docs,
API fields, images, model artifacts, and support posture review.
env-deploy-and-evaluate: live deployment and validation once active
scripts exist.
- Matching
rhoai-*, ocp-*, and odf-* skills: product-specific behavior.
Stop Conditions
Stop and resolve before implementation if:
- the stage concept has no clear audience value
- required official product docs or product skills are missing
- a custom resource field, API version, operator channel, image, or model
artifact cannot be sourced or verified
- the GitOps ownership model would create duplicate owners for a shared
resource
- required credentials or tokens would be committed
- deploy or validate scripts would touch a live cluster without the safety
guard
- the README claims a capability that manifests and validation do not provide
References
references/stage-lifecycle.md
references/stage-taxonomy.md
references/source-capture-checklist.md
references/definition-of-done.md
examples/stage-plan-template.md