@mytechtoday/augment-extensions 1.2.2 → 1.3.1

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 (87) hide show
  1. package/LICENSE +22 -22
  2. package/augment-extensions/domain-rules/software-architecture/README.md +143 -143
  3. package/augment-extensions/domain-rules/software-architecture/examples/banking-layered.md +961 -961
  4. package/augment-extensions/domain-rules/software-architecture/examples/ecommerce-microservices.md +990 -990
  5. package/augment-extensions/domain-rules/software-architecture/examples/iot-eventdriven.md +882 -882
  6. package/augment-extensions/domain-rules/software-architecture/examples/monolith-to-microservices-migration.md +703 -703
  7. package/augment-extensions/domain-rules/software-architecture/examples/serverless-imageprocessing.md +957 -957
  8. package/augment-extensions/domain-rules/software-architecture/examples/trading-eventdriven.md +747 -747
  9. package/augment-extensions/domain-rules/software-architecture/module.json +119 -119
  10. package/augment-extensions/domain-rules/software-architecture/rules/challenges-solutions.md +763 -763
  11. package/augment-extensions/domain-rules/software-architecture/rules/definitions-terminology.md +409 -409
  12. package/augment-extensions/domain-rules/software-architecture/rules/design-principles.md +684 -684
  13. package/augment-extensions/domain-rules/software-architecture/rules/evaluation-testing.md +1381 -1381
  14. package/augment-extensions/domain-rules/software-architecture/rules/event-driven-architecture.md +616 -616
  15. package/augment-extensions/domain-rules/software-architecture/rules/fundamentals.md +306 -306
  16. package/augment-extensions/domain-rules/software-architecture/rules/industry-architectures.md +554 -554
  17. package/augment-extensions/domain-rules/software-architecture/rules/layered-architecture.md +776 -776
  18. package/augment-extensions/domain-rules/software-architecture/rules/microservices-architecture.md +503 -503
  19. package/augment-extensions/domain-rules/software-architecture/rules/modeling-documentation.md +1199 -1199
  20. package/augment-extensions/domain-rules/software-architecture/rules/monolithic-architecture.md +351 -351
  21. package/augment-extensions/domain-rules/software-architecture/rules/principles.md +556 -556
  22. package/augment-extensions/domain-rules/software-architecture/rules/quality-attributes.md +797 -797
  23. package/augment-extensions/domain-rules/software-architecture/rules/scalability-performance.md +1345 -1345
  24. package/augment-extensions/domain-rules/software-architecture/rules/security-architecture.md +1039 -1039
  25. package/augment-extensions/domain-rules/software-architecture/rules/serverless-architecture.md +711 -711
  26. package/augment-extensions/domain-rules/software-architecture/rules/skills-development.md +568 -568
  27. package/augment-extensions/domain-rules/software-architecture/rules/tools-methodologies.md +961 -961
  28. package/augment-extensions/visual-design/CHANGELOG.md +132 -0
  29. package/augment-extensions/visual-design/README.md +255 -0
  30. package/augment-extensions/visual-design/__tests__/README.md +119 -0
  31. package/augment-extensions/visual-design/__tests__/style-selector.test.ts +172 -0
  32. package/augment-extensions/visual-design/__tests__/vendor-styles.test.ts +214 -0
  33. package/augment-extensions/visual-design/domains/other/ai-prompt-helper.ts +157 -0
  34. package/augment-extensions/visual-design/domains/other/dotnet-application.ts +156 -0
  35. package/augment-extensions/visual-design/domains/other/linux-platform.ts +156 -0
  36. package/augment-extensions/visual-design/domains/other/mobile-application.ts +157 -0
  37. package/augment-extensions/visual-design/domains/other/motion-picture.ts +156 -0
  38. package/augment-extensions/visual-design/domains/other/os-application.ts +156 -0
  39. package/augment-extensions/visual-design/domains/other/print-campaigns.ts +158 -0
  40. package/augment-extensions/visual-design/domains/other/web-app.ts +157 -0
  41. package/augment-extensions/visual-design/domains/other/website.ts +161 -0
  42. package/augment-extensions/visual-design/domains/other/windows-platform.ts +156 -0
  43. package/augment-extensions/visual-design/domains/web-page-styles/amazon-cloudscape.ts +506 -0
  44. package/augment-extensions/visual-design/domains/web-page-styles/google-modern.ts +615 -0
  45. package/augment-extensions/visual-design/domains/web-page-styles/microsoft-fluent.ts +531 -0
  46. package/augment-extensions/visual-design/examples/README.md +97 -0
  47. package/augment-extensions/visual-design/examples/ai-prompt-generation.md +233 -0
  48. package/augment-extensions/visual-design/examples/basic-usage.md +216 -0
  49. package/augment-extensions/visual-design/examples/domain-workflows.md +257 -0
  50. package/augment-extensions/visual-design/examples/vendor-comparison.md +247 -0
  51. package/augment-extensions/visual-design/module.json +78 -0
  52. package/augment-extensions/visual-design/style-selector.ts +177 -0
  53. package/augment-extensions/visual-design/types.ts +302 -0
  54. package/augment-extensions/visual-design/visual-design-core.ts +469 -0
  55. package/augment-extensions/workflows/adr-support/README.md +227 -0
  56. package/augment-extensions/workflows/adr-support/__tests__/adr-validator.test.ts +203 -0
  57. package/augment-extensions/workflows/adr-support/adr-validator.ts +162 -0
  58. package/augment-extensions/workflows/adr-support/examples/complete-lifecycle-example.md +449 -0
  59. package/augment-extensions/workflows/adr-support/examples/integration-example.md +580 -0
  60. package/augment-extensions/workflows/adr-support/examples/superseding-example.md +436 -0
  61. package/augment-extensions/workflows/adr-support/module.json +112 -0
  62. package/augment-extensions/workflows/adr-support/rules/adr-creation.md +372 -0
  63. package/augment-extensions/workflows/adr-support/rules/beads-integration.md +443 -0
  64. package/augment-extensions/workflows/adr-support/rules/conflict-detection.md +486 -0
  65. package/augment-extensions/workflows/adr-support/rules/decision-detection.md +362 -0
  66. package/augment-extensions/workflows/adr-support/rules/lifecycle-management.md +427 -0
  67. package/augment-extensions/workflows/adr-support/rules/openspec-integration.md +465 -0
  68. package/augment-extensions/workflows/adr-support/rules/template-selection.md +405 -0
  69. package/augment-extensions/workflows/adr-support/rules/validation-rules.md +543 -0
  70. package/augment-extensions/workflows/adr-support/schemas/adr-config.json +191 -0
  71. package/augment-extensions/workflows/adr-support/schemas/adr-metadata.json +172 -0
  72. package/augment-extensions/workflows/adr-support/templates/business-case.md +235 -0
  73. package/augment-extensions/workflows/adr-support/templates/madr-elaborate.md +197 -0
  74. package/augment-extensions/workflows/adr-support/templates/madr-simple.md +68 -0
  75. package/augment-extensions/workflows/adr-support/templates/nygard.md +84 -0
  76. package/augment-extensions/writing-standards/screenplay/rules/file-organization.md +213 -213
  77. package/augment-extensions/writing-standards/screenplay/utils/__tests__/file-organization.test.ts +169 -169
  78. package/augment-extensions/writing-standards/screenplay/utils/file-organization.ts +165 -165
  79. package/cli/dist/utils/auto-sync.js +19 -19
  80. package/package.json +5 -3
  81. package/augment-extensions/workflows/openspec/README.md +0 -96
  82. package/augment-extensions/workflows/openspec/examples/complete-change-example.md +0 -244
  83. package/augment-extensions/workflows/openspec/module.json +0 -54
  84. package/augment-extensions/workflows/openspec/rules/best-practices.md +0 -272
  85. package/augment-extensions/workflows/openspec/rules/manual-setup.md +0 -231
  86. package/augment-extensions/workflows/openspec/rules/spec-format.md +0 -236
  87. package/augment-extensions/workflows/openspec/rules/workflow.md +0 -214
