telo3-ai 5.0.7 → 6.2.0

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 (47) hide show
  1. package/README.md +32 -791
  2. package/SKILL.md +36 -657
  3. package/bootstrap/TELO3.md +17 -0
  4. package/cli.js +223 -42
  5. package/hooks/inject-contract.mjs +23 -0
  6. package/hooks/session-start.example.json +15 -0
  7. package/index.js +48 -14
  8. package/package.json +32 -69
  9. package/references/accessibility-quality.md +92 -272
  10. package/references/ai-behavior.md +70 -332
  11. package/references/anti-slop.md +71 -0
  12. package/references/document-specification.md +110 -419
  13. package/references/legal-compliance.md +90 -395
  14. package/references/performance-quality.md +100 -351
  15. package/references/privacy-compliance.md +88 -464
  16. package/references/project-audit.md +79 -440
  17. package/references/security-quality.md +68 -220
  18. package/references/seo-quality.md +83 -339
  19. package/references/smart-skill-delegation.md +73 -419
  20. package/references/token-optimization.md +83 -450
  21. package/references/ui-quality.md +106 -481
  22. package/references/workflow.md +91 -447
  23. package/scripts/postinstall.mjs +27 -0
  24. package/src/activate.js +159 -0
  25. package/src/context.js +72 -0
  26. package/src/find-context.js +41 -0
  27. package/src/init.js +38 -0
  28. package/src/install.js +128 -0
  29. package/src/paths.js +20 -0
  30. package/src/status.js +30 -0
  31. package/src/tokens.js +10 -0
  32. package/src/validate.js +220 -0
  33. package/src/version.js +12 -0
  34. package/templates/architecture.md +17 -398
  35. package/templates/design.md +22 -631
  36. package/templates/memory.md +13 -351
  37. package/templates/prd.md +15 -295
  38. package/templates/rules.md +20 -600
  39. package/templates/tasks.md +10 -210
  40. package/AI-CONTEXT.md +0 -272
  41. package/ONBOARDING-SKILL.md +0 -738
  42. package/SKILL-METADATA.json +0 -237
  43. package/scripts/init-project-context.sh +0 -139
  44. package/scripts/validate-project-context.sh +0 -164
  45. package/skills/telo3/SKILL.md +0 -315
  46. package/skills/telo3-context/SKILL.md +0 -272
  47. package/skills/telo3-onboarding/SKILL.md +0 -738
@@ -1,220 +1,20 @@
1
- # Tasks & Implementation Backlog
1
+ <!-- Lean skeleton. The work ledger. Keep it current; mark done, don't delete history abruptly. -->
2
2
 
3
- > **Purpose:** Track WHAT implementation work remains — features, fixes, improvements, and technical debt.
4
- > **Last Updated:** [Date]
3
+ # Tasks — [Project Name]
5
4
 
6
- ---
5
+ ## Current Sprint
7
6
 
8
- ## Current Sprint / Active Work
7
+ - [ ] [TODO: active task — what "done" means]
8
+ - [ ] [TODO]
9
9
 
10
- ### In Progress
11
- - [ ] **[Task name]** — [Brief description]
12
- - **Priority:** High / Medium / Low
13
- - **Assigned to:** [Name or unassigned]
14
- - **Started:** [Date]
15
- - **Blocked by:** [Blocker if applicable]
10
+ ## Backlog
16
11
 
17
- ---
12
+ - [ ] [TODO: upcoming, prioritized]
18
13
 
19
- ## Product Backlog
14
+ ## Blocked
20
15
 
