doc(contact-center): add ai-docs SDD templates for code generation#4722
doc(contact-center): add ai-docs SDD templates for code generation#4722ciscoRankush wants to merge 1 commit intowebex:task-refactorfrom
Conversation
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9d7d180360
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
packages/@webex/contact-center/ai-docs/templates/new-service/05-validation.md
Outdated
Show resolved
Hide resolved
Shreyas281299
left a comment
There was a problem hiding this comment.
Partial Review.
- new-method
- new-service
Above folders are still left to be reviewed
packages/@webex/contact-center/ai-docs/templates/documentation/create-architecture-md.md
Show resolved
Hide resolved
packages/@webex/contact-center/ai-docs/templates/existing-service/bug-fix.md
Show resolved
Hide resolved
packages/@webex/contact-center/ai-docs/templates/existing-service/feature-enhancement.md
Show resolved
Hide resolved
packages/@webex/contact-center/ai-docs/templates/existing-service/feature-enhancement.md
Outdated
Show resolved
Hide resolved
|
@codex review the PR more thoroughly, the PR is to create templating that will be used the AI agents to detect the type of task the user is prompting it to do |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9d7d180360
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Changes based on reviewer feedback on PR webex#4722: - Fix validation commands in all 4 templates to use actual workspace scripts: test:styles, test:unit, build:src - Clarify event contract "Emitted/Received On" field to explicitly ask which object (cc, task, taskManager) the event is emitted/received on Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Changes based on reviewer feedback on PR webex#4722: - Fix validation commands in all 4 templates to use actual workspace scripts: test:styles, test:unit, build:src - Clarify event contract "Emitted/Received On" field to explicitly ask which object (cc, task, taskManager) the event is emitted/received on Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
09de84f to
ec7547b
Compare
…tions Add Spec-Driven Development templates for modifying existing services: - existing-service/bug-fix.md — Section A/B workflow with STOP gate, 6 interrogative questions, root-cause gate before implementation - existing-service/feature-enhancement.md — Always-present placement triage, Type F skip-triage support, spec summary gate - documentation/create-agents-md.md — Template for service AGENTS.md - documentation/create-architecture-md.md — Template for ARCHITECTURE.md - templates/README.md — Template index with categories and usage flow Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
ec7547b to
9a6c0cd
Compare
COMPLETES #SPARK-775697
This pull request addresses
AI agents working on the @webex/contact-center SDK need structured code generation templates that enforce a spec-driven workflow — gathering requirements, presenting spec summaries for developer approval, and
following validation checklists before completing work. Without these templates, agents produce inconsistent code that misses SDK patterns like LoggerProxy, MetricsManager, and error handling.
by making the following changes
ai-docs/templates/with 5 template files across 2 categories:F skip-triage support, and spec summary gate
All templates include:
- STOP gates preventing code generation before information gathering
- Interrogative phrasing (questions, not fill-in forms)
- MANDATORY/OPTIONAL labels per section
- Completion gates with checklists
- Spec summary templates requiring developer approval
- Direct clickable links to related files (no vague references)
Change Type
The following scenarios were tested
MANDATORY/OPTIONAL labels, completion gate, spec summary, and 05-validation.md links to root AGENTS.md Service Routing Table
approval
../../patterns/, AGENTS.md paths use../../../AGENTS.md)The GAI Coding Policy And Copyright Annotation Best Practices
I certified that