원클릭으로
ba-nfr
[Agentic] NFR Framework with ISO 25010 - specify quality attributes and non-functional requirements (SKILL-04)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
[Agentic] NFR Framework with ISO 25010 - specify quality attributes and non-functional requirements (SKILL-04)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | ba-nfr |
| description | [Agentic] NFR Framework with ISO 25010 - specify quality attributes and non-functional requirements (SKILL-04) |
| version | 1.0.0 |
If input is unclear, incomplete, or out-of-scope:
When NOT to use:
When activated via @ba-nfr, perform the following cognitive loop:
CRITICAL: Before defining standards, check the latest specs.
search_web for "Latest PCI-DSS password requirements 2025" or "GDPR Right to Erasure SLAs".Generate NFRs adhering to strict patterns:
| ID | Category | Requirement | Metric |
|---|---|---|---|
| NFR-PERF-01 | Performance | API Response Time | < 200ms (p95) |
| NFR-SEC-01 | Security | Data at Rest | AES-256 Encryption |
STOP & THINK.
Present the ISO-Compliant NFR Table.
Don't stop here. Recommend the next step:
@ba-solution to calculate the cost of these NFRs."@ba-validation to verify if the architecture meets these constraints."@ba-quality-gate to include NFRs in the quality gate scoring."| Rationalization | Reality |
|---|---|
| "Dev team will figure out performance targets" | They'll pick 200ms because that's what they remember. Your SLA demands 50ms. Write the number or own the incident. |
| "ISO 25010 is overkill for this project" | Skipping Reliability = production incidents. Skipping Maintainability = 6-month tech debt. "Overkill" costs less than downtime. |
| "NFRs are nice-to-have" | NFR failures cause 80% of post-launch incidents. Non-functional is a misnomer — they are critical functions. |
| "Just copy NFRs from last project" | Last project's NFRs reflected last project's load, compliance, and users. Current context differs. Copy = unverified assumptions. |
| "Performance testing is QA's job, not mine" | QA can't test what wasn't specified. If you don't write the target, there is no test. |
After completing this skill's process, confirm:
search_web: REQUIRED to lookup ISO/IEC standards.write_to_file: To save the NFR Document.| Attribute | Meaning | Metrics |
|---|---|---|
| Performance | Speed, throughput, capacity | Response time, concurrent users, data volume |
| Reliability | Probability of no failure | MTBF, failure rate, probability of failure on demand |
| Robustness | Behavior under failure | Restart time, % events causing failure |
| Security | Resist unauthorized access | # unauthorized attempts, % blocked |
| Usability | Ease of effective use | Time to competence, error rate, training time |
| Attribute | Meaning | Metrics |
|---|---|---|
| Availability | System up-time | % time available |
| Scalability | Expand users/capabilities | User growth range, % capacity growth |
| Portability | Move to other environments | Cost/effort to migrate |
| Recoverability | Recovery from failures | Time to return to prior state |
| Safety | No harm to people/environment | Acceptable accident rate by severity |
| Attribute | Meaning | Metrics |
|---|---|---|
| Maintainability | Ease of changes | Time/cost to fix or add features |
| Testability | Ease of testing | Cost per defect found, test coverage |
| Reusability | Components in other systems | Cost to integrate into other apps |
For each quality attribute, use this template for precise specification:
Tag: [Name of the quality attribute]
Scale: [Unit of measurement]
Meter: [How it will be measured]
Must: [Minimum acceptable level]
Plan: [Target level to aim for]
Wish: [Ideal level if resources allow]
Example:
Tag: Response Time
Scale: Seconds per search query
Meter: Measured at server under full load (500 concurrent users)
Must: ≤ 5.0 seconds (p99)
Plan: ≤ 2.0 seconds (p95)
Wish: ≤ 0.5 seconds (p50)
| ID | Category (ISO 25010) | Attribute | Metric | Target (Must) | Measurement Method | Priority |
|-------------|------------------------|-------------------|-------------------------------|----------------------|-------------------------------------------|----------|
| NFR-PERF-01 | Performance Efficiency | Response Time | API p95 latency (ms) | ≤ 1000ms | Load test: k6, 5000 concurrent users | Critical |
| NFR-PERF-02 | Performance Efficiency | Throughput | Requests/second | ≥ 500 rps | JMeter sustained 10 min | High |
| NFR-SEC-01 | Security | Access Control | RBAC + ABAC enforcement | 100% coverage | Penetration test + role matrix audit | Critical |
| NFR-REL-01 | Reliability | Availability | System uptime % per month | ≥ 99.5% | Monitoring: Uptime Robot / Datadog | High |
| NFR-USA-01 | Usability | Learnability | Time to complete core task | ≤ 5 min (new user) | Usability test with 5 representative users| Medium |
Context: EAMS (Employee Attendance Management System) — 5000 người dùng đồng thời, đa site.
| ID | Category | Attribute | Metric | Target | Measurement Method | Priority |
|---|---|---|---|---|---|---|
| NFR-PERF-01 | Performance Efficiency | API Response | p95 latency | ≤ 1000ms tại 5000 concurrent users | k6 load test — sustained 15 phút | Critical |
| NFR-PERF-02 | Performance Efficiency | Camera AI | Face recognition latency | ≤ 500ms per frame | Benchmark trên hardware tại site | High |
| NFR-SEC-01 | Security | Access Control | RBAC + ABAC per site | 0 cross-site data leak | Role matrix audit + pen test | Critical |
| NFR-SEC-02 | Security | Data at Rest | Attendance data encryption | AES-256 (per PCI-DSS v4.0.1) | Security scan + config audit | High |
| NFR-REL-01 | Reliability | Availability | System uptime | ≥ 99.5% / tháng | Uptime Robot monitoring | High |
| NFR-REL-02 | Reliability | Offline Mode | Camera AI hoạt động offline | ≥ 4h không cần kết nối server | Disconnect test tại site thực tế | Medium |
| NFR-MNT-01 | Maintainability | Modularity | Module deploy độc lập | Zero-downtime deploy per module | Blue-green deployment test | Medium |
Planguage chi tiết cho NFR-PERF-01:
Tag: API Response Time — EAMS Core Endpoints
Scale: Milliseconds (p95 latency)
Meter: k6 load test, 5000 concurrent users, sustained 15 min, production-like data
Must: ≤ 1000ms (p95)
Plan: ≤ 500ms (p95)
Wish: ≤ 200ms (p95)
Before drafting, search for relevant knowledge:
run_command: python3 .agent/scripts/ba_search.py "<topic keywords>" --domain nfrpython3 .agent/scripts/ba_search.py "<query>" --multi-domain.agent/templates/api-contract-template.md — API Integration ContractActivation Phrase: "Architect online. Let's define the non-functional constraints."
[Meta] How to use BA-Kit effectively. Use when starting with BA-Kit, unsure which agent to invoke, or when an AI agent needs to map user intent to the right skill.
[Agentic] Agile BA Practices - User Story Mapping, MVP Definition, Hypothesis-Driven Development
[Agentic] Business Rules Management - decision tables, decision trees, rule catalog, conflict detection
[Agentic] Change Management - ADKAR, readiness assessment, training needs, go-live planning, benefits realization
[Agentic] Communication & Reporting - audience-adapted messaging, status reports, executive summaries
[Agentic] Conflict Resolution & Negotiation - resolve stakeholder disagreements (SKILL-06)