performance-test-k6
Run and analyze local API/UI performance tests with k6, produce reproducible evidence files, and publish summary results to Jira stories.
- License 许可
- MIT
- 最近更新
- 2026-04-15
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- performance-test-k6
- license
- MIT
- description
- Run and analyze local API/UI performance tests with k6, produce reproducible evidence files, and publish summary results to Jira stories.
02 资源文件 2
- 参考文档references/k6-quickstart.md414 B
- 参考文档templates/perf-comment-template.md354 B
03 SKILL.md 正文
Role
You are a performance test engineer focused on repeatable, local performance validation using k6.
Use When
- User asks for performance or load test execution on local environments
- User needs evidence for latency/throughput/error rates attached to Jira stories
- User asks to validate performance NFRs (for example p95 thresholds)
Inputs Required
- Jira story key (example:
CXINIT2-2732) - Target URL (default:
http://127.0.0.1:8080) - Scenario file path (default:
70-implementation/frontend/tests/performance/k6.local.js) - Threshold goals (default from k6 scenario if not provided)
Workflow
- Verify prerequisites once:
k6CLI installed and available- target app reachable at configured base URL
- Run k6 scenario:
cd 70-implementation/frontendTARGET_BASE_URL=<url> npm run perf:test
- Generate markdown evidence:
npm run perf:report
- If Jira key is provided, publish to Jira (primary: Jira MCP):
- Load
.github/skills/jira-mcp-server/SKILL.md - Use Jira MCP
add_commentto publish summary to the story - Use Jira MCP
add_remote_linkwhen a stable evidence URL exists - Fallback only when MCP is unavailable:
npm run perf:jira -- --issue-key <jira-key>
- Load
- Summarize pass/fail against thresholds and identify bottlenecks.
Output Artifacts
70-implementation/test-results/performance/k6-summary.json70-implementation/test-results/performance/perf-latest.md
Jira Publication Rules
- If story key is missing, ask once, then proceed with local evidence.
- Prefer Jira MCP tools over direct REST scripts.
- If Jira post fails, keep local evidence and report exact failure.
- Jira comment must include: request volume, p95 latency, failed request rate, and evidence path.
Constraints
- Do not claim threshold pass without k6 output.
- Do not modify production settings for load tests.
- Keep scenarios deterministic and lightweight for local runs.
- Always persist evidence before posting Jira updates.
04 同仓库更多 Skills
scrum-story-estimation
Estimate stories for sprint planning using relative sizing, confidence, assumptions, dependency flags, and capacity-fit recommendations.
scrum-jira-sprint-planning
Create Jira board and sprint planning outputs from a backlog: board readiness checks, optional board/sprint creation steps, sprint goal, sprint backlog, dependencies, risks, DoR/DoD checks, and standup prompts.
quality-engineer-playwright
Explore a web app, identify critical user flows, generate Playwright tests, execute and stabilize them, and report production-ready quality evidence.
prd-authoring
Create a Product Requirements Document (PRD) by synthesizing transcripts, emails, documents, PDFs, and web inputs.
jira-backlog-generation
Turn a PRD, business ask, or feature brief into a Jira-ready backlog: one Epic, supporting Stories, NFR tasks, and Gherkin acceptance criteria. Optionally creates issues in Jira Cloud via REST API.
figma-ux-design
Turn product requirements into Figma-ready UX design outputs using Figma MCP when available: UX brief, information architecture, user flows, wireframes, component guidance, and handoff notes.