21
- ### Phase 1 — Foundation ✅
22
-
23
- #### Authentication
24
- - [x] User registration with email/password
25
- - [x] User login
26
- - [x] Password reset flow
27
- - [x] Email verification
28
- - [x] Session management
29
-
30
- #### Core Data Models
31
- - [x] User model
32
- - [x] Profile model
33
- - [x] Database schema migrations
34
- - [x] Basic CRUD operations
35
-
36
- #### Basic UI
37
- - [x] Landing page
38
- - [x] Login/signup pages
39
- - [x] Dashboard layout
40
- - [x] Navigation component
41
- - [x] Basic responsive design
42
-
43
- ---
44
-
45
- ### Phase 2 — Core Features
46
-
47
- #### [Feature Group 1]
48
- - [ ] **[Task name]**
49
- - **Description:** [What needs to be done]
50
- - **Acceptance Criteria:**
51
- - [ ] [Criterion 1]
52
- - [ ] [Criterion 2]
53
- - **Priority:** High
54
- - **Estimate:** [Time estimate if using]
55
- - **Dependencies:** [Tasks this depends on]
56
- - **Notes:** [Additional context]
57
-
58
- - [ ] **[Task name]**
59
- - **Description:**
60
- - **Acceptance Criteria:**
61
- - [ ]
62
- - **Priority:** Medium
63
-
64
- #### [Feature Group 2]
65
- - [ ] **[Task name]**
66
-
67
- ---
68
-
69
- ### Phase 3 — Enhancements
70
-
71
- #### UI/UX Improvements
72
- - [ ] Improve loading states
73
- - [ ] Add skeleton loaders
74
- - [ ] Refine error messages
75
- - [ ] Add empty states
76
- - [ ] Improve mobile navigation
77
-
78
- #### Performance
79
- - [ ] Optimize images
80
- - [ ] Implement lazy loading
81
- - [ ] Add caching strategy
82
- - [ ] Reduce bundle size
83
- - [ ] Optimize database queries
84
-
85
- #### Accessibility
86
- - [ ] Audit keyboard navigation
87
- - [ ] Improve focus indicators
88
- - [ ] Add ARIA labels where needed
89
- - [ ] Test with screen reader
90
- - [ ] Ensure color contrast compliance
91
-
92
- ---
93
-
94
- ### Phase 4 — Polish & Launch Prep
95
-
96
- #### SEO (if applicable)
97
- - [ ] Add meta tags to all pages
98
- - [ ] Generate sitemap.xml
99
- - [ ] Configure robots.txt
100
- - [ ] Add Open Graph tags
101
- - [ ] Implement structured data
102
- - [ ] Optimize Core Web Vitals
103
-
104
- #### Security Hardening
105
- - [ ] Security audit
106
- - [ ] Add rate limiting
107
- - [ ] Implement CSRF protection
108
- - [ ] Add security headers
109
- - [ ] Audit dependency vulnerabilities
110
-
111
- #### Testing
112
- - [ ] Write unit tests for core logic
113
- - [ ] Write integration tests for API
114
- - [ ] Write E2E tests for critical flows
115
- - [ ] Test error handling
116
- - [ ] Test edge cases
117
-
118
- #### Documentation
119
- - [ ] User documentation
120
- - [ ] API documentation
121
- - [ ] Deployment documentation
122
- - [ ] Contributing guide
123
-
124
- ---
125
-
126
- ## Bug Fixes
127
-
128
- ### High Priority
129
- - [ ] **[Bug description]**
130
- - **Impact:** [How this affects users]
131
- - **Steps to reproduce:**
132
- 1. [Step 1]
133
- 2. [Step 2]
134
- - **Expected behavior:** [What should happen]
135
- - **Actual behavior:** [What currently happens]
136
-
137
- ### Medium Priority
138
- - [ ] **[Bug description]**
139
-
140
- ### Low Priority
141
- - [ ] **[Bug description]**
142
-
143
- ---
144
-
145
- ## Technical Debt
146
-
147
- ### High Priority
148
- - [ ] **[Debt item]**
149
- - **Description:** [What is the technical debt]
150
- - **Impact:** [Why this matters]
151
- - **Proposed solution:** [How to address it]
152
- - **Effort:** [Estimate if available]
153
-
154
- ### Medium Priority
155
- - [ ] **[Debt item]**
156
-
157
- ### Low Priority
158
- - [ ] **[Debt item]**
159
-
160
- ---
161
-
162
- ## Future Ideas / Backlog
163
-
164
- [Features that are not yet prioritized or committed]
165
-
166
- - **[Feature idea]** — [Brief description]
167
- - **[Feature idea]** — [Brief description]
168
-
169
- ---
16
+ - [ ] [TODO: task — blocker — who/what unblocks it]
170
17
 
171
18
  ## Completed Recently
172
19
 
