You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .opencode/learnings/registry.md
+15-1Lines changed: 15 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ All captured learnings from the AI Diamond Chain are registered here.
15
15
16
16
```markdown
17
17
## [Date] - [Learning Title]
18
+
18
19
-**Type:** skill/agent/workflow/reference
19
20
-**Source:** Which diamond/event produced this
20
21
-**Summary:** 1-2 sentence description
@@ -25,6 +26,7 @@ All captured learnings from the AI Diamond Chain are registered here.
25
26
---
26
27
27
28
## 2026-04-17 - Continuous Learning System
29
+
28
30
-**Type:** skill
29
31
-**Source:** User request to create learning rules
30
32
-**Summary:** Created continuous-learning skill and supporting docs to ensure all learnings are captured, condensed for reuse, and documented for long-term reference
@@ -34,6 +36,7 @@ All captured learnings from the AI Diamond Chain are registered here.
34
36
---
35
37
36
38
## 2026-04-17 - Tmux Automation Skill
39
+
37
40
-**Type:** skill
38
41
-**Source:** User request for tmux skill for detached session control
39
42
-**Summary:** Created tmux-automation skill with commands for creating detached sessions, sending keys programmatically, capturing output, and session management
@@ -43,8 +46,19 @@ All captured learnings from the AI Diamond Chain are registered here.
-**Source:** Implementation Diamond - Custom theme creation for PodCodar brand
48
52
-**Summary:** Learned DaisyUI v5's new `@plugin "daisyui/theme"` syntax with OKLCH color format, created light/dark theme pair with PodCodar brand colors (tech blues + warm amber accents), disabled default themes for clean implementation
## 2026-04-26 - i18n Text Convention: No Hardcoded Strings
59
+
60
+
-**Type:** skill/agent/workflow
61
+
-**Source:** Refactoring transparency layout to /about, /join-us, /contact — discovered massive duplication of hardcoded strings across pages
62
+
-**Summary:** Established mandatory convention: ALL user-visible text in `.astro` templates must use the i18n system (`t()`). Updated `astro-i18n` skill with text convention rule, updated `frontend-engineer` and `code-reviewer` agents to enforce it, and documented in `AGENTS.md`. Data-driven content from `src/data/*.ts` files (member names, metric values, etc.) is exempted.
Copy file name to clipboardExpand all lines: AGENTS.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -163,6 +163,8 @@ This squad uses 9 specialized agents:
163
163
-**Configured in**: `astro.config.ts`
164
164
-**Skill available**: `astro-i18n` for adding English support
165
165
- Default locale does not use URL prefix (`prefixDefaultLocale: false`)
166
+
-**Convention**: ALL user-visible text in `.astro` templates must go through the i18n system (`t()`). Hardcoded strings are not allowed. See the `astro-i18n` skill for the full rule.
167
+
-**How**: Import `useTranslations` from `@/i18n/utils`, call `t('key')`. Add keys to `src/i18n/ui.ts` under the relevant page namespace (e.g., `about.hero.title`).
0 commit comments