kotonoha 0.1.1 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +42 -0
- package/README.md +99 -20
- package/bin/kotonoha.js +81 -13
- package/package.json +7 -3
- package/skills/presentation-planner/SKILL.md +243 -0
- package/skills/presentation-planner/assets/design-templates/data-report.yaml +97 -0
- package/skills/presentation-planner/assets/design-templates/executive-proposal.yaml +92 -0
- package/skills/presentation-planner/assets/design-templates/technical-briefing.yaml +96 -0
- package/skills/presentation-planner/assets/scenario-templates/data-report.md +47 -0
- package/skills/presentation-planner/assets/scenario-templates/executive-decision.md +43 -0
- package/skills/presentation-planner/assets/scenario-templates/technical-briefing.md +45 -0
- package/skills/presentation-planner/references/customizing-design-templates.md +160 -0
- package/skills/presentation-planner/references/design-spec-schema.md +72 -0
- package/skills/presentation-planner/references/handoff-contract.md +49 -0
- package/skills/presentation-planner/references/responsibility-boundary.md +32 -0
- package/skills/presentation-planner/references/scenario-templates.md +55 -0
- package/skills/tech-writer/SKILL.md +108 -20
- package/skills/tech-writer/assets/templates/migration-plan.md +173 -0
- package/skills/tech-writer/assets/templates/operations-runbook.md +202 -0
- package/skills/tech-writer/assets/templates/requirements-definition.md +170 -0
- package/skills/tech-writer/assets/templates/rfi.md +113 -0
- package/skills/tech-writer/assets/templates/rfp.md +180 -0
- package/skills/tech-writer/assets/templates/security-design.md +167 -0
- package/skills/tech-writer/assets/templates/system-design.md +220 -0
- package/skills/tech-writer/assets/templates/technical-proposal.md +112 -0
- package/skills/tech-writer/assets/templates/test-plan.md +153 -0
- package/skills/tech-writer/references/doctypes/migration-plan.md +63 -0
- package/skills/tech-writer/references/doctypes/operations-runbook.md +63 -0
- package/skills/tech-writer/references/doctypes/requirements-definition.md +61 -0
- package/skills/tech-writer/references/doctypes/rfi.md +43 -0
- package/skills/tech-writer/references/doctypes/rfp.md +46 -0
- package/skills/tech-writer/references/doctypes/security-design.md +71 -0
- package/skills/tech-writer/references/doctypes/system-design.md +74 -0
- package/skills/tech-writer/references/doctypes/technical-proposal.md +49 -0
- package/skills/tech-writer/references/doctypes/test-plan.md +67 -0
- package/skills/tech-writer/references/style-constitution.md +7 -6
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# Migration plan type
|
|
2
|
+
|
|
3
|
+
A migration plan defines how data, users, integrations, and business
|
|
4
|
+
processes move from a current state to a target state with measurable
|
|
5
|
+
validation, controlled downtime, and a tested rollback path.
|
|
6
|
+
|
|
7
|
+
## Target reader
|
|
8
|
+
|
|
9
|
+
Migration leads, application and data engineers, business owners, operators,
|
|
10
|
+
support teams, security reviewers, and Go/No-Go approvers.
|
|
11
|
+
|
|
12
|
+
## Settle before writing
|
|
13
|
+
|
|
14
|
+
- The current and target states and complete migration inventory
|
|
15
|
+
- Allowed downtime, data-loss tolerance, and business continuity needs
|
|
16
|
+
- Migration approach, waves, dependencies, and change-freeze conditions
|
|
17
|
+
- Reconciliation and business-acceptance criteria
|
|
18
|
+
- Go/No-Go and rollback authority, triggers, and deadlines
|
|
19
|
+
- Rehearsal evidence, communication needs, and post-migration support
|
|
20
|
+
|
|
21
|
+
## Responsibility boundary
|
|
22
|
+
|
|
23
|
+
Own the executable transition plan and its decisions. Link to implementation
|
|
24
|
+
scripts rather than embedding large programs. Do not claim rollback is
|
|
25
|
+
possible unless the plan states how post-cutover writes and data consistency
|
|
26
|
+
will be handled.
|
|
27
|
+
|
|
28
|
+
The migration section in `system-design` is sufficient for describing the
|
|
29
|
+
chosen transition architecture. Use a standalone `migration-plan` when the
|
|
30
|
+
cutover needs rehearsals, a timed procedure, business communications,
|
|
31
|
+
Go/No-Go gates, reconciliation evidence, or separate approval. When both
|
|
32
|
+
exist, the migration plan is authoritative for execution and the system
|
|
33
|
+
design summarizes the strategy and links to it.
|
|
34
|
+
|
|
35
|
+
## Template
|
|
36
|
+
|
|
37
|
+
Start from `assets/templates/migration-plan.md`.
|
|
38
|
+
The template is the Japanese-language skeleton; translate its headings when
|
|
39
|
+
the target document is English.
|
|
40
|
+
|
|
41
|
+
## Recommended skeleton
|
|
42
|
+
|
|
43
|
+
1. Agreement target, current and target states, scope, and constraints
|
|
44
|
+
2. Inventory, dependencies, mappings, transformation, and migration method
|
|
45
|
+
3. Roles, rehearsals, readiness, and timed production procedure
|
|
46
|
+
4. Reconciliation, Go/No-Go gates, rollback, and business continuity
|
|
47
|
+
5. Security, communication, stabilization, decommissioning, and approval
|
|
48
|
+
|
|
49
|
+
## Checklist
|
|
50
|
+
|
|
51
|
+
- [ ] Are all data, configuration, identities, integrations, and business
|
|
52
|
+
processes inventoried with owners and dependencies?
|
|
53
|
+
- [ ] Are mapping, transformation, default, rejection, retry, and idempotency
|
|
54
|
+
rules explicit?
|
|
55
|
+
- [ ] Have full-scale timing, validation, and rollback been rehearsed?
|
|
56
|
+
- [ ] Are start, cutover, reopen, Go/No-Go, and rollback conditions objective?
|
|
57
|
+
- [ ] Do reconciliation checks cover counts, aggregates, referential
|
|
58
|
+
integrity, and business scenarios?
|
|
59
|
+
- [ ] Does rollback address writes made after cutover and its last safe time?
|
|
60
|
+
- [ ] Are downtime communications, alternative operations, support, security,
|
|
61
|
+
temporary access, and evidence covered?
|
|
62
|
+
- [ ] Are stabilization, cleanup, old-system retention, and decommissioning
|
|
63
|
+
conditions defined?
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# Operations design and runbook type
|
|
2
|
+
|
|
3
|
+
An operations design and runbook makes a production service observable,
|
|
4
|
+
changeable, recoverable, and supportable. It combines stable operating
|
|
5
|
+
policies with executable procedures for routine work and incidents.
|
|
6
|
+
|
|
7
|
+
## Target reader
|
|
8
|
+
|
|
9
|
+
Service owners, on-call engineers, operators, support staff, security teams,
|
|
10
|
+
change approvers, and incident commanders.
|
|
11
|
+
|
|
12
|
+
## Settle before writing
|
|
13
|
+
|
|
14
|
+
- The service boundary, owners, dependencies, and operating hours
|
|
15
|
+
- SLI, SLO, alert, capacity, backup, RTO, and RPO targets
|
|
16
|
+
- On-call, escalation, change, and incident authority
|
|
17
|
+
- Access requirements and safety constraints for operational actions
|
|
18
|
+
- The symptoms and failure scenarios that require executable runbooks
|
|
19
|
+
- Review, exercise, and expiration frequency
|
|
20
|
+
|
|
21
|
+
## Responsibility boundary
|
|
22
|
+
|
|
23
|
+
Write steps that an authorized operator can execute and verify. Link to
|
|
24
|
+
automation where it exists, but preserve preconditions, safety checks,
|
|
25
|
+
expected results, escalation, and recovery behavior. Never include secret
|
|
26
|
+
values or bypass access and change controls.
|
|
27
|
+
|
|
28
|
+
The operations section in `system-design` is sufficient for architectural
|
|
29
|
+
operability decisions. Use a standalone `operations-runbook` when on-call
|
|
30
|
+
staff need executable procedures, alerts, escalation, exercises, or a review
|
|
31
|
+
cycle independent of the system design. When both exist, the runbook is
|
|
32
|
+
authoritative for live operations and the system design links to its current
|
|
33
|
+
approved version.
|
|
34
|
+
|
|
35
|
+
## Template
|
|
36
|
+
|
|
37
|
+
Start from `assets/templates/operations-runbook.md`.
|
|
38
|
+
The template is the Japanese-language skeleton; translate its headings when
|
|
39
|
+
the target document is English.
|
|
40
|
+
|
|
41
|
+
## Recommended skeleton
|
|
42
|
+
|
|
43
|
+
1. Service scope, dependencies, levels, owners, and escalation
|
|
44
|
+
2. Observability, alerts, routine work, and capacity management
|
|
45
|
+
3. Incident severity, common initial response, and symptom runbooks
|
|
46
|
+
4. Start, stop, restore, security, change, and rollback procedures
|
|
47
|
+
5. Disaster recovery, business continuity, risks, exercises, and review
|
|
48
|
+
|
|
49
|
+
## Checklist
|
|
50
|
+
|
|
51
|
+
- [ ] Can an unfamiliar authorized operator identify the service, owner,
|
|
52
|
+
dependencies, dashboards, communication channels, and impact?
|
|
53
|
+
- [ ] Are SLI/SLO calculations, alert conditions, suppression, and test
|
|
54
|
+
frequency specified?
|
|
55
|
+
- [ ] Does every procedure state preconditions, safety limits, steps,
|
|
56
|
+
expected results, evidence, escalation, and recovery?
|
|
57
|
+
- [ ] Are backup restoration, RTO/RPO, disaster recovery, and exercises
|
|
58
|
+
executable and owned?
|
|
59
|
+
- [ ] Are access, secret, certificate, vulnerability, audit, and security
|
|
60
|
+
incident operations covered without exposing secret values?
|
|
61
|
+
- [ ] Are releases, emergency changes, rollback, and post-change checks clear?
|
|
62
|
+
- [ ] Are capacity, cost, routine maintenance, review dates, and stale
|
|
63
|
+
runbook detection addressed?
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Requirements definition type
|
|
2
|
+
|
|
3
|
+
A requirements definition establishes agreement on what outcomes, scope,
|
|
4
|
+
capabilities, quality levels, and acceptance conditions a system must
|
|
5
|
+
satisfy. It describes the required behavior and measurable constraints
|
|
6
|
+
without prematurely prescribing the implementation architecture.
|
|
7
|
+
|
|
8
|
+
## Target reader
|
|
9
|
+
|
|
10
|
+
Business owners, product owners, users, architects, delivery teams,
|
|
11
|
+
operators, security reviewers, and approvers who must agree on what will be
|
|
12
|
+
built and how acceptance will be judged.
|
|
13
|
+
|
|
14
|
+
## Settle before writing
|
|
15
|
+
|
|
16
|
+
- The business problem, target users, and measurable outcome
|
|
17
|
+
- In-scope and out-of-scope business processes, systems, and data
|
|
18
|
+
- Requirement priorities and the authority that resolves conflicts
|
|
19
|
+
- Constraints covering budget, schedule, law, policy, and existing systems
|
|
20
|
+
- Measurable acceptance conditions for functional and non-functional needs
|
|
21
|
+
- The identifier or naming convention used for traceability
|
|
22
|
+
|
|
23
|
+
## Responsibility boundary
|
|
24
|
+
|
|
25
|
+
State what the system must achieve and the constraints it must meet. Do not
|
|
26
|
+
turn preferred products, component layouts, database schemas, or deployment
|
|
27
|
+
topologies into requirements unless they are genuine externally imposed
|
|
28
|
+
constraints. Put implementation choices in a system design document and
|
|
29
|
+
link them back to requirement IDs.
|
|
30
|
+
|
|
31
|
+
## Template
|
|
32
|
+
|
|
33
|
+
Start from `assets/templates/requirements-definition.md`.
|
|
34
|
+
The template is the Japanese-language skeleton; translate its headings when
|
|
35
|
+
the target document is English.
|
|
36
|
+
|
|
37
|
+
## Recommended skeleton
|
|
38
|
+
|
|
39
|
+
1. Agreement target, background, problem, purpose, and success measures
|
|
40
|
+
2. Scope, stakeholders, assumptions, and constraints
|
|
41
|
+
3. Business flow, business rules, and prioritized functional requirements
|
|
42
|
+
4. Measurable non-functional, data, and external-interface requirements
|
|
43
|
+
5. Migration, operation, acceptance, and traceability
|
|
44
|
+
6. Risks, open questions, approval, and change history
|
|
45
|
+
|
|
46
|
+
## Checklist
|
|
47
|
+
|
|
48
|
+
- [ ] Are purpose, scope, exclusions, stakeholders, assumptions, and
|
|
49
|
+
constraints explicit?
|
|
50
|
+
- [ ] Does every requirement have a stable ID, priority, and independently
|
|
51
|
+
verifiable acceptance condition?
|
|
52
|
+
- [ ] Are non-functional requirements measurable under stated conditions?
|
|
53
|
+
- [ ] Are data ownership, classification, retention, quality, and deletion
|
|
54
|
+
requirements covered?
|
|
55
|
+
- [ ] Are external interfaces, migration, operations, and failure handling
|
|
56
|
+
included where applicable?
|
|
57
|
+
- [ ] Can each requirement be traced to a problem or objective and forward
|
|
58
|
+
to an acceptance test and design or implementation artifact?
|
|
59
|
+
- [ ] Are implementation preferences separated from actual constraints?
|
|
60
|
+
- [ ] Are unresolved items owned and time-bound, with approval and change
|
|
61
|
+
history recorded?
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Request for information (RFI) type
|
|
2
|
+
|
|
3
|
+
An RFI gathers market, vendor, product, feasibility, and indicative pricing
|
|
4
|
+
information before requirements or procurement strategy are final. It must
|
|
5
|
+
not read like an award decision or demand proposal-level effort.
|
|
6
|
+
|
|
7
|
+
## Target reader
|
|
8
|
+
|
|
9
|
+
Potential suppliers preparing an overview-level response, and the internal
|
|
10
|
+
team using those responses to refine requirements and decide whether to
|
|
11
|
+
proceed to an RFP.
|
|
12
|
+
|
|
13
|
+
## Settle before writing
|
|
14
|
+
|
|
15
|
+
- The unknowns the market research must resolve
|
|
16
|
+
- The respondent population and distribution/confidentiality level
|
|
17
|
+
- The current-environment details safe to disclose before an NDA
|
|
18
|
+
- The response schedule and single source of truth for dates
|
|
19
|
+
- The intended next step, while avoiding any promise to issue an RFP
|
|
20
|
+
|
|
21
|
+
## Template
|
|
22
|
+
|
|
23
|
+
Start from `assets/templates/rfi.md`.
|
|
24
|
+
The template is the Japanese-language skeleton; translate its headings when
|
|
25
|
+
the target document is English.
|
|
26
|
+
|
|
27
|
+
## Recommended skeleton
|
|
28
|
+
|
|
29
|
+
1. Purpose, non-procurement disclaimer, and current context
|
|
30
|
+
2. Overview-level company, product, architecture, and security questions
|
|
31
|
+
3. Indicative implementation, support, roadmap, and pricing information
|
|
32
|
+
4. Response format, authoritative schedule, and handling conditions
|
|
33
|
+
5. Respondent checklist
|
|
34
|
+
|
|
35
|
+
## Checklist
|
|
36
|
+
|
|
37
|
+
- [ ] Does the document state that responses are not scored or ranked?
|
|
38
|
+
- [ ] Does it request overview-level information rather than detailed design?
|
|
39
|
+
- [ ] Are indicative prices clearly non-binding?
|
|
40
|
+
- [ ] Are roadmap, constraints, and unsupported capabilities reportable?
|
|
41
|
+
- [ ] Is sensitive configuration moved to an NDA-controlled annex?
|
|
42
|
+
- [ ] Is the schedule the single source of truth for dates?
|
|
43
|
+
- [ ] Does the disclaimer avoid promising procurement or an RFP?
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Request for proposal (RFP) type
|
|
2
|
+
|
|
3
|
+
An RFP asks qualified suppliers for comparable, evaluable, and
|
|
4
|
+
contract-ready proposals against explicit requirements, acceptance criteria,
|
|
5
|
+
commercial terms, and a disclosed evaluation method.
|
|
6
|
+
|
|
7
|
+
## Target reader
|
|
8
|
+
|
|
9
|
+
Suppliers deciding whether and how to bid, evaluators scoring proposals, and
|
|
10
|
+
procurement or legal reviewers preparing the resulting contract.
|
|
11
|
+
|
|
12
|
+
## Settle before writing
|
|
13
|
+
|
|
14
|
+
- Procurement scope, exclusions, budget model, and contract term
|
|
15
|
+
- Must/Should/Could requirements and the consequence of failing a Must
|
|
16
|
+
- Measurable acceptance criteria and payment milestones
|
|
17
|
+
- Bidder eligibility, security, compliance, and subcontracting conditions
|
|
18
|
+
- TCO period, price-scoring formula, category weights, and pass thresholds
|
|
19
|
+
- The authoritative procurement schedule and confidentiality controls
|
|
20
|
+
|
|
21
|
+
## Template
|
|
22
|
+
|
|
23
|
+
Start from `assets/templates/rfp.md`.
|
|
24
|
+
The template is the Japanese-language skeleton; translate its headings when
|
|
25
|
+
the target document is English.
|
|
26
|
+
|
|
27
|
+
## Recommended skeleton
|
|
28
|
+
|
|
29
|
+
1. Procurement purpose, scope, exclusions, and current environment
|
|
30
|
+
2. Functional, non-functional, security, migration, and support requirements
|
|
31
|
+
3. Bidder eligibility, deliverables, acceptance, and payment
|
|
32
|
+
4. Requested proposal contents, implementation schedule, and TCO pricing
|
|
33
|
+
5. Evaluation formula, submission process, authoritative schedule, and terms
|
|
34
|
+
6. Bidder submission checklist
|
|
35
|
+
|
|
36
|
+
## Checklist
|
|
37
|
+
|
|
38
|
+
- [ ] Can every functional and non-functional requirement be answered in a
|
|
39
|
+
structured, comparable format?
|
|
40
|
+
- [ ] Are Must failures and bidder disqualification rules explicit?
|
|
41
|
+
- [ ] Are deliverables linked to acceptance and payment conditions?
|
|
42
|
+
- [ ] Are bidder eligibility and conflict/subcontractor disclosures covered?
|
|
43
|
+
- [ ] Can all price rows be normalized into the stated TCO period?
|
|
44
|
+
- [ ] Is the scoring formula reproducible by independent evaluators?
|
|
45
|
+
- [ ] Is sensitive environment detail isolated in an NDA-controlled annex?
|
|
46
|
+
- [ ] Is the schedule the single source of truth for all procurement dates?
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# Security design and threat model type
|
|
2
|
+
|
|
3
|
+
A security design and threat model identifies protected assets, trust
|
|
4
|
+
boundaries, threats, controls, verification, and residual risk. It turns
|
|
5
|
+
security and compliance requirements into reviewable implementation and
|
|
6
|
+
operational decisions.
|
|
7
|
+
|
|
8
|
+
## Target reader
|
|
9
|
+
|
|
10
|
+
Architects, developers, platform and security engineers, privacy and
|
|
11
|
+
compliance reviewers, operators, and accountable risk acceptors.
|
|
12
|
+
|
|
13
|
+
## Settle before writing
|
|
14
|
+
|
|
15
|
+
- System scope, architecture, data flows, trust boundaries, and environments
|
|
16
|
+
- Assets, owners, sensitivity, retention, and regulatory obligations
|
|
17
|
+
- Identities, roles, administrative paths, and external dependencies
|
|
18
|
+
- Threat-model method and risk-rating approach
|
|
19
|
+
- Security testing, exception, and residual-risk acceptance authority
|
|
20
|
+
- The approved requirements and system-design baselines
|
|
21
|
+
|
|
22
|
+
## Responsibility boundary
|
|
23
|
+
|
|
24
|
+
Document security decisions and trace threats to controls and tests. Do not
|
|
25
|
+
include credentials, private keys, exploitable production details, or
|
|
26
|
+
instructions that bypass controls. Vulnerability findings needing restricted
|
|
27
|
+
handling belong in the repository's approved security-reporting channel.
|
|
28
|
+
|
|
29
|
+
The security section in `system-design` is sufficient for an integrated
|
|
30
|
+
architecture summary. Use a standalone `security-design` when threat
|
|
31
|
+
modeling, control ownership, compliance evidence, exceptions, or risk
|
|
32
|
+
acceptance needs independent review. When both exist, the security design is
|
|
33
|
+
authoritative for threats, controls, and residual risk.
|
|
34
|
+
|
|
35
|
+
This document owns security-test intent by tracing requirements and threats
|
|
36
|
+
to controls and planned tests, including the expected environment class and
|
|
37
|
+
required evidence type. The `test-plan` owns actual execution environments,
|
|
38
|
+
schedule, release gates, results, and evidence storage; copy the security
|
|
39
|
+
test IDs, threat IDs, and control IDs into its traceability table.
|
|
40
|
+
|
|
41
|
+
## Template
|
|
42
|
+
|
|
43
|
+
Start from `assets/templates/security-design.md`.
|
|
44
|
+
The template is the Japanese-language skeleton; translate its headings when
|
|
45
|
+
the target document is English.
|
|
46
|
+
|
|
47
|
+
## Recommended skeleton
|
|
48
|
+
|
|
49
|
+
1. Scope, requirements, assets, data classification, and architecture
|
|
50
|
+
2. Trust boundaries, identity, authentication, authorization, and threats
|
|
51
|
+
3. Preventive, detective, and responsive controls with ownership
|
|
52
|
+
4. Data, secret, API, audit, vulnerability, and supply-chain protection
|
|
53
|
+
5. Security testing, incident response, residual risk, traceability, and approval
|
|
54
|
+
|
|
55
|
+
## Checklist
|
|
56
|
+
|
|
57
|
+
- [ ] Are system scope, assets, owners, data flows, and trust boundaries clear?
|
|
58
|
+
- [ ] Are identities, authentication, authorization, privilege, session, and
|
|
59
|
+
recovery paths covered?
|
|
60
|
+
- [ ] Does each credible threat identify affected assets, impact, likelihood,
|
|
61
|
+
controls, owner, and test?
|
|
62
|
+
- [ ] Are encryption, key and secret lifecycle, retention, deletion, masking,
|
|
63
|
+
logging, and audit addressed?
|
|
64
|
+
- [ ] Are input, output, API abuse, availability, dependency, build, artifact,
|
|
65
|
+
and supply-chain risks covered?
|
|
66
|
+
- [ ] Are security tests, incident response, evidence preservation, and
|
|
67
|
+
notification responsibilities defined?
|
|
68
|
+
- [ ] Is every exception time-bound, owned, compensated, and accepted by an
|
|
69
|
+
accountable risk owner?
|
|
70
|
+
- [ ] Can requirements, assets, threats, controls, tests, and implementation
|
|
71
|
+
locations be traced end to end?
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# System design type
|
|
2
|
+
|
|
3
|
+
A system design explains how approved requirements will be realized through
|
|
4
|
+
architecture, components, data, interfaces, deployment, security, quality
|
|
5
|
+
controls, and operations. It must be detailed enough for implementation,
|
|
6
|
+
testing, operation, and review without duplicating source code.
|
|
7
|
+
|
|
8
|
+
## Target reader
|
|
9
|
+
|
|
10
|
+
Architects, developers, testers, operators, security reviewers, and technical
|
|
11
|
+
approvers who must verify that the design satisfies the requirements and can
|
|
12
|
+
be built and operated safely.
|
|
13
|
+
|
|
14
|
+
## Settle before writing
|
|
15
|
+
|
|
16
|
+
- The approved requirements baseline and stable requirement IDs
|
|
17
|
+
- The system boundary, design scope, environments, and external dependencies
|
|
18
|
+
- The most important quality attributes and their measurable targets
|
|
19
|
+
- Constraints on technology, deployment, security, compliance, cost, and time
|
|
20
|
+
- The level of design detail needed for implementation and review
|
|
21
|
+
- The owner of unresolved design decisions
|
|
22
|
+
|
|
23
|
+
## Responsibility boundary
|
|
24
|
+
|
|
25
|
+
Describe implementation choices and trace them to requirements. Do not
|
|
26
|
+
silently redefine scope or acceptance criteria from the requirements
|
|
27
|
+
definition. If the design exposes a missing, conflicting, or infeasible
|
|
28
|
+
requirement, record it as an open issue and update the approved requirements
|
|
29
|
+
through change control.
|
|
30
|
+
|
|
31
|
+
Use `design-doc` or an ADR for one isolated decision and its alternatives.
|
|
32
|
+
Use `system-design` when the reader needs the integrated design across
|
|
33
|
+
components, data, interfaces, deployment, quality attributes, and operations.
|
|
34
|
+
Its test, operation, migration, and security sections summarize the design
|
|
35
|
+
decisions needed to understand the whole system. Split out a `test-plan`,
|
|
36
|
+
`operations-runbook`, `migration-plan`, or `security-design` when that topic
|
|
37
|
+
needs executable procedures, independent evidence, a different approval
|
|
38
|
+
authority, or a separate lifecycle. When a standalone document exists, it is
|
|
39
|
+
the source of truth for that topic; the system design links to and summarizes
|
|
40
|
+
it instead of duplicating details.
|
|
41
|
+
|
|
42
|
+
## Template
|
|
43
|
+
|
|
44
|
+
Start from `assets/templates/system-design.md`.
|
|
45
|
+
The template is the Japanese-language skeleton; translate its headings when
|
|
46
|
+
the target document is English.
|
|
47
|
+
|
|
48
|
+
## Recommended skeleton
|
|
49
|
+
|
|
50
|
+
1. Agreement target, scope, assumptions, constraints, and design drivers
|
|
51
|
+
2. Context, container, component, and processing-flow design
|
|
52
|
+
3. Data, transaction, interface, and error-contract design
|
|
53
|
+
4. Security, performance, capacity, availability, and reliability design
|
|
54
|
+
5. Deployment, network, observability, operation, backup, and recovery
|
|
55
|
+
6. Migration, release, rollback, test traceability, trade-offs, and approval
|
|
56
|
+
|
|
57
|
+
## Checklist
|
|
58
|
+
|
|
59
|
+
- [ ] Is the design boundary clear, and is the approved requirements
|
|
60
|
+
baseline identified?
|
|
61
|
+
- [ ] Are major components assigned cohesive responsibilities with explicit
|
|
62
|
+
dependencies and interfaces?
|
|
63
|
+
- [ ] Are data ownership, schemas, integrity, transactions, retention, and
|
|
64
|
+
deletion addressed?
|
|
65
|
+
- [ ] Are authentication, authorization, encryption, audit, secrets, and
|
|
66
|
+
threat controls concrete and testable?
|
|
67
|
+
- [ ] Are performance, capacity, availability, timeout, retry, idempotency,
|
|
68
|
+
backup, RTO, and RPO decisions quantified?
|
|
69
|
+
- [ ] Are deployment, network boundaries, configuration, observability,
|
|
70
|
+
release, operation, and incident handling implementable?
|
|
71
|
+
- [ ] Are migration, compatibility, rollback, and failure recovery covered?
|
|
72
|
+
- [ ] Is every major design element traced to requirements and tests?
|
|
73
|
+
- [ ] Are rejected alternatives, accepted trade-offs, risks, open decisions,
|
|
74
|
+
reviewers, and change history recorded?
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Technical proposal type
|
|
2
|
+
|
|
3
|
+
A technical proposal asks decision-makers to approve a technical approach,
|
|
4
|
+
budget, and delivery plan. It is broader than an ADR: it must connect the
|
|
5
|
+
architecture to measurable outcomes, implementation cost, risks, and a
|
|
6
|
+
recorded decision.
|
|
7
|
+
|
|
8
|
+
This doctype is for an internal approval proposal. For a supplier's
|
|
9
|
+
technical bid in response to an RFP, structure the response against the
|
|
10
|
+
RFP's requirement IDs, requested proposal contents, pricing, and contract
|
|
11
|
+
deviations instead of using this template.
|
|
12
|
+
|
|
13
|
+
## Target reader
|
|
14
|
+
|
|
15
|
+
The person or group accountable for approving the investment, accepting the
|
|
16
|
+
trade-offs, and assigning implementation ownership.
|
|
17
|
+
|
|
18
|
+
## Settle before writing
|
|
19
|
+
|
|
20
|
+
- The exact decision or approval being requested
|
|
21
|
+
- The current problem and measurable target outcome
|
|
22
|
+
- Budget, deadline, security, compliance, and staffing constraints
|
|
23
|
+
- At least one alternative, including the current-state baseline
|
|
24
|
+
- The evaluation period used for total cost of ownership
|
|
25
|
+
|
|
26
|
+
## Template
|
|
27
|
+
|
|
28
|
+
Start from `assets/templates/technical-proposal.md`.
|
|
29
|
+
The template is the Japanese-language skeleton; translate its headings when
|
|
30
|
+
the target document is English.
|
|
31
|
+
|
|
32
|
+
## Recommended skeleton
|
|
33
|
+
|
|
34
|
+
1. Decision requested and executive summary
|
|
35
|
+
2. Background, measurable goals, and non-goals
|
|
36
|
+
3. Proposed architecture, data, and security
|
|
37
|
+
4. Delivery, rollout, rollback, cost, and staffing
|
|
38
|
+
5. Alternatives using shared cost, time, effort, and risk axes
|
|
39
|
+
6. Risks, success metrics, unresolved questions, and decision record
|
|
40
|
+
|
|
41
|
+
## Checklist
|
|
42
|
+
|
|
43
|
+
- [ ] Is the requested decision stated before the implementation detail?
|
|
44
|
+
- [ ] Are goals measurable, with an action if a target is missed?
|
|
45
|
+
- [ ] Are non-goals, assumptions, and constraints explicit?
|
|
46
|
+
- [ ] Does the comparison include a current-state baseline and shared axes?
|
|
47
|
+
- [ ] Are initial cost, annual recurring cost, and TCO period comparable?
|
|
48
|
+
- [ ] Are rollout, rollback, security, risks, and ownership covered?
|
|
49
|
+
- [ ] Can the final approver, date, and decision be recorded in the document?
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# Test plan type
|
|
2
|
+
|
|
3
|
+
A test plan defines how requirements and quality risks will be verified,
|
|
4
|
+
which environments and data are needed, and what evidence permits a release
|
|
5
|
+
or acceptance decision. It covers planning and traceability rather than
|
|
6
|
+
replacing executable test code.
|
|
7
|
+
|
|
8
|
+
## Target reader
|
|
9
|
+
|
|
10
|
+
Test leads, developers, product owners, business acceptance testers,
|
|
11
|
+
operators, security reviewers, and release approvers.
|
|
12
|
+
|
|
13
|
+
## Settle before writing
|
|
14
|
+
|
|
15
|
+
- The approved requirements and design baselines
|
|
16
|
+
- The approved security-design baseline and security test IDs, when present
|
|
17
|
+
- In-scope systems, environments, platforms, and quality attributes
|
|
18
|
+
- The highest-impact quality risks and required test levels
|
|
19
|
+
- Measurable entry, exit, and release criteria
|
|
20
|
+
- Environment, data, tooling, staffing, and schedule constraints
|
|
21
|
+
- Defect severity definitions and residual-risk approval authority
|
|
22
|
+
|
|
23
|
+
## Responsibility boundary
|
|
24
|
+
|
|
25
|
+
Define the verification strategy, cases, criteria, ownership, and evidence.
|
|
26
|
+
Keep detailed automation implementation in test code. A test plan must not
|
|
27
|
+
weaken an approved acceptance criterion; record conflicts as open issues and
|
|
28
|
+
resolve them through requirement change control.
|
|
29
|
+
|
|
30
|
+
The test section in `system-design` is sufficient while verification remains
|
|
31
|
+
an integrated design summary. Use a standalone `test-plan` when execution
|
|
32
|
+
needs its own environments, schedule, evidence, release gates, or approvers.
|
|
33
|
+
When both exist, the test plan is authoritative for test execution and
|
|
34
|
+
release evidence, while the system design retains the architectural rationale.
|
|
35
|
+
When a `security-design` exists, import its security test, threat, and control
|
|
36
|
+
IDs. Preserve `SEC-TC-*` as the planned security-test identity and map it to
|
|
37
|
+
the executable `TC-*` case that produces release evidence.
|
|
38
|
+
|
|
39
|
+
## Template
|
|
40
|
+
|
|
41
|
+
Start from `assets/templates/test-plan.md`.
|
|
42
|
+
The template is the Japanese-language skeleton; translate its headings when
|
|
43
|
+
the target document is English.
|
|
44
|
+
|
|
45
|
+
## Recommended skeleton
|
|
46
|
+
|
|
47
|
+
1. Agreement target, baselines, scope, quality goals, and risks
|
|
48
|
+
2. Test levels, non-functional testing, environment, and data
|
|
49
|
+
3. Entry, exit, release, and residual-risk criteria
|
|
50
|
+
4. Requirement-to-test traceability and defect management
|
|
51
|
+
5. Schedule, ownership, evidence, risks, and approval
|
|
52
|
+
|
|
53
|
+
## Checklist
|
|
54
|
+
|
|
55
|
+
- [ ] Are the requirement and design baselines uniquely identified?
|
|
56
|
+
- [ ] Are scope, exclusions, environments, platforms, data, and production
|
|
57
|
+
differences explicit?
|
|
58
|
+
- [ ] Does the strategy prioritize tests using concrete quality risks?
|
|
59
|
+
- [ ] Are functional and non-functional criteria measurable?
|
|
60
|
+
- [ ] Can every Must requirement and acceptance condition be traced to tests?
|
|
61
|
+
- [ ] Can every applicable security test, threat, and control be traced from
|
|
62
|
+
the security design to an executable case and its evidence?
|
|
63
|
+
- [ ] Are entry, exit, defect, release, and residual-risk criteria objective?
|
|
64
|
+
- [ ] Are suspension and resumption conditions defined for blocked or invalid
|
|
65
|
+
test cycles?
|
|
66
|
+
- [ ] Are evidence storage, ownership, schedule, and approval defined?
|
|
67
|
+
- [ ] Are test-data privacy, cleanup, and environment reset covered?
|
|
@@ -8,12 +8,13 @@ Sentence-level naturalness, vocabulary, and rhythm are out of scope here
|
|
|
8
8
|
|
|
9
9
|
These 8 rules assume a **living, multi-section reference document** —
|
|
10
10
|
README, design doc/ADR, API reference, release notes/CHANGELOG file as a
|
|
11
|
-
whole, user manual,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
limitations, etc.)
|
|
11
|
+
whole, user manual, technical proposal, RFI/RFP (including a supplier's RFP
|
|
12
|
+
response), or Zenn/Qiita article. Apply all 8 rules to those doctypes. For
|
|
13
|
+
Zenn/Qiita specifically, rule 1's "title" lives in YAML frontmatter rather
|
|
14
|
+
than an in-body '#' heading — see their doctype reference files for the
|
|
15
|
+
platform-specific frontmatter fields — but every other rule (heading
|
|
16
|
+
hierarchy starting at '##', code examples, disclosed limitations, etc.)
|
|
17
|
+
still applies verbatim.
|
|
17
18
|
|
|
18
19
|
**Atomic, single-purpose artifacts** — commit messages, PR descriptions,
|
|
19
20
|
issue reports, code comments/docstrings, and a single new entry appended
|