@@ -1,236 +0,0 @@
1
- # OpenSpec Specification Format
2
-
3
- ## Overview
4
-
5
- OpenSpec uses a structured markdown format for specifications. Specs live in two places:
6
-
7
- - **`openspec/specs/`** - Current specifications (source of truth)
8
- - **`openspec/changes/<change-name>/specs/`** - Proposed changes (deltas)
9
-
10
- ## Spec Structure
11
-
12
- ### Source Spec with Frontmatter (openspec/specs/auth/spec.md)
13
-
14
- ```markdown
15
- ---
16
- id: auth/authentication
17
- relatedTasks: [bd-a1b2, bd-b2c3]
18
- relatedRules: [security-guidelines.md, module-development.md]
19
- status: active
20
- ---
21
-
22
- # Auth Specification
23
-
24
- ## Purpose
25
- Authentication and session management.
26
-
27
- ## Requirements
28
-
29
- ### Requirement: User Authentication
30
- The system SHALL issue a JWT on successful login.
31
-
32
- #### Scenario: Valid credentials
33
- - WHEN a user submits valid credentials
34
- - THEN a JWT is returned
35
- - AND the JWT contains user ID and role
36
-
37
- #### Scenario: Invalid credentials
38
- - WHEN a user submits invalid credentials
39
- - THEN an error is returned
40
- - AND no JWT is issued
41
- ```
42
-
43
- ### Delta Spec (openspec/changes/add-2fa/specs/auth/spec.md)
44
-
45
- ```markdown
46
- # Delta for Auth
47
-
48
- ## ADDED Requirements
49
-
50
- ### Requirement: Two-Factor Authentication
51
- The system MUST require a second factor during login.
52
-
53
- #### Scenario: OTP required
54
- - WHEN a user submits valid credentials
55
- - THEN an OTP challenge is required
56
- - AND the OTP is sent to the user's registered device
57
-
58
- #### Scenario: Valid OTP
59
- - WHEN a user submits a valid OTP
60
- - THEN a JWT is issued
61
- - AND the user is logged in
62
-
63
- ## MODIFIED Requirements
64
-
65
- ### Requirement: User Authentication
66
- The system SHALL issue a JWT on successful login after two-factor verification.
67
-
68
- #### Scenario: Valid credentials
69
- - WHEN a user submits valid credentials
70
- - THEN an OTP challenge is required (CHANGED)
71
- - AND no JWT is issued until OTP verification (ADDED)
72
-
73
- ## REMOVED Requirements
74
-
75
- (None for this change)
76
- ```
77
-
78
- ## YAML Frontmatter (Optional)
79
-
80
- Specs can include YAML frontmatter for coordination with Beads tasks and `.augment/` rules:
81
-
82
- ```markdown
83
- ---
84
- id: auth/authentication
85
- relatedTasks: [bd-a1b2, bd-b2c3]
86
- relatedRules: [security-guidelines.md, module-development.md]
87
- status: active
88
- dependencies: [database/schema]
89
- ---
90
-
91
- # Spec Content
92
- ...
93
- ```
94
-
95
- ### Frontmatter Fields
96
-
97
- - **id** (string): Unique spec identifier (e.g., "auth/authentication", "features/2fa")
98
- - **relatedTasks** (array): Beads task IDs implementing this spec (e.g., ["bd-a1b2"])
99
- - **relatedRules** (array): `.augment/` rule files that apply (e.g., ["security-guidelines.md"])
100
- - **status** (string): One of: `draft`, `active`, `archived`, `deprecated`
101
- - **dependencies** (array): Other spec IDs this spec depends on (optional)
102
-
103
- ### Benefits
104
-
105
- - **Automatic Traceability**: Link specs to implementing tasks
106
- - **Context Loading**: AI agents load relevant rules automatically
107
- - **Coordination**: Integration with coordination manifest (`.augment/coordination.json`)
108
- - **Dependency Tracking**: Track spec dependencies
109
-
110
- **Note**: Frontmatter is optional and backward compatible. Specs without frontmatter continue to work normally.
111
-
112
- ---
113
-
114
- ## Delta Format Rules
115
-
116
- ### Section Headers
117
-
118
- Use these exact headers in delta specs:
119
-
120
- - `## ADDED Requirements` - New capabilities
121
- - `## MODIFIED Requirements` - Changed behavior
122
- - `## REMOVED Requirements` - Deprecated features
123
-
124
- ### Requirement Format
125
-
126
- ```markdown
127
- ### Requirement: <Name>
128
- The system SHALL/MUST/SHOULD <requirement text>.
129
-
130
- #### Scenario: <Scenario Name>
131
- - WHEN <condition>
132
- - THEN <expected behavior>
133
- - AND <additional expectation>
134
- ```
135
-
136
- ### Keywords
137
-
138
- - **SHALL** - Mandatory requirement
139
- - **MUST** - Mandatory requirement (stronger)
140
- - **SHOULD** - Recommended but not mandatory
141
- - **MAY** - Optional
142
-
143
- ### Scenario Format
144
-
145
- Use Given-When-Then style:
146
-
147
- - **GIVEN** - Initial context (optional)
148
- - **WHEN** - Action or condition
149
- - **THEN** - Expected result
150
- - **AND** - Additional conditions/results
151
-
152
- ## Example: Complete Change
153
-
154
- ### Proposal (openspec/changes/add-2fa/proposal.md)
155
-
156
- ```markdown
157
- # Add Two-Factor Authentication
158
-
159
- ## Motivation
160
- Users need stronger account security. Passwords alone are insufficient.
161
-
162
- ## Changes
163
- - Add OTP generation and verification
164
- - Modify login flow to require 2FA
165
- - Add user settings for 2FA enrollment
166
-
167
- ## Impact
168
- - Breaking change: All users must enroll in 2FA
169
- - Database migration required
170
- - Frontend login flow changes
171
- ```
172
-
173
- ### Tasks (openspec/changes/add-2fa/tasks.md)
174
-
175
- ```markdown
176
- ## 1. Database Setup
177
- - [ ] 1.1 Add OTP secret column to users table
178
- - [ ] 1.2 Create OTP verification logs table
179
- - [ ] 1.3 Add migration script
180
-
181
- ## 2. Backend Implementation
182
- - [ ] 2.1 Add OTP generation endpoint
183
- - [ ] 2.2 Modify login flow to require OTP
184
- - [ ] 2.3 Add OTP verification endpoint
185
- - [ ] 2.4 Add 2FA enrollment endpoint
186
-
187
- ## 3. Frontend Updates
188
- - [ ] 3.1 Create OTP input component
189
- - [ ] 3.2 Update login flow UI
190
- - [ ] 3.3 Add 2FA settings page
191
- ```
192
-
193
- ### Spec Delta (openspec/changes/add-2fa/specs/auth/spec.md)
194
-
195
- See example above in "Delta Spec" section.
196
-
197
- ## Archiving Process
198
-
199
- When archiving, the delta is applied to the source spec:
200
-
201
- 1. **ADDED** sections are appended to source spec
202
- 2. **MODIFIED** sections replace existing requirements
203
- 3. **REMOVED** sections are deleted from source spec
204
-
205
- Result: `openspec/specs/auth/spec.md` now includes 2FA requirements.
206
-
207
- ## Best Practices
208
-
209
- 1. **One Spec Per Component**: Don't mix auth and profile specs
210
- 2. **Complete Scenarios**: Every requirement needs at least one scenario
211
- 3. **Clear Language**: Use SHALL/MUST for clarity
212
- 4. **Atomic Changes**: Each delta should be independently reviewable
213
- 5. **Update Existing**: Use MODIFIED for changes, not ADDED + REMOVED
214
-
215
- ## Validation
216
-
217
- ### With CLI
218
-
219
- ```bash
220
- openspec validate <change-name>
221
- ```
222
-
223
- Checks:
224
- - Required headers present
225
- - Requirement format correct
226
- - Scenario format valid
227
- - No orphaned scenarios
228
-
229
- ### Without CLI
230
-
231
- Manual checklist:
232
- - [ ] All deltas have ADDED/MODIFIED/REMOVED sections
233
- - [ ] Every requirement has a scenario
234
- - [ ] Keywords (SHALL/MUST) used correctly
235
- - [ ] Scenarios follow WHEN/THEN format
236
-
@@ -1,214 +0,0 @@
1
- # OpenSpec Workflow Guide
2
-
3
- ## Overview
4
-
5
- OpenSpec implements spec-driven development (SDD) where specifications are agreed upon before implementation. This workflow works with or without the OpenSpec CLI.
6
-
7
- ## Core Workflow
8
-
9
- ```
10
- ┌────────────────────┐
11
- │ Draft Change │
12
- │ Proposal │
13
- └────────┬───────────┘
14
- │ share intent with your AI
15
-
16
- ┌────────────────────┐
17
- │ Review & Align │
18
- │ (edit specs/tasks) │◀──── feedback loop ──────┐
19
- └────────┬───────────┘ │
20
- │ approved plan │
21
- ▼ │
22
- ┌────────────────────┐ │
23
- │ Implement Tasks │──────────────────────────┘
24
- │ (AI writes code) │
25
- └────────┬───────────┘
26
- │ ship the change
27
-
28
- ┌────────────────────┐
29
- │ Archive & Update │
30
- │ Specs (source) │
31
- └────────────────────┘
32
- ```
33
-
34
- ## Coordination with Beads and .augment/
35
-
36
- OpenSpec specs can include YAML frontmatter to coordinate with Beads tasks and `.augment/` rules:
37
-
38
- ```markdown
39
- ---
40
- id: features/profile-search
41
- relatedTasks: [bd-xyz, bd-abc]
42
- relatedRules: [module-development.md]
43
- status: active
44
- ---
45
-
46
- # Profile Search Specification
47
- ...
48
- ```
49
-
50
- **Benefits**:
51
- - **Traceability**: Link specs to implementing tasks
52
- - **Context**: AI agents load relevant rules automatically
53
- - **Coordination**: Integration with coordination manifest
54
-
55
- See `.augment/rules/coordination-system.md` for details.
56
-
57
- ---
58
-
59
- ## Step 1: Draft Change Proposal
60
-
61
- ### With CLI
62
-
63
- Ask your AI agent:
64
-
65
- ```
66
- Create an OpenSpec change proposal for adding profile search filters by role and team
67
- ```
68
-
69
- Or use slash command (if supported):
70
-
71
- ```
72
- /openspec:proposal Add profile search filters
73
- ```
74
-
75
- ### Without CLI
76
-
77
- Ask your AI agent:
78
-
79
- ```
80
- Create a new change folder in openspec/changes/add-profile-filters/ with:
81
- 1. proposal.md - describing the change
82
- 2. tasks.md - implementation checklist
83
- 3. specs/ - folder with spec deltas for affected components
84
- ```
85
-
86
- ### What Gets Created
87
-
88
- ```
89
- openspec/changes/add-profile-filters/
90
- ├── proposal.md # Why this change, what it does
91
- ├── tasks.md # Checklist of implementation steps
92
- └── specs/
93
- └── profile/
94
- └── spec.md # Delta showing additions/modifications
95
- ```
96
-
97
- ## Step 2: Review & Align
98
-
99
- ### Validate (CLI only)
100
-
101
- ```bash
102
- openspec validate add-profile-filters
103
- ```
104
-
105
- ### Review
106
-
107
- ```bash
108
- # With CLI
109
- openspec show add-profile-filters
110
-
111
- # Without CLI - manually review files
112
- cat openspec/changes/add-profile-filters/proposal.md
113
- cat openspec/changes/add-profile-filters/tasks.md
114
- cat openspec/changes/add-profile-filters/specs/profile/spec.md
115
- ```
116
-
117
- ### Iterate
118
-
119
- Ask your AI to refine:
120
-
121
- ```
122
- Can you add acceptance criteria for the role and team filters?
123
- ```
124
-
125
- ```
126
- The tasks look good, but can you break down task 2.1 into smaller steps?
127
- ```
128
-
129
- Continue until specs match your requirements.
130
-
131
- ## Step 3: Implement Tasks
132
-
133
- ### With CLI
134
-
135
- ```
136
- The specs look good. Let's implement this change.
137
- ```
138
-
139
- Or use slash command:
140
-
141
- ```
142
- /openspec:apply add-profile-filters
143
- ```
144
-
145
- ### Without CLI
146
-
147
- ```
148
- Please implement the tasks in openspec/changes/add-profile-filters/tasks.md
149
- Mark each task complete as you finish it.
150
- ```
151
-
152
- ### AI Implementation Pattern
153
-
154
- The AI agent will:
155
-
156
- 1. Read the spec deltas to understand requirements
157
- 2. Work through tasks.md sequentially
158
- 3. Mark tasks complete: `- [x] 1.1 Add role filter component`
159
- 4. Reference specs when making decisions
160
- 5. Update tasks.md if scope changes
161
-
162
- ## Step 4: Archive Completed Change
163
-
164
- ### With CLI
165
-
166
- ```bash
167
- openspec archive add-profile-filters --yes
168
- ```
169
-
170
- Or ask AI:
171
-
172
- ```
173
- Please archive the add-profile-filters change
174
- ```
175
-
176
- ### Without CLI
177
-
178
- Manually merge the changes:
179
-
180
- 1. Copy spec deltas from `openspec/changes/add-profile-filters/specs/` to `openspec/specs/`
181
- 2. Apply ADDED/MODIFIED/REMOVED sections to source specs
182
- 3. Move change folder to archive: `openspec/archive/add-profile-filters/`
183
-
184
- ## Commands Reference
185
-
186
- ### With CLI
187
-
188
- | Command | Action |
189
- |---------|--------|
190
- | `openspec init` | Initialize OpenSpec in project |
191
- | `openspec list` | View active change folders |
192
- | `openspec show <change>` | Display change details |
193
- | `openspec validate <change>` | Check spec formatting |
194
- | `openspec archive <change>` | Merge change into specs |
195
- | `openspec update` | Refresh AI agent instructions |
196
-
197
- ### Without CLI
198
-
199
- All operations are manual file operations. AI agents can create/edit files directly.
200
-
201
- ## Best Practices
202
-
203
- 1. **One Change Per Folder**: Keep changes focused and atomic
204
- 2. **Review Before Implementation**: Catch issues in specs, not code
205
- 3. **Update Tasks During Implementation**: Reflect actual work done
206
- 4. **Archive Promptly**: Keep changes/ folder clean
207
- 5. **Use Descriptive Names**: `add-2fa` not `feature-123`
208
-
209
- ## Next Steps
210
-
211
- - See `spec-format.md` for specification syntax
212
- - See `manual-setup.md` for CLI-free setup
213
- - See `best-practices.md` for advanced patterns
214
-