Repository navigation
feat: rename opsai-incident-triage and opsai-capacity-cost to *-for-ai-workloads - #322
ankitsri-aws wants to merge 1 commit into
Conversation
…i-workloads Renames two skills: - opsai-incident-triage -> incident-triage-for-ai-workloads (1.0.0), with a new description and metadata.summary. - opsai-capacity-cost -> capacity-and-cost-analysis-for-ai-workloads (1.0.0). The old folders are removed. Skill content and eval results carry over. llms.txt and the skill-policies template text use the new names; the EnableOpsaiIncidentTriage and EnableOpsaiCapacityCost parameter names are unchanged so existing stacks keep working. docs: "ai" added to the display-name acronyms. Also, from the DevOps Agent service team: - incident-triage-for-ai-workloads: a throttling or quota finding uses capacity-and-cost-analysis-for-ai-workloads for the quota (one GetServiceQuota call by code) instead of paging ListServiceQuotas or handing it to a sub-agent. The related-skills fallback no longer pages ListServiceQuotas and reads the latency-optimized quota and both metric series. - capacity-and-cost-analysis-for-ai-workloads: api-quirks section 23, latency-optimized throttles are published under the base model ID. quota-codes.md adds the latency-optimized form and the Nova Pro V1 latency-optimized RPM (L-98317D9C) and TPM (L-BF13118E) codes, checked live in us-east-1 and us-west-2.
This PR is on hold — checklist incompleteRequired items in the PR description are unchecked. A maintainer will not review this PR until each one is checked and actually done. The check's summary lists them. Complete the work, tick the boxes, and this clears automatically. CONTRIBUTING.md explains each item. |
ams-thakkar
left a comment
There was a problem hiding this comment.
Approving as a one-time exception for re:Invent. This rename removes the two opsai-* folders rather than deprecating them, which validate-skills flags, and it carries over eval results recorded before the new incident-triage description. Future renames follow the repo process.
What I verified on f21ca62: apart from the changes listed in the description, the moved files are unchanged. The template's parameters, policies and actions are untouched. validate_skill_evals passes for both skills, the AWS identifier scan is clean, 399 tests pass, and mkdocs build --strict has 0 warnings.
|
Closing in favour of a new PR that keeps the existing skill folders and adds a |
|
Replaced by #323. |
Description
Renames two skills and carries over their content and eval results:
opsai-incident-triage→incident-triage-for-ai-workloads, with a newdescriptionandmetadata.summary.opsai-capacity-cost→capacity-and-cost-analysis-for-ai-workloads.The old folders are removed, so
validate-skillsreports two removed-folder errors and needs theskip-validate-skillslabel.Also in this PR:
GetServiceQuotacall by code, instead of pagingListServiceQuotas.api-quirks.mdsection 23 (latency-optimized throttles are published under the base model ID) and the Nova Pro V1 latency-optimized quota codes toquota-codes.md.llms.txtand the skill-policies template text use the new names. TheEnableOpsaiIncidentTriageandEnableOpsaiCapacityCostparameter names are unchanged, so existing stacks keep working.docs/hooks/skills_catalog.py:aiadded to the display-name acronyms.Type of change
Required before review
/skills, MCP servers in/mcp, custom agents in/custom-agents; skills and MCP servers are never mixed in one directory.Testing
structurechecks pass.best-practicesrun across multiple iterations, with consistent results.functionalrun with and without the change, so the difference in the agent's behavior is visible.evals/evals.jsonincludes positive cases (should trigger) and at least one negative case (should not trigger on unrelated input).Eval results are carried over from the
opsai-*runs. Locally:validate_skill_evals.pypasses for both skills, 399 unit tests pass,mkdocs build --strictpasses and the AWS identifier scan has no findings.Skills — complete if this PR adds or changes a skill
SKILL.mdfrontmatter is valid:namematches the directory,descriptionpresent and within length limits, body at most 500 lines.descriptionis written from the agent's point of view — scenarios, services, error types, symptoms.metadata.aws-devops-agent-skills.agent-types(INCIDENT_RCA,INCIDENT_TRIAGE,INCIDENT_MITIGATION, …), not leftGENERICwithout reason. n/a: unchanged from the opsai skills; both serve chat and investigations, so they stayGENERIC.references/orassets/and loads on demand.Security and safety
License confirmation