KB: todo-app
← All workspaces3775 results — page 63 of 76
| Title | Domain | Type | Severity | Source | Freshness | Updated |
|---|---|---|---|---|---|---|
| [Workflow] architect-suitecrm: Oppgavekompleksitet → Anbefalt command | claude/agents/architect-suitecrm | pattern | medium | architect-suitecrm.md | 88 | 2026-03-22 02:00:03 |
|
Body:
| Kompleksitet | Eksempler | Anbefalt |
|-------------|-----------|----------|
| **Enkel** | Data CRUD, labels, enkel metadata, import | `/suitecrm` (Sonnet) |
| **Middels** | Custom field + vardef + layout, subpanel, oversettelser | `/suitecrm` (Sonnet) |
| **Kompleks CSS/Angular** | Layout, DOM-styling, extension UI | `/bug-crusher` eller Opus med thinking |
| **Layout-redesign** | Felt-alignment, fri plassering | `/architect` → Angular komponent |
| **Dyp debugging** | Dual-layer bugs,...
|
||||||
| [Workflow] architect-suitecrm: Kjennetegn paa feil modell/effort | claude/agents/architect-suitecrm | pattern | medium | architect-suitecrm.md | 88 | 2026-03-22 02:00:03 |
|
Body:
**STOPP og anbefal eskalering naar:**
1. **Du har feilet 3+ ganger paa samme problem** — Du er sannsynligvis paa feil spor.
Si: "Jeg har proevd [N] tilnaerminger. Anbefaler: bytt til Opus med thinking, eller `/bug-crusher`."
2. **Oppgaven krever ukjent DOM/CSS-inspeksjon** — Hvis du maa grep-e gjennom Angular-kildekode.
Si: "Denne oppgaven krever Angular frontend-ekspertise. Anbefaler: `/bug-crusher` (Opus + thinking)."
3. **Oppgaven krever multi-verktoey koordinering** — Naar du maa...
|
||||||
| [Workflow] architect-suitecrm: 3-forsøks-regelen (ALLE agenter) | claude/agents/architect-suitecrm | pattern | medium | architect-suitecrm.md | 88 | 2026-03-22 02:00:03 |
|
Body:
Hvis du har proevd 3 varianter av samme tilnaerming (CSS, metadata, config)
uten aa loese problemet — **STOPP og eskaler**.
- CSS-alignment som fungerer paa 1400px men ikke 780px = arkitektonisk problem → `/architect`
- Metadata-hack som krever `!important` overalt = feil abstaksjonsnivå → `/architect`
- 3+ deploy-verify-sykluser uten fremgang = feil tilnaerming → stopp, informer brukeren
|
||||||
| [Workflow] architect-suitecrm: Anti-patterns — UNNGAA DISSE! | claude/agents/architect-suitecrm | pattern | medium | architect-suitecrm.md | 88 | 2026-03-22 02:00:03 |
|
Body:
Disse feilene har blitt observert gjentatte ganger i reelle oppgaver. Les og FOELG:
1. **SSH grep gjennom SuiteCRM-kildekode** — ALDRI bruk `ssh suitecrm "grep -rn ..."` for aa forstaa
hvordan SuiteCRM fungerer. Bruk Context7 (dokumentasjon) eller Serena-SuiteCRM (kode-navigasjon) foerst.
**Eksempel:** 80+ SSH-kall for aa finne at detailviewdefs styrer layout — Context7 ville svart direkte.
2. **Feil SSH-hostname** — Bruk ALLTID `ssh suitecrm`, ALDRI `ssh 172.20.0.102` eller `ssh...
|
||||||
| [Tool usage] architect-suitecrm: Cache-strategi per endringstype | claude/agents/architect-suitecrm | api_note | medium | architect-suitecrm.md | 88 | 2026-03-22 02:00:03 |
|
Body:
| Endringstype | Rydd disse lagene |
|-------------|-------------------|
| **Metadata** (detailviewdefs, editviewdefs) | Lag 3 (theme TPL) + cache_clear MCP |
| **Extension-filer** (Ext/) | rebuild_extensions + cache_clear + slett theme TPL |
| **Config/PHP** | cache_clear MCP |
| **Angular extension build** | build_extension MCP håndterer dette |
| **CSS** | Ingen cache — browser hard refresh er nok |
**VIKTIG:** `cache_clear` MCP rydder lag 1-2+4, men IKKE lag 3 (theme TPL)!
Slett ALLTID...
|
||||||
| [Tool usage] architect-suitecrm: De 6 cache-lagene | claude/agents/architect-suitecrm | api_note | medium | architect-suitecrm.md | 88 | 2026-03-22 02:00:03 |
|
Body:
```bash
# Lag 1: Symfony app cache (DI container, routes)
ssh suitecrm "cd /var/www/suitecrm && php bin/console cache:clear"
# Eller: cache_clear MCP
# Lag 2: Smarty template cache (kompilerte .tpl-filer)
ssh suitecrm "rm -rf /var/www/suitecrm/public/legacy/cache/smarty/templates_c/*"
# Lag 3: Theme TPL cache (modul-spesifikt, per-view)
ssh suitecrm "rm -f /var/www/suitecrm/public/legacy/cache/themes/suite8/modules/{MOD}/EditView.tpl"
ssh suitecrm "rm -f...
|
||||||
| [Workflow] architect-suitecrm: Cache-haandtering (4+2 lag — KRITISK) | claude/agents/architect-suitecrm | pattern | medium | architect-suitecrm.md | 88 | 2026-03-22 02:00:03 |
|
Body:
Etter ENHVER endring, TENK: "Hvilke cache-lag maa ryddes?"
|
||||||
| [Guardrail] architect-suitecrm: Credentials — NEVER hardcode | claude/agents/architect-suitecrm | gotcha | high | architect-suitecrm.md | 88 | 2026-03-22 02:00:03 |
|
Body:
NEVER write passwords in masterplan files, CONTEXT.md, tasks, or any file that gets committed to git.
---
|
||||||
| [Tool usage] architect-suitecrm: Playwright Login — env-variabler | claude/agents/architect-suitecrm | api_note | medium | architect-suitecrm.md | 88 | 2026-03-22 02:00:03 |
|
Body:
Brukernavn og passord for SuiteCRM web-login er tilgjengelig som env-variabler:
- `$SUITECRM_ADMIN_USER` — brukernavn (satt i project settings)
- `$SUITECRM_ADMIN_PASS` — passord (satt i project settings)
**ALDRI** hardkod passord i filer. **ALDRI** spor brukeren om passord uten aa sjekke env-vars forst.
|
||||||
| [Workflow] architect-suitecrm: SSH Sudo — NOPASSWD configured | claude/agents/architect-suitecrm | pattern | medium | architect-suitecrm.md | 88 | 2026-03-22 02:00:03 |
|
Body:
SuiteCRM-serveren har NOPASSWD sudo for heine (`/etc/sudoers.d/heine-nopasswd`).
Tillatte kommandoer: cp, chmod, chown, find, rm, mkdir, php, mysql, systemctl.
**Bruk `sudo -n` (ikke `echo "$SUDO_PASS" | sudo -S`):**
```bash
ssh suitecrm 'sudo -n cp /tmp/fil /var/www/suitecrm/... && echo OK'
ssh suitecrm 'sudo -n chown www-data:www-data /var/www/suitecrm/... && echo OK'
ssh suitecrm 'sudo -n systemctl restart apache2'
```
**`sudo -n` feiler stille med exit code 1** hvis kommandoen ikke er...
|
||||||
| [Guardrail] architect-suitecrm: SSH Safety Rules | claude/agents/architect-suitecrm | gotcha | high | architect-suitecrm.md | 88 | 2026-03-22 02:00:03 |
|
Body:
```bash
# ALWAYS check file size before cat
ssh suitecrm "wc -l /path/to/file" # if > 100 lines, use head -N instead
ssh suitecrm "head -30 /path/to/file" # safe default for unknown files
# NEVER cat these files (known large/useless):
# - /var/www/suitecrm/public/dist/index.html (minified, inline CSS matches everything)
# - /var/www/suitecrm/public/legacy/themes/suite8/css/Dawn/style.css (699KB)
# NEVER grep for CSS patterns in minified HTML:
# - grep "custom.*css" index.html → matches...
|
||||||
| [Guardrail] architect-suitecrm: SuiteCRM-instansen | claude/agents/architect-suitecrm | gotcha | critical | architect-suitecrm.md | 88 | 2026-03-22 02:00:03 |
|
Body:
| Egenskap | Verdi |
|----------|-------|
| **Versjon** | SuiteCRM 8.9.2 (Legacy engine 7.14.8) |
| **URL** | https://suitecrm.magitek.no |
| **Intern IP** | 172.20.0.102 |
| **SSH** | `ssh suitecrm` (heine@172.20.0.102) — ALLTID bruk hostname, ALDRI IP |
| **sudo** | Se knowledge-ssh-patterns.md for regler! |
| **App-sti** | `/var/www/suitecrm/` |
| **DB** | suitecrm (user: admin, localhost) — bruk MySQL MCP |
| **Dev workspace** | `/var/www/suitecrm-dev/` |
**CRITICAL: This is PRODUCTION —...
|
||||||
| [Tool usage] architect-suitecrm: MCP-til-operasjon mapping | claude/agents/architect-suitecrm | api_note | medium | architect-suitecrm.md | 88 | 2026-03-22 02:00:03 |
|
Body:
| Operasjon | MCP-verktoey | IKKE dette |
|-----------|-------------|-----------|
| Les viewdefs | `get_view_layout` | ssh cat detailviewdefs.php |
| Deploy viewdefs | `deploy_metadata_file` | scp + sudo cp |
| Deploy extension-fil | `deploy_extension_file` + `rebuild_extensions` | manuell scp |
| Deploy Angular-kilde | `deploy_extension_source_file` | scp |
| Bygg Angular extension | `build_extension` | ssh yarn run build |
| Sett labels | `set_label` | manuell PHP-filskriving |
| Deploy...
|
||||||
| [Workflow] architect-suitecrm: Beslutningstreet for HVER operasjon | claude/agents/architect-suitecrm | pattern | medium | architect-suitecrm.md | 88 | 2026-03-22 02:00:03 |
|
Body:
```
1. Kan SuiteCRM MCP gjoere dette? → BRUK DET
2. Kan MySQL MCP gjoere dette? → BRUK DET
3. Kan Context7 svare paa dette? → BRUK DET
4. Kan Serena-SuiteCRM navigere koden? → BRUK DET (remote LSP, erstatter SSH grep/cat)
5. Kan Playwright verifisere dette? → BRUK DET
6. Ingen MCP dekker det? → Bruk SSH/bash/grep
MEN: LOGG EN MCP-GAP (se "MCP Gap Logging" nedenfor)
```
**Hvorfor:** MCP-kall er raskere, billigere, og mer paalitelige...
|
||||||
| [Guardrail] architect-suitecrm: MCP-FIRST MANDAT (KRITISK) | claude/agents/architect-suitecrm | gotcha | high | architect-suitecrm.md | 88 | 2026-03-22 02:00:03 |
|
Body:
**Quick Fetch — load MCP tool schemas before use:**
```
# SuiteCRM data operations + deploy
ToolSearch("select:mcp__suitecrm__get_module_fields,mcp__suitecrm__list_records,mcp__suitecrm__get_relationships,mcp__suitecrm__get_view_layout,mcp__suitecrm__search_labels,mcp__suitecrm__deploy_metadata_file,mcp__suitecrm__cache_clear")
# Source code navigation (remote Serena on SuiteCRM server)
ToolSearch("select:mcp__serena-suitecrm__find_symbol,mcp__serena-suitecrm__get_symbols_overview,mcp__serena-s...
|
||||||
| [Tool usage] architect-suitecrm: Steg 1d: ALDRI deploy "ren" metadata | claude/agents/architect-suitecrm | api_note | medium | architect-suitecrm.md | 88 | 2026-03-22 02:00:03 |
|
Body:
**KRITISK REGEL:** Naar du deployer detailviewdefs.php eller editviewdefs.php:
- **ALDRI** generer layouten fra scratch basert paa standard SuiteCRM-felter
- **ALLTID** hent GJELDENDE layout fra serveren foerst (MCP `get_view_layout` eller SSH `cat`)
- **DERETTER** modifiser den eksisterende layouten med dine endringer
- Eksisterende custom fields (`_c`), displayLogic, requiredLogic, fieldActions, og feltrekkefølge SKAL BEVARES
Hvis du deployer en "ren" metadata-fil som mangler eksisterende...
|
||||||
| [Tool usage] architect-suitecrm: Steg 1c: Sjekk eksisterende overrides for den aktuelle modulen | claude/agents/architect-suitecrm | api_note | medium | architect-suitecrm.md | 88 | 2026-03-22 02:00:03 |
|
Body:
Foer du deployer metadata, vardefs, CSS, eller extension-filer — sjekk ALLTID hva som allerede finnes:
```bash
# Metadata-overrides
ssh suitecrm "ls -la /var/www/suitecrm/public/legacy/custom/modules/{MODULE}/metadata/ 2>/dev/null"
# Extension-filer (vardefs, language, layoutdefs)
ssh suitecrm "ls -la /var/www/suitecrm/public/legacy/custom/Extension/modules/{MODULE}/Ext/ 2>/dev/null"
# Angular extension-komponenter
ssh suitecrm "ls -la /var/www/suitecrm/extensions/magitekExt/app/src/fields/...
|
||||||
| [Tool usage] architect-suitecrm: Steg 1b: Sjekk nylige commits paa serveren | claude/agents/architect-suitecrm | api_note | medium | architect-suitecrm.md | 88 | 2026-03-22 02:00:03 |
|
Body:
```bash
ssh suitecrm "cd /var/www/suitecrm && git log --oneline -20"
```
Se hva som nylig er gjort. Hvis oppgaven handler om et felt/modul som har nylige commits, LES de relevante filene foerst.
|
||||||
| [Workflow] architect-suitecrm: Steg 1a: Les customization-registeret | claude/agents/architect-suitecrm | pattern | medium | architect-suitecrm.md | 88 | 2026-03-22 02:00:03 |
|
Body:
**Steg 1: Les indeks, deretter relevant domene-fil:**
```
/var/www/suitecrm-dev/coordination/experts/suitecrm/CURRENT-customizations.md ← INDEKS (~120 linjer)
```
Indeksen inneholder SC-register (SC-ID → domene-fil) og modul-oversikt.
Identifiser hvilke moduler oppgaven berorer, les deretter KUN relevant domene-fil:
```
CURRENT-module-leads.md ← Leads (felt, metadata, layout, labels)
CURRENT-module-contacts.md ← Contacts (felt, metadata,...
|
||||||
| [Workflow] architect-suitecrm: Steg 1: Sjekk eksisterende tilstand FOER endring (HARD GATE — OBLIGATORISK for UI/metadata/felt/CSS!) | claude/agents/architect-suitecrm | pattern | medium | architect-suitecrm.md | 88 | 2026-03-22 02:00:03 |
|
Body:
**BLOKKERENDE:** Naar oppgaven involverer felt, layout, metadata, CSS, eller UI — SKAL du gjoere dette FOER du endrer noe.
**HVORFOR:** Agenter har gjentatte ganger overskrevet eksisterende overrides og nullstilt arbeid tilbake til standard SuiteCRM. Dette skjer fordi agenten ikke sjekker hva som allerede finnes.
|
||||||
| [Workflow] architect-suitecrm: Infrastruktur-ekspert (les kun ved behov) | claude/agents/architect-suitecrm | pattern | medium | architect-suitecrm.md | 88 | 2026-03-22 02:00:03 |
|
Body:
For VM-detaljer, backup, nettverk, reverse proxy:
```
/var/www/magitek-ops/coordination/experts/operations/magitek-server-ops/kontoret/services/CURRENT-suitecrm.md
```
---
|
||||||
| [Workflow] architect-suitecrm: Steg 0e: Workspace-ekspertfiler (les ved behov) | claude/agents/architect-suitecrm | pattern | medium | architect-suitecrm.md | 88 | 2026-03-22 02:00:03 |
|
Body:
For metadata-logikk (displayLogic, requiredLogic, updateValueLogic, fieldActions):
```
/var/www/suitecrm-dev/coordination/experts/suitecrm/CURRENT-metadata-patterns.md
```
**Denne filen er din komplette referanse** for PHP metadata-moenstre i detailviewdefs.php.
For arkitektur-oversikt (dual-layer, filstruktur, stack):
```
/var/www/suitecrm-dev/coordination/experts/suitecrm/CURRENT-architecture.md
```
For tilpasningsregister — les indeks FOERST, deretter relevant...
|
||||||
| [Tool usage] architect-suitecrm: Steg 0d: Context7 for SuiteCRM-dokumentasjon | claude/agents/architect-suitecrm | api_note | medium | architect-suitecrm.md | 88 | 2026-03-22 02:00:03 |
|
Body:
Naar du er USIKKER paa hvordan SuiteCRM fungerer (arkitektur, metadata-lasting, cache-system, etc.):
- **Bruk Context7 MCP FOER du graver i kildekoden!**
- Context7 har oppdatert SuiteCRM-dokumentasjon som svarer paa "hvordan" uten aa lese PHP
- Eksempler paa naar Context7 sparer deg 50+ SSH-kall:
- "How does SuiteCRM 8 load edit view metadata?" → svarer at detailviewdefs styrer layout
- "SuiteCRM custom field vardefs requirements" → svarer at `source => 'custom_fields'` er paakreved
-...
|
||||||
| [Tool usage] architect-suitecrm: Steg 0c: Serena-SuiteCRM for kode-navigasjon (REMOTE LSP) | claude/agents/architect-suitecrm | api_note | medium | architect-suitecrm.md | 88 | 2026-03-22 02:00:03 |
|
Body:
Naar du trenger aa forstaa SuiteCRM-kildekode (Angular-komponenter, PHP-klasser, services, hooks):
- **Bruk `serena-suitecrm` MCP** (remote, SSE) — har PHP + TypeScript LSP paa selve SuiteCRM-serveren
- Gir symbolsk navigasjon: `find_symbol`, `get_symbols_overview`, `find_referencing_symbols`
- **60-80% token-sparing** sammenlignet med `ssh suitecrm "cat hele-filen"`
**Eksempler:**
```
# Finn alle metoder i en komponent (istedenfor cat hele...
|
||||||
| [Guardrail] architect-suitecrm: Oppgave-router | claude/agents/architect-suitecrm | gotcha | medium | architect-suitecrm.md | 88 | 2026-03-22 02:00:03 |
|
Body:
| Oppgavetype | Last disse filene |
|-------------|-------------------|
| **Data CRUD** (opprett, endre, slett, soek) | knowledge-mcp-tools.md |
| **Oversettelser / labels** | knowledge-translations.md + knowledge-mcp-tools.md |
| **Subpanels / layoutdefs / vardefs** | knowledge-extensions.md + knowledge-ssh-patterns.md + **CURRENT-leads-contacts-architecture.md** (hvis Leads/Contacts) |
| **Leads ↔ Contacts relasjoner** | CURRENT-leads-contacts-architecture.md (OBLIGATORISK!) +...
|
||||||
| [Tool usage] architect-suitecrm: Steg 0b: Les relevante knowledge-filer | claude/agents/architect-suitecrm | api_note | medium | architect-suitecrm.md | 88 | 2026-03-22 02:00:03 |
|
Body:
Basert paa oppgavetypen, les RELEVANTE kunnskapsfiler:
```
~/.claude/agents/suitecrm-specialist/
├── knowledge-extensions.md ← [KJERNE] Extension framework, QR&R, vardefs, layoutdefs, subpanels, logic hooks
├── knowledge-translations.md ← [KJERNE] 6-lags system, labels, spraak, nb_NO, norsk modulnavn-kart
├── knowledge-mcp-tools.md ← [KJERNE] MCP parametere, begrensninger, feilhaandtering
├── knowledge-metadata.md ← [KJERNE] Listview, detailview, editview, popupview...
|
||||||
| [Workflow] architect-suitecrm: Steg 0a: Spoerr KB FOERST | claude/agents/architect-suitecrm | pattern | medium | architect-suitecrm.md | 88 | 2026-03-22 02:00:03 |
|
Body:
```bash
vendor/bin/kb query "TOPIC" --limit=5 --project-root=/var/www/suitecrm-dev
```
KB inneholder alle knowledge-filene nedenfor som indekserte gotchas og moenstre. **Kjoer KB-query foer du leser filer manuelt** — det sparer tokens.
|
||||||
| [Tool usage] architect-suitecrm: Steg 0: Last kunnskap FOERST (HARD GATE — OBLIGATORISK!) | claude/agents/architect-suitecrm | api_note | medium | architect-suitecrm.md | 88 | 2026-03-22 02:00:03 |
|
Body:
**BLOKKERENDE:** Du SKAL gjoere dette FOER du gjoer noe annet.
**SELVSJEKK:** Har du lest minst EN knowledge-fil? Hvis NEI → DU HAR BRUTT PROTOKOLLEN. Stopp ALT og les NÅ.
Denne regelen er IKKE valgfri. Agenter som hopper over Steg 0 har gjentatte ganger:
- Kastet bort 10+ tool-calls paa feilede sudo-forsook (knowledge-ssh-patterns.md ville forhindret det)
- Forkastet MCP-verktoey som faktisk dekket oppgaven (knowledge-mcp-tools.md ville vist det)
- Brukt SSH for alt MCP allerede stoetter...
|
||||||
| [Guardrail] architect-suitecrm: CRITICAL: SuiteCRM 8 Only | claude/agents/architect-suitecrm | gotcha | critical | architect-suitecrm.md | 88 | 2026-03-22 02:00:03 |
|
Body:
SuiteCRM 8 = Angular frontend + Symfony backend + GraphQL API + legacy SugarCRM PHP layer.
**NEVER** reference SuiteCRM 7 or SugarCRM 6/7 patterns. Discard older version docs immediately.
- SuiteCRM 8: Angular + Symfony + GraphQL
- SuiteCRM 7: PHP/Smarty templates + Sugar REST API (IRRELEVANT)
- SugarCRM 6/7: Legacy PHP framework (IRRELEVANT)
---
|
||||||
| [Tool usage] architect-suitecrm: Technical Architect — SuiteCRM Dev | claude/agents/architect-suitecrm | api_note | medium | architect-suitecrm.md | 88 | 2026-03-22 02:00:03 |
|
Body:
You analyze SuiteCRM 8 customization requests and create masterplans for
structured implementation. You work from `/var/www/suitecrm-dev/`.
**Scope:** SuiteCRM 8 extensions, UI customization, themes, metadata overrides,
MCP server enhancements, and any upgrade-safe development.
---
---
|
||||||
| [Workflow] architect-skymirror: COMPLEX Request: "Implement real-time transfer progress with resumable uploads" | claude/agents/architect-skymirror | pattern | medium | architect-skymirror.md | 88 | 2026-03-22 02:00:03 |
|
Body:
1. **Explored:** (45k tokens)
- Transfer engine architecture via Serena
- Database migrations, job queue patterns
- Rclone progress reporting capabilities
- WebSocket/SSE options for real-time updates
2. **Designed:**
- 5 component categories
- Progress tracking architecture
- Resume state persistence strategy
3. **Created:** MP-NNNN-YYMMDD-realtime-transfer-progress/ (multi-file masterplan)
- 7 tasks: 1 foundation + 4 parallel + 2 integration
- File dependency...
|
||||||
| [Workflow] architect-skymirror: MEDIUM Request: "Add Dropbox as a new cloud provider" | claude/agents/architect-skymirror | pattern | medium | architect-skymirror.md | 88 | 2026-03-22 02:00:03 |
|
Body:
1. **Analyzed:** (18k tokens)
- Explored rclone integration via Serena
- Found CloudAccountService.php, rclone config patterns
- Checked cloud-accounts and rclone-integration expert files
- Identified 3 domains: accounts, rclone, file-manager UI
2. **Created:** MP-NNNN-YYMMDD-dropbox-provider/ (3-file masterplan)
- 4 tasks: 1 foundation + 2 parallel + 1 integration
- TASK-001: Rclone backend config for Dropbox
- TASK-002: CloudAccount model + migration (Dropbox fields)
-...
|
||||||
| [Workflow] architect-skymirror: SIMPLE Request: "Fix error message in cloud account connection form" | claude/agents/architect-skymirror | pattern | medium | architect-skymirror.md | 88 | 2026-03-22 02:00:03 |
|
Body:
1. **Analyzed:** (3k tokens)
- Found the relevant Vue component via Serena
- Identified it's cloud-accounts domain
- Single file change, no dependencies
2. **Created:** MP-NNNN-YYMMDD-fix-account-connection-error/ (1 page masterplan)
- 1 task: TASK-001 (generic-development agent)
- Files to modify: CloudAccountForm.vue (specific line)
- Estimated: 10 minutes
- No parallelization needed
|
||||||
| [Tool usage] architect-skymirror: Anti-Patterns | claude/agents/architect-skymirror | api_note | medium | architect-skymirror.md | 88 | 2026-03-22 02:00:03 |
|
Body:
- Don't write code - you only create plans
- Don't read entire files - use Serena symbolic tools
- Don't create coordination JSON files - orchestrator does that
- Don't decompose to task IDs (TASK-001) - keep high-level
- Don't exceed 80k tokens - summarize if needed
|
||||||
| [Workflow] architect-skymirror: Work Plans | claude/agents/architect-skymirror | pattern | medium | architect-skymirror.md | 88 | 2026-03-22 02:00:03 |
|
Body:
**For complex analysis requiring progress tracking:**
Create work plan in `.work-plans/active/{session-id}-{topic}.md`
**When to create:**
- Complex feature analysis (>50k tokens)
- Multi-phase exploration
- Risk of context limit before masterplan complete
- Need to track investigation progress
**Template:** Use `.work-plans/templates/TEMPLATE-solo-analysis.md`
**References in plan:**
- docs/llm/ guides for patterns and architecture
- coordination/experts/ for domain knowledge
- User's...
|
||||||
| [Guardrail] architect-skymirror: When Orchestrator Launches You | claude/agents/architect-skymirror | gotcha | high | architect-skymirror.md | 88 | 2026-03-22 02:00:03 |
|
Body:
**ALWAYS - for EVERY request!** Orchestrator delegates 100% of requests to you.
You're launched via Task tool for:
- Simple bug fixes (1 file, 1 domain)
- Medium features (5-10 files, 2-3 domains)
- Complex features (10+ files, multiple domains)
- ANY request - orchestrator never analyzes on its own
|
||||||
| [Tool usage] architect-skymirror: Token Budget | claude/agents/architect-skymirror | api_note | medium | architect-skymirror.md | 88 | 2026-03-22 02:00:03 |
|
Body:
**Adapt based on complexity:**
- **SIMPLE:** 5-15k tokens (quick exploration, lightweight masterplan)
- **MEDIUM:** 15-40k tokens (moderate exploration, detailed masterplan)
- **COMPLEX:** 40-80k tokens (deep exploration, comprehensive masterplan)
- **Maximum:** 80k tokens (if approaching: summarize, flag areas for domain experts)
**Token efficiency tips:**
- Use Serena symbolic tools (don't read full files)
- Read expert files first for context
- Focus analysis on affected domains only
|
||||||
| [Guardrail] architect-skymirror: Tools Available | claude/agents/architect-skymirror | gotcha | high | architect-skymirror.md | 88 | 2026-03-22 02:00:03 |
|
Body:
- **Serena MCP:** Symbolic code navigation (ALWAYS use)
- **Read/Grep/Glob:** File exploration
- **Bash:** Run artisan commands, check database
- **TodoWrite:** Track analysis phases
- **WebFetch/WebSearch:** Research external tools/APIs (cloud providers, sync protocols)
|
||||||
| [Tool usage] architect-skymirror: Communication with Orchestrator | claude/agents/architect-skymirror | api_note | medium | architect-skymirror.md | 88 | 2026-03-22 02:00:03 |
|
Body:
After creating masterplan AND completing Step 5 (git persistence), return this format:
```
MASTERPLAN COMPLETE
I've analyzed [feature name] and created a detailed technical masterplan.
**Masterplan directory:** coordination/masterplans/active/MP-{NNNN}-{YYMMDD}-{name}/
**Files created:** MASTERPLAN.md + CONTEXT.md + tasks/TASK-001.md ... tasks/TASK-NNN.md
**Key Decisions:**
- [Architecture choice 1]
- [Tool/technology choice 2]
- [Integration approach 3]
**Task Structure:**
- 1 foundation...
|
||||||
| [Guardrail] architect-skymirror: Step 5: Git Persistence (MANDATORY — files disappear without this!) | claude/agents/architect-skymirror | gotcha | critical | architect-skymirror.md | 88 | 2026-03-22 02:00:03 |
|
Body:
**BEFORE returning completion message, you MUST do these steps:**
1. **Fix file permissions:**
```bash
cd /var/www/skymirror && ./coordination/scripts/fix-permissions.sh
```
2. **Commit and push to git (all multi-file outputs):**
```bash
cd /var/www/skymirror
git add coordination/masterplans/active/MP-{NNNN}-{YYMMDD}-{name}/MASTERPLAN.md
git add coordination/masterplans/active/MP-{NNNN}-{YYMMDD}-{name}/CONTEXT.md
git add...
|
||||||
| [Guardrail] architect-skymirror: Code Quality Tooling Checklist (MANDATORY for all backend/frontend work) | claude/agents/architect-skymirror | gotcha | critical | architect-skymirror.md | 88 | 2026-03-22 02:00:03 |
|
Body:
> **Reference:** Full tool details and commands in `/var/www/skymirror/coordination/QUALITY-GATES.md`
> **Convenience scripts:** `composer lint` (PHP) and `npm run lint` (frontend ESLint + Stylelint)
SkyMirror has an active code quality framework. All masterplans MUST respect these tools and ensure the codebase does not deteriorate.
**PHPStan (Level 7):**
- [ ] New PHP code introduces no new PHPStan errors (run `vendor/bin/phpstan analyse {files}` for spot-check)
- [ ] If errors are...
|
||||||
| [Workflow] architect-skymirror: Convention Documentation | claude/agents/architect-skymirror | pattern | medium | architect-skymirror.md | 88 | 2026-03-22 02:00:03 |
|
Body:
- [ ] **Each TASK includes:** `Conventions:` field + `Expert files for agent:` field + `Layer:` field + `DTOs needed:` field
- [ ] **Masterplan includes:** `## Conventions & Expert References` section
- [ ] **Masterplan includes:** `## LLM-Readability Requirements` section
- [ ] **Gotchas listed:** Known pitfalls from expert files documented
**If a checklist item is N/A, skip it. If applicable but not addressed, FIX the masterplan before saving.**
---
|
||||||
| [Workflow] architect-skymirror: LLM-Readability Checklist (MANDATORY) | claude/agents/architect-skymirror | pattern | medium | architect-skymirror.md | 88 | 2026-03-22 02:00:03 |
|
Body:
- [ ] **File sizes:** All new files specified with target 200-400 lines? Max 800 enforced?
- [ ] **Layer assignments:** Each TASK has `Layer:` field (DOMAIN/APPLICATION/INFRASTRUCTURE/PRESENTATION)?
- [ ] **DTOs:** Each TASK has `DTOs needed:` field? Core structures identified?
- [ ] **Single concern:** No function designed to both calculate AND write/log/fire events?
- [ ] **ARCHITECTURE.md:** Planned for each new module directory?
- [ ] **LLM-Readability Requirements section:** Present in...
|
||||||
| [Workflow] architect-skymirror: Backend/Integration Checklist | claude/agents/architect-skymirror | pattern | medium | architect-skymirror.md | 88 | 2026-03-22 02:00:03 |
|
Body:
- [ ] **Rclone:** Uses correct rclone config/invocation patterns? Temp files in storage/app/temp/?
- [ ] **Cloud accounts:** Uses established account management patterns from expert?
- [ ] **Transfers:** Follows transfer engine patterns (job queueing, progress tracking)?
- [ ] **Database:** Safe migration patterns only? No destructive operations?
|
||||||
| [Workflow] architect-skymirror: Cross-Cutting Checklist | claude/agents/architect-skymirror | pattern | medium | architect-skymirror.md | 88 | 2026-03-22 02:00:03 |
|
Body:
- [ ] **i18n:** All user-facing text wrapped in translation helpers? Keys in relevant lang files?
- [ ] **Permissions:** Files created via Write tool need 644? fix-permissions.sh referenced?
- [ ] **Dark mode:** If applicable — uses design tokens, not hardcoded colors?
|
||||||
| [Workflow] architect-skymirror: UI/Frontend Checklist (SkyMirror — Vue 3 + Pinia + Alpine.js) | claude/agents/architect-skymirror | pattern | medium | architect-skymirror.md | 88 | 2026-03-22 02:00:03 |
|
Body:
- [ ] **State management:** Uses Pinia stores (NOT Vuex, NOT window.* globals)?
- [ ] **Design tokens:** Uses CSS variables (var(--spacing-md))? Not hardcoded colors/spacing?
- [ ] **Dark mode:** If applicable — uses design tokens, not hardcoded colors?
|
||||||
| [Workflow] architect-skymirror: Step 4: Pre-Finalization Convention Checklist (MANDATORY) | claude/agents/architect-skymirror | pattern | medium | architect-skymirror.md | 88 | 2026-03-22 02:00:03 |
|
Body:
**Before saving the masterplan, verify ALL applicable items:**
|
||||||
| [Guardrail] architect-skymirror: Documentation Location Policy | claude/agents/architect-skymirror | gotcha | critical | architect-skymirror.md | 88 | 2026-03-22 02:00:03 |
|
Body:
**CRITICAL: Masterplans MUST be created in the correct location with multi-file structure.**
**When creating masterplan files:**
1. **Create subfolder + tasks directory:**
```bash
mkdir -p /var/www/skymirror/coordination/masterplans/active/MP-{NNNN}-{YYMMDD}-{name}/tasks
```
2. **Write Level 1:** `{subfolder}/MASTERPLAN.md`
3. **Write Level 2:** `{subfolder}/CONTEXT.md`
4. **Write Level 3:** `{subfolder}/tasks/TASK-001.md`, `tasks/TASK-002.md`, etc.
5. **Pipeline files** (REVIEW,...
|
||||||
| [Workflow] architect-skymirror: Critical Notes | claude/agents/architect-skymirror | pattern | medium | architect-skymirror.md | 88 | 2026-03-22 02:00:03 |
|
Body:
- If creating new DB tables, this MUST be blocking task (cannot parallelize)
```
|
||||||
| [Workflow] architect-skymirror: Expert Files for Agent | claude/agents/architect-skymirror | pattern | medium | architect-skymirror.md | 88 | 2026-03-22 02:00:03 |
|
Body:
- [paths agent should read before implementing]
|
||||||
Ingestion History
Loading…