원클릭으로
template-engine
Apply the official STP template structure to generated content
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Apply the official STP template structure to generated content
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Classify PR review comments on STP/STD documents into auto-fixable vs needs-human categories. Maps free-text feedback to QualityFlow domain rules for automated fix routing.
Resolve Jira ID to project configuration and load project context
Generate comprehensive v2.1-ENHANCED STD YAML with pattern metadata, variables, test structure from ALL STP scenarios (single file)
Orchestrate STP → STD pipeline (generates comprehensive STD YAML only)
Generate test stubs with PSE docstrings from STD YAML — language and framework driven by project config
Detect test conventions from a codebase to drive test generation without tier config
| name | template-engine |
| description | Apply the official STP template structure to generated content |
Phase: Utility User-Invocable: false
Apply the official STP template structure to generated content.
Invoked by the stp-generator subagent to structure the final document.
Priority order (use the first available):
project_context.repo_rules.stp_template (fetched at
runtime from the project's design docs repo via project-resolver Step 9). This is the
source of truth — the team owns and maintains the template in their repo.{project_context.config_dir}/templates/stp/stp-template.md
(used only if repo_rules.stp_template is null, meaning the fetch failed or was disabled).templates/stp-template.md (relative to this skill directory).Section requirements: {project_context.config_dir}/templates/stp/section-requirements.md
with fallback to references/section-requirements.md (relative to this skill).
Important: When repo_rules.stp_template is available, the template may use a different
format than the local copy (e.g., tables vs checkboxes for Section I). Always follow the
fetched template's format — it represents the team's current standard.
When repo_rules.stp_template is available: Follow the fetched template's exact structure,
section ordering, and formatting (tables vs checkboxes). The fetched template is the authority.
When using local fallback: The STP MUST contain sections in this EXACT order:
1. Document Header: `{project_context.stp_header}` (from project config)
2. Feature Title: ## **[Title] - Quality Engineering Plan**
3. Metadata & Tracking (bullet list, 6 items)
4. Document Conventions (if applicable)
5. Feature Overview (2-4 sentence description)
6. ---
7. Section I.1 - Requirement & User Story Review Checklist (5 checkbox items)
8. Section I.2 - Known Limitations (free text / bullet list)
9. Section I.3 - Technology and Design Review (5 checkbox items)
10. Section II.1 - Scope of Testing + Testing Goals + Out of Scope (checkbox format)
11. Section II.2 - Test Strategy (categorized checkbox groups)
12. Section II.3 - Test Environment (bullet list, 10 items)
13. Section II.3.1 - Testing Tools & Frameworks (only NEW/SPECIAL tools)
14. Section II.4 - Entry Criteria (checkbox format)
15. Section II.5 - Risks (checkbox format with sub-items)
16. ---
17. Section III.1 - Requirements-to-Tests Mapping (bullet-based)
18. Section III.2 - Source Constants (table, optional — only when STP Builder extracted constants)
19. ---
20. Section IV - Sign-off
Section I items confirm the QE review PROCESS was followed. Each item is a checkbox with the verbatim standard guidance text from the upstream template as the main label. Feature-specific observations go in sub-item details beneath each checkbox, not in a separate column.
CRITICAL: The checkbox label text is NOT a feature-content field. The text must match the upstream template exactly:
Do NOT replace checkbox labels with:
Feature-specific observations are added as indented sub-items below each checkbox.
Known Limitations has moved from the old Section II.6 to Section I.2. This section uses free text or a bullet list to describe known limitations and constraints discovered during the motivation and requirements review.
What was previously Section I.2 is now Section I.3. It uses checkbox format (not a table) with 5 items. Each checkbox has the standard guidance text as its label, with feature-specific observations as indented sub-items.
This is a single section containing:
The test strategy uses categorized checkbox groups instead of a single table. Strategy items are organized by category (e.g., Core Testing, Extended Testing, Integration & Operations) with each item as a checkbox. Sub-items provide the description and applicability details.
There are 13 items total across four groups:
Functional: Functional Testing, Automation Testing, Regression Testing Non-Functional: Performance Testing, Scale Testing, Security Testing, Usability Testing, Monitoring Integration & Compatibility: Compatibility Testing, Upgrade Testing, Dependencies, Cross Integrations Infrastructure: Cloud Testing
Only list tools that are new or different from standard testing infrastructure. Standard tools (Ginkgo, pytest, Prow, kubectl, virtctl) should NOT be listed. Leave empty if using only standard tools.
The upstream template does not include a Related GitHub Pull Requests table. Do not add this section.
| Section | Format | Required Items |
|---|---|---|
| Metadata | Bullet list | 6 (Enhancement, Feature Tracking, Epic Tracking, QE Owner, Owning SIG, Participating SIGs) |
| I.1 Requirement Review | Checkbox list | 5 (Review Requirements, Understand Value and Customer Use Cases, Testability, Acceptance Criteria, NFRs) |
| I.2 Known Limitations | Free text / bullets | At least 1 item or "None identified" |
| I.3 Technology Review | Checkbox list | 5 (Developer Handoff, Technology Challenges, Test Environment Needs, API Extensions, Topology) |
| II.1 Out of Scope | Checkbox list | 1+ items or "None" |
| II.2 Test Strategy | Categorized checkboxes | 13 items across categories |
| II.3 Test Environment | Bullet list | 10 (Cluster Topology, Platform Version, CPU Virtualization, Compute, Special Hardware, Storage, Network, Operators, Platform, Special Configs) |
| II.5 Risks | Checkbox with sub-items | 7 (Timeline, Coverage, Environment, Untestable, Resources, Dependencies, Other) |
| III.1 Requirements Mapping | Bullet-based | No minimum; comprehensive coverage |
| III.2 Source Constants | Table | Optional; present only when STP Builder extracted constants from source code |
- **Field:** Value format- [ ] **Label** -- guidance text with sub-items for details- [ ] **Category** with indented sub-items for risk, mitigation, and status- **Component:** configuration detailsUse exact markdown header levels:
# for document title## for feature title### for major sections (Metadata, Feature Overview, I, II, III, IV)#### for subsections (1, 2, 3...)Place --- horizontal rules:
content:
metadata:
enhancement: <link>
feature_in_jira: <link>
jira_tracking: <link>
qe_owner: <name>
owning_sig: <sig>
participating_sigs: [...]
document_conventions: <text or "N/A">
feature_overview: <2-4 sentence description>
section_i:
requirement_review:
- check: Review Requirements
done: "[ ]"
details: <feature-specific observations as sub-items>
- check: Understand Value and Customer Use Cases
done: "[ ]"
details: <feature-specific observations as sub-items>
- check: Testability
done: "[ ]"
details: <feature-specific observations as sub-items>
- check: Acceptance Criteria
done: "[ ]"
details: <feature-specific observations as sub-items>
- check: Non-Functional Requirements (NFRs)
done: "[ ]"
details: <feature-specific observations as sub-items>
known_limitations:
- <limitation text>
- ...
technology_review:
- check: Developer Handoff
done: "[ ]"
details: <feature-specific observations as sub-items>
- ...
section_ii:
scope: <text>
testing_goals: <prioritized P0/P1/P2 list>
out_of_scope:
- item: <item>
rationale: <rationale>
agreement: "[ ] Name/Date"
- ...
test_strategy:
- category: Core Testing
items:
- item: Functional Testing
applicable: Y
description: <description>
- item: Automation Testing
applicable: Y
description: <description>
- ...
- category: Extended Testing
items:
- ...
- category: Integration & Operations
items:
- ...
environment:
- component: Cluster Topology
config: <configuration details>
- ...
tools:
- category: Test Framework
tools: <only NEW/SPECIAL tools or empty>
- ...
entry_criteria:
- <extra feature-specific criteria>
- ...
risks:
- category: Timeline
specific_risk: <risk>
mitigation: <mitigation>
status: "[ ]"
- ...
section_iii:
requirements_mapping:
- requirement_id: <Jira issue key>
requirement_summary: <summary>
test_scenarios: <scenarios>
tier: <Tier 1 or Tier 2>
priority: <priority>
- ...
section_iv:
reviewers: [...]
approvers: [...]
Complete STP markdown document following the exact template structure.
{project_context.stp_header} (read from project config)## **[Title] - Quality Engineering Plan**All STP content must be written from the user/QE perspective, not the developer/implementation perspective:
project_context.review_rules.stp_rules.abstraction is available, use internal_to_user_mappings for project-specific translationsRegression testing belongs in the Test Strategy (II.2) Regression Testing checkbox, NOT as individual scenarios in Section III. Reference existing regression test suites in the Regression Testing details. Do not generate regression-specific scenarios for Section III.
This section is present ONLY when the STP Builder's Step 3.5 extracted literal constants from the source code. It provides verbatim values that downstream STD generation must use without modification.
Format:
#### Section III.2 — Source Constants
> Extracted from source code — use verbatim in test data. Do not paraphrase or infer.
| Constant | Value | Source File | Line |
|----------|-------|------------|------|
| SENTINEL | `# --- managed section - do not edit ---` | pkg/scripts/sync.sh | 14 |
| SCRIPT_PATH | `pkg/scripts/sync.sh` | PR diff header | — |
Rules:
— for PR-derived paths)[NOT FOUND]stp_rules.testing_tools.standard_tools; if feature uses only standard tools, write "Standard tooling — no additional tools required")