kotonoha 0.1.2 → 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.
Files changed (36) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/README.md +95 -20
  3. package/bin/kotonoha.js +81 -13
  4. package/package.json +7 -3
  5. package/skills/presentation-planner/SKILL.md +243 -0
  6. package/skills/presentation-planner/assets/design-templates/data-report.yaml +97 -0
  7. package/skills/presentation-planner/assets/design-templates/executive-proposal.yaml +92 -0
  8. package/skills/presentation-planner/assets/design-templates/technical-briefing.yaml +96 -0
  9. package/skills/presentation-planner/assets/scenario-templates/data-report.md +47 -0
  10. package/skills/presentation-planner/assets/scenario-templates/executive-decision.md +43 -0
  11. package/skills/presentation-planner/assets/scenario-templates/technical-briefing.md +45 -0
  12. package/skills/presentation-planner/references/customizing-design-templates.md +160 -0
  13. package/skills/presentation-planner/references/design-spec-schema.md +72 -0
  14. package/skills/presentation-planner/references/handoff-contract.md +49 -0
  15. package/skills/presentation-planner/references/responsibility-boundary.md +32 -0
  16. package/skills/presentation-planner/references/scenario-templates.md +55 -0
  17. package/skills/tech-writer/SKILL.md +57 -16
  18. package/skills/tech-writer/assets/templates/migration-plan.md +173 -0
  19. package/skills/tech-writer/assets/templates/operations-runbook.md +202 -0
  20. package/skills/tech-writer/assets/templates/requirements-definition.md +170 -0
  21. package/skills/tech-writer/assets/templates/rfi.md +113 -0
  22. package/skills/tech-writer/assets/templates/rfp.md +180 -0
  23. package/skills/tech-writer/assets/templates/security-design.md +167 -0
  24. package/skills/tech-writer/assets/templates/system-design.md +220 -0
  25. package/skills/tech-writer/assets/templates/technical-proposal.md +112 -0
  26. package/skills/tech-writer/assets/templates/test-plan.md +153 -0
  27. package/skills/tech-writer/references/doctypes/migration-plan.md +63 -0
  28. package/skills/tech-writer/references/doctypes/operations-runbook.md +63 -0
  29. package/skills/tech-writer/references/doctypes/requirements-definition.md +61 -0
  30. package/skills/tech-writer/references/doctypes/rfi.md +43 -0
  31. package/skills/tech-writer/references/doctypes/rfp.md +46 -0
  32. package/skills/tech-writer/references/doctypes/security-design.md +71 -0
  33. package/skills/tech-writer/references/doctypes/system-design.md +74 -0
  34. package/skills/tech-writer/references/doctypes/technical-proposal.md +49 -0
  35. package/skills/tech-writer/references/doctypes/test-plan.md +67 -0
  36. package/skills/tech-writer/references/style-constitution.md +7 -6
@@ -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, Zenn/Qiita article. Apply all 8 rules to those
12
- doctypes. For Zenn/Qiita specifically, rule 1's "title" lives in YAML
13
- frontmatter rather than an in-body '#' heading — see their doctype
14
- reference files for the platform-specific frontmatter fields — but every
15
- other rule (heading hierarchy starting at '##', code examples, disclosed
16
- limitations, etc.) still applies verbatim.
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