173
- ### Completed in [Month/Sprint]
174
- - [x] **[Task name]** — Completed [Date]
175
- - [x] **[Task name]** — Completed [Date]
176
-
177
- ---
178
-
179
- ## Blocked Tasks
180
-
181
- - [ ] **[Task name]**
182
- - **Blocked by:** [What is blocking this]
183
- - **Resolution plan:** [How to unblock]
184
-
185
- ---
186
-
187
- ## Dependencies & External Blockers
188
-
189
- - **[Dependency name]:** [Description] — Status: [Waiting / In Progress]
190
-
191
- ---
192
-
193
- ## Notes
194
-
195
- [Any additional context about the task backlog, priorities, or planning]
196
-
197
- ---
198
-
199
- ## Task Management
200
-
201
- ### Task Lifecycle
202
- 1. **Backlog** — Task identified but not yet prioritized
203
- 2. **Planned** — Task prioritized for upcoming work
204
- 3. **In Progress** — Active development
205
- 4. **Blocked** — Cannot proceed due to external dependency
206
- 5. **Review** — Complete and awaiting review (if applicable)
207
- 6. **Done** — Completed and verified
208
-
209
- ### Priority Levels
210
- - **High:** Critical for MVP or core functionality
211
- - **Medium:** Important but not blocking
212
- - **Low:** Nice to have, future enhancement
213
-
214
- ---
215
-
216
- ## Document History
217
-
218
- | Date | Author | Changes |
219
- |------|--------|---------|
220
- | [Date] | [Name] | Initial version |
20
+ - [x] [TODO: finished task — date]
package/AI-CONTEXT.md DELETED
@@ -1,272 +0,0 @@
1
- ---
2
- name: telo3-quick-reference
3
- version: 5.0.6
4
- description: 30-second quick reference guide for AI assistants
5
- author: Jeet (@jeet1511)
6
- license: MIT
7
- repository: https://github.com/Jeet1511/telo3
8
- ---
9
-
10
- # AI Context — Quick Reference
11
-
12
- > **Ultra-concise project context for AI agents. Read this FIRST (30 seconds).**
13
-
14
- ---
15
-
16
- ## What This Is
17
-
18
- **Project Context System** = 6 documents + quality frameworks for systematic AI coding.
19
-
20
- Prevents: vibe coding, architectural drift, forgotten decisions, security mistakes.
21
-
22
- ---
23
-
24
- ## Core Documents (Read Selectively)
25
-
26
- | File | When to Read | Time |
27
- |------|--------------|------|
28
- | **memory.md** | ALWAYS (current state) | 30s |
29
- | **prd.md** | Changing requirements | 2min |
30
- | **architecture.md** | Adding features, structure changes | 3min |
31
- | **rules.md** | Unsure about standards | 2min |
32
- | **design.md** | Building UI | 2min |
33
- | **tasks.md** | Planning work | 1min |
34
-
35
- **Default:** Read memory.md only. Load others if relevant.
36
-
37
- ---
38
-
39
- ## Quick Decision Framework
40
-
41
- ```
42
- Tiny task (< 5min)?
43
- → Read affected file only → Code → Update memory.md
44
-
45
- Medium task (5-15min)?
46
- → Read memory.md + relevant doc → Code → Update 2 docs
47
-
48
- Large task (15min+)?
49
- → Read context subset → Plan → Code → Update all affected
50
- ```
51
-
52
- ---
53
-
54
- ## Critical Rules
55
-
56
- ### Security (Non-Negotiable)
57
- - Validate ALL user input
58
- - Check authorization on EVERY request
59
- - Never commit secrets
60
- - Hash passwords (bcrypt/argon2)
61
- - Filter queries by teamId/userId (if multi-tenant)
62
-
63
- ### Privacy (Required)
64
- - Document data collection
65
- - Self-host fonts (no Google Fonts by default)
66
- - No invasive tracking without disclosure
67
- - Support data deletion
68
-
69
- ### Legal (Awareness)
70
- - Age restrictions if children can use service
71
- - Unsubscribe for marketing emails
72
- - Clear subscription terms
73
- - DMCA agent for user content (U.S.)
74
- - **This is engineering guidance, not legal advice**
75
-
76
- ### Quality (Standards)
77
- - Follow existing patterns (inspect before creating)
78
- - Reuse components (don't duplicate)
79
- - Accessible by default (semantic HTML, ARIA, contrast)
80
- - Responsive (mobile-first)
81
-
82
- ---
83
-
84
- ## Token Optimization
85
-
86
- ### Read Minimum
87
- - memory.md (always)
88
- - Affected files only
89
- - Skip unrelated code
90
-
91
- ### Skip Unnecessary
92
- - Don't test if not requested
93
- - Don't verify unchanged code
94
- - Don't inspect unrelated files
95
- - Don't re-read files from this conversation
96
-
97
- ### Communicate Concisely
98
- **Normal mode:** Brief, clear updates
99
- **Caveman mode:** Ultra-short, no fluff
100
-
101
- ---
102
-
103
- ## Smart Delegation
104
-
105
- **Before implementing, check:**
106
- - Does skill exist for this? (check your AI's skills directory)
107
- - Is there MCP tool? (figma, context7, stripe, etc.)
108
- - Would sub-agent do better? (if your AI supports delegation)
109
-
110
- **Use specialized tools for specialized tasks.**
111
-
112
- ---
113
-
114
- ## Update Pattern
115
-
116
- **After EVERY meaningful change:**
117
-
118
- ✅ Update **memory.md** (current state, decisions)
119
- ✅ Update **tasks.md** (mark complete, add new)
120
- ✅ Update other docs ONLY if they changed
121
-
122
- ❌ Don't update unrelated docs
123
- ❌ Don't duplicate info across docs
124
- ❌ Don't turn memory.md into conversation log
125
-
126
- ---
127
-
128
- ## Quality Checks (Mental)
129
-
130
- Before marking complete:
131
- - [ ] Follows existing patterns?
132
- - [ ] Security considered?
133
- - [ ] Accessible (if UI)?
134
- - [ ] Documentation updated?
135
- - [ ] No secrets committed?
136
-
137
- ---
138
-
139
- ## Caveman Mode
140
-
141
- **User says:** "caveman mode" or "be concise"
142
-
143
- **You respond:**
144
- ```
145
- Caveman mode ON.
146
- Short responses.
147
- Ready.
148
- ```
149
-
150
- **Format:**
151
- - Short sentences
152
- - No fluff
153
- - Facts only
154
- - Action → Result → Done
155
-
156
- ---
157
-
158
- ## Response Templates
159
-
160
- ### Standard Update
161
- ```
162
- Task: [X]
163
-
164
- Changed:
165
- - file.ts (added Y)
166
- - file2.ts (updated Z)
167
-
168
- Updated:
169
- - memory.md
170
- - tasks.md
171
-
172
- Done.
173
- ```
174
-
175
- ### Caveman Update
176
- ```
177
- Done.
178
-
179
- Changed:
180
- - file.ts (Y)
181
- - file2.ts (Z)
182
-
183
- Docs current.
184
- ```
185
-
186
- ### Bug Fix
187
- ```
188
- Fixed [issue].
189
-
190
- Root cause: [X]
191
- Changed: [file:line]
192
- Verified: Works now.
193
- ```
194
-
195
- ---
196
-
197
- ## When to Ask User
198
-
199
- **Ask when:**
200
- - Requirements unclear
201
- - Multiple valid approaches
202
- - Breaking change needed
203
- - Security/privacy decision
204
- - Scope change
205
-
206
- **Don't ask when:**
207
- - Obvious implementation
208
- - Following existing pattern
209
- - Standard practice
210
- - Documented in context
211
-
212
- ---
213
-
214
- ## Common Patterns (Auto-Apply)
215
-
216
- | User Request | Auto Action |
217
- |--------------|-------------|
218
- | "Fix typo" | Fix → No test → Update memory.md |
219
- | "Change color" | Check design.md → Update → Done |
220
- | "Add form field" | Add with validation → Test if critical |
221
- | "Update docs" | Update → No code verification |
222
- | "Refactor" | Read code → Plan → Confirm → Refactor |
223
-
224
- ---
225
-
226
- ## Reference Docs (Load as Needed)
227
-
228
- **Quality frameworks in `references/`:**
229
- - `ui-quality.md` — Anti-vibe-coding
230
- - `seo-quality.md` — SEO audit
231
- - `accessibility-quality.md` — WCAG standards
232
- - `performance-quality.md` — Core Web Vitals
233
- - `security-quality.md` — Security audit
234
- - `privacy-compliance.md` — Privacy guidelines
235
- - `legal-compliance.md` — Compliance awareness
236
- - `token-optimization.md` — Efficiency rules
237
- - `smart-skill-delegation.md` — Use other tools
238
-
239
- **Load only when doing that type of work.**
240
-
241
- ---
242
-
243
- ## Skill Location
244
-
245
- This skill: Anywhere you cloned Telo3 (universal)
246
-
247
- Main instruction: `SKILL.md`
248
- Templates: `templates/`
249
- References: `references/`
250
- Scripts: `scripts/`
251
-
252
- ---
253
-
254
- ## Summary (10 seconds)
255
-
256
- 1. **Read memory.md first** (30s)
257
- 2. **Load relevant context only**
258
- 3. **Follow existing patterns**
259
- 4. **Code with security/privacy/quality**
260
- 5. **Update memory.md + tasks.md**
261
- 6. **Communicate concisely**
262
- 7. **Use specialized tools when better**
263
-
264
- **Goal:** Systematic engineering. Minimal tokens. Maximum quality.
265
-
266
- ---
267
-
268
- **Now check memory.md for current project state.**
269
-
270
- ---
271
-
272
- **Telo3 by [Jeet](https://github.com/Jeet1511)** | [Full Docs](https://github.com/Jeet1511/telo3) | [Contribute](https://github.com/Jeet1511/telo3/blob/main/CONTRIBUTING.md)