kortext 1.0.0 → 2.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.
- package/AGENTS.md +28 -0
- package/README.md +91 -0
- package/agents/backend-developer.md +132 -0
- package/agents/compliance-expert.md +106 -0
- package/agents/copywriter.md +122 -0
- package/agents/db-admin.md +117 -0
- package/agents/delivery-manager.md +121 -0
- package/agents/designer.md +108 -0
- package/agents/devops-engineer.md +141 -0
- package/agents/engineering-manager.md +208 -0
- package/agents/frontend-developer.md +174 -0
- package/agents/growth-expert.md +115 -0
- package/agents/operation-manager.md +122 -0
- package/agents/product-manager.md +114 -0
- package/agents/qa-engineer.md +126 -0
- package/agents/security-engineer.md +119 -0
- package/hooks/audit-logger.sh +25 -0
- package/hooks/auto-locker.sh +74 -0
- package/hooks/auto-unlocker.sh +17 -0
- package/hooks/backlog-sync-guard.sh +12 -0
- package/hooks/branch-guard.sh +32 -0
- package/hooks/commit-msg-guard.sh +43 -0
- package/hooks/git-pre-commit.sh +76 -0
- package/hooks/git-pre-push.sh +17 -0
- package/hooks/handover-guard.sh +33 -0
- package/hooks/kortext-init.sh +194 -0
- package/hooks/kortext-lib.sh +141 -0
- package/hooks/lint-guard.sh +50 -0
- package/hooks/secret-scanner.sh +89 -0
- package/hooks/size-guard.sh +48 -0
- package/hooks/snapshot-guard.sh +39 -0
- package/hooks/write-guard.sh +77 -0
- package/package.json +23 -6
- package/rules/behavior.md +252 -0
- package/rules/branching.md +82 -0
- package/rules/commands.md +112 -0
- package/rules/emergency.md +160 -0
- package/rules/mcp.md +47 -0
- package/rules/models.md +93 -0
- package/scripts/kortext-backlog-add.py +123 -0
- package/scripts/kortext-backlog-health.py +112 -0
- package/scripts/kortext-backlog-sync.py +117 -0
- package/scripts/kortext-bulk-plan.py +63 -0
- package/scripts/kortext-cli.py +295 -0
- package/scripts/kortext-consistency-check.py +74 -0
- package/scripts/kortext-context-check.py +146 -0
- package/scripts/kortext-handover.py +107 -0
- package/scripts/kortext-item-check.py +61 -0
- package/scripts/kortext-item-start.py +70 -0
- package/scripts/kortext-item-transition.py +78 -0
- package/scripts/kortext-lock.py +174 -0
- package/scripts/kortext-session-start.py +127 -0
- package/scripts/lock_kortext.sh +34 -0
- package/settings/.claude-settings.template.json +48 -0
- package/settings/CHANGELOG.md +176 -0
- package/settings/INTEGRATION-MAP.md +276 -0
- package/settings/README.md +255 -0
- package/settings/USER-GUIDE.md +502 -0
- package/settings/VERSION +1 -0
- package/settings/config.md +8 -0
- package/settings/runtime-adapters.md +104 -0
- package/skills/backend-developer/.gitkeep +0 -0
- package/skills/compliance-expert/.gitkeep +0 -0
- package/skills/copywriter/.gitkeep +0 -0
- package/skills/db-admin/.gitkeep +0 -0
- package/skills/delivery-manager/.gitkeep +0 -0
- package/skills/designer/.gitkeep +0 -0
- package/skills/devops-engineer/.gitkeep +0 -0
- package/skills/engineering-manager/.gitkeep +0 -0
- package/skills/frontend-developer/.gitkeep +0 -0
- package/skills/growth-expert/.gitkeep +0 -0
- package/skills/operation-manager/.gitkeep +0 -0
- package/skills/product-manager/.gitkeep +0 -0
- package/skills/qa-engineer/.gitkeep +0 -0
- package/skills/security-engineer/.gitkeep +0 -0
- package/workflows/00-kortext-setup.md +53 -0
- package/workflows/01a-analysis-pipeline.md +117 -0
- package/workflows/01b-onboarding-pipeline.md +110 -0
- package/workflows/02-planning-pipeline.md +146 -0
- package/workflows/02b-spike-workflow.md +120 -0
- package/workflows/03-environment-setup.md +99 -0
- package/workflows/04-development-cycle.md +203 -0
- package/workflows/05-test-cycle.md +123 -0
- package/workflows/06-deployment-cycle.md +224 -0
- package/workflows/07-rollback-pipeline.md +203 -0
- package/workflows/08-hotfix-pipeline.md +196 -0
- package/workflows/09-maintenance-cycle.md +133 -0
- package/workspace/archive/.gitkeep +0 -0
- package/workspace/backups/.gitkeep +0 -0
- package/workspace/memory/backlog/.gitkeep +0 -0
- package/workspace/memory/backlog/BXX-[bug-name].md +2 -0
- package/workspace/memory/backlog/DXX-[debt-name].md +2 -0
- package/workspace/memory/backlog/README.md +31 -0
- package/workspace/memory/backlog/TXX-[task-name].md +2 -0
- package/workspace/memory/backlog/debt-dashboard.md +3 -0
- package/workspace/memory/backlog/epic-dashboard.md +10 -0
- package/workspace/memory/backlog/version-dashboard.md +7 -0
- package/workspace/memory/context/.gitkeep +0 -0
- package/workspace/memory/context/README.md +35 -0
- package/workspace/memory/context/[agent-name]-active.md +2 -0
- package/workspace/memory/decisions.md +17 -0
- package/workspace/memory/handover.md +40 -0
- package/workspace/memory/learned.md +21 -0
- package/workspace/references/access.md +47 -0
- package/workspace/references/api-reference.md +59 -0
- package/workspace/references/blueprint.md +29 -0
- package/workspace/references/content-strategy.md +39 -0
- package/workspace/references/db-schema.md +51 -0
- package/workspace/references/design-system.md +107 -0
- package/workspace/references/dictionary.md +42 -0
- package/workspace/references/file-system.md +42 -0
- package/workspace/references/growth-strategy.md +46 -0
- package/workspace/references/legal-strategy.md +35 -0
- package/workspace/references/required-skills.md +11 -0
- package/workspace/references/security-rules.md +34 -0
- package/workspace/references/tech-stack.md +49 -0
- package/workspace/references/test-strategy.md +48 -0
- package/workspace/reports/analysis-reports.md +40 -0
- package/workspace/reports/content-reports.md +29 -0
- package/workspace/reports/delivery-reports.md +26 -0
- package/workspace/reports/growth-reports.md +9 -0
- package/workspace/reports/legal-reports.md +29 -0
- package/workspace/reports/product-requirements.md +28 -0
- package/workspace/reports/release-notes.md +20 -0
- package/workspace/reports/security-reports.md +27 -0
- package/workspace/reports/status-reports.md +48 -0
- package/workspace/reports/tech-requirements.md +30 -0
- package/workspace/reports/test-reports.md +61 -0
- package/workspace/templates/BXX-[bug-name].md +34 -0
- package/workspace/templates/DXX-[debt-name].md +35 -0
- package/workspace/templates/EXX-[epic-name].md +48 -0
- package/workspace/templates/HXX-[hotfix-name].md +73 -0
- package/workspace/templates/SXX-[spike-name].md +51 -0
- package/workspace/templates/TXX-[task-name].md +34 -0
- package/workspace/templates/[agent-name]-active.md +4 -0
- package/workspace/templates/[original-name]_[YYYY-MM-DD_HHMMSS].md +5 -0
- package/workspace/templates/adr-XXX.md +66 -0
- package/workspace/templates/debt-dashboard.md +10 -0
- package/workspace/templates/epic-dashboard.md +10 -0
- package/workspace/templates/version-dashboard.md +10 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Handover Reports
|
|
2
|
+
|
|
3
|
+
> [!TODO]
|
|
4
|
+
> - Kullanım Kuralı: Yeni kayıtlar dosyanın **en üstüne** eklenir; eski kayıtlar silinmez.
|
|
5
|
+
> - Her görev kapanışında doldurulması zorunludur — handover tamamlanmadan görev Done'a çekilemez.
|
|
6
|
+
> - Oturum başlangıcında bu dosyayı `kortext-session-start.py` ile özetle: `python scripts/kortext-session-start.py`
|
|
7
|
+
|
|
8
|
+
<!-- ŞABLON — kopyala, doldur, bu yorum satırını sil -->
|
|
9
|
+
## Handover: [task-id] — [task-name]
|
|
10
|
+
|
|
11
|
+
> [!INFO]
|
|
12
|
+
> - **Author:** [+ajan]
|
|
13
|
+
> - **To:** [devralan +ajan veya "Yok" — görev Done]
|
|
14
|
+
> - **Date:** [DD.MM.YY-HH:MM]
|
|
15
|
+
> - **Status:** [Tamamlandı / Bloklandı / Kısmen tamamlandı]
|
|
16
|
+
|
|
17
|
+
### ✅ Completed *(zorunlu)*
|
|
18
|
+
|
|
19
|
+
- [Ne yapıldı? Tek cümleyle özetle, gerekirse madde madde.]
|
|
20
|
+
|
|
21
|
+
### Changed Files *(zorunlu)*
|
|
22
|
+
|
|
23
|
+
- `[dosya-yolu]` — [ne değişti]
|
|
24
|
+
|
|
25
|
+
### Kritik Bağlam *(zorunlu — en az 1 madde)*
|
|
26
|
+
|
|
27
|
+
- [Bir sonraki ajanın **mutlaka** bilmesi gereken bilgi. Workaround, kritik bağımlılık, beklenmedik davranış, alınan karar. Boş bırakma — "Yok" yaz.]
|
|
28
|
+
|
|
29
|
+
### Watch-outs & Decisions *(varsa)*
|
|
30
|
+
|
|
31
|
+
- [Kırılgan nokta, teknik borç, ileride sorun çıkabilecek alan. `workspace/memory/decisions.md`'ye referans ver.]
|
|
32
|
+
|
|
33
|
+
### Last Commit *(zorunlu)*
|
|
34
|
+
|
|
35
|
+
- `[commit-hash]` — `[commit-mesajı]`
|
|
36
|
+
|
|
37
|
+
### Next Steps *(zorunlu)*
|
|
38
|
+
|
|
39
|
+
- [Devralan ajan ne yapacak? Yoksa "Yok" yaz — boş bırakma.]
|
|
40
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Knowledge Base
|
|
2
|
+
|
|
3
|
+
## Öğrenim: [Hata/Problem Başlığı veya Konu]
|
|
4
|
+
|
|
5
|
+
**Author:** [+ajan] | **Status:** [Waiting], [`Approved/Rejected` | [YYYY-MM-DD:HH:MM]] | **Approver:** [+ajan]
|
|
6
|
+
|
|
7
|
+
### Problem
|
|
8
|
+
|
|
9
|
+
- [Yaşanan sorunun veya tespit edilen eksikliğin ne olduğu]
|
|
10
|
+
|
|
11
|
+
### Root Cause
|
|
12
|
+
|
|
13
|
+
- [Sorunu oluşturan kök sebep (Örn: Yanlış package versiyonu, eksik config vb.)]
|
|
14
|
+
|
|
15
|
+
### Solution
|
|
16
|
+
|
|
17
|
+
- [Uygulanan çözüm yolu (Çalıştırılan komutlar, güncellenen dosya yolları vb.)]
|
|
18
|
+
|
|
19
|
+
### Prevention
|
|
20
|
+
|
|
21
|
+
- [Bu hatanın bir daha yaşanmaması için projeye dahil edilen kural veya önlemler]
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
status: uninitialized
|
|
3
|
+
owner: +operation-manager
|
|
4
|
+
last_review: 2026-05-17
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Access & Service Configuration
|
|
8
|
+
|
|
9
|
+
> [!INFO]
|
|
10
|
+
> - status: [draft/approved] | [DD.MM.YY-HH:MM]
|
|
11
|
+
> - author: +devops-engineer, +prime
|
|
12
|
+
> - approver: +prime
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Lokal Geliştirme Araçları
|
|
17
|
+
|
|
18
|
+
- [Araç adı] — [kurulum notu]
|
|
19
|
+
- [MCP Sunucu adı] — [kurulum notu]
|
|
20
|
+
|
|
21
|
+
## Versiyon Kontrolü
|
|
22
|
+
|
|
23
|
+
- GitHub Repo: [+prime dolduracak]
|
|
24
|
+
- Organization: [+prime dolduracak]
|
|
25
|
+
|
|
26
|
+
## Hosting & Deployment
|
|
27
|
+
|
|
28
|
+
- Production URL: [+prime dolduracak]
|
|
29
|
+
- Staging URL: [+prime dolduracak]
|
|
30
|
+
- Platform: [Firebase Hosting / Vercel / AWS]
|
|
31
|
+
|
|
32
|
+
## Sunucu Erişimi
|
|
33
|
+
|
|
34
|
+
- SSH Root: [+prime dolduracak]
|
|
35
|
+
- Domain: [+prime dolduracak]
|
|
36
|
+
|
|
37
|
+
## Veritabanı
|
|
38
|
+
|
|
39
|
+
- Provider: [Firebase / Supabase / PostgreSQL]
|
|
40
|
+
- Production Instance: [+prime dolduracak]
|
|
41
|
+
- Staging Instance: [+prime dolduracak]
|
|
42
|
+
|
|
43
|
+
## Diğer Servisler
|
|
44
|
+
|
|
45
|
+
- Analytics: [Google Analytics / Mixpanel]
|
|
46
|
+
- CDN: [Cloudflare]
|
|
47
|
+
- Mail: [SendGrid / Resend]
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
---
|
|
2
|
+
status: uninitialized
|
|
3
|
+
owner: +engineering-manager
|
|
4
|
+
last_review: 2026-05-17
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# API Reference
|
|
8
|
+
|
|
9
|
+
> [!INFO]
|
|
10
|
+
> - status: [draft/approved] | [DD.MM.YY-HH:MM]
|
|
11
|
+
> - author: +engineering-manager
|
|
12
|
+
> - reviewer: +backend-developer
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Authentication
|
|
17
|
+
|
|
18
|
+
- **Type:** [Örn: Bearer Token, OAuth2, API Key]
|
|
19
|
+
- **Headers:**
|
|
20
|
+
|
|
21
|
+
## Base URLs
|
|
22
|
+
|
|
23
|
+
- **Production:** `https://api.example.com/v1`
|
|
24
|
+
- **Staging/Test:** `https://staging-api.example.com/v1`
|
|
25
|
+
|
|
26
|
+
## Endpoints
|
|
27
|
+
|
|
28
|
+
### [Modül Adı / Grup Adı]
|
|
29
|
+
#### `GET /path/to/resource` (Açıklama)
|
|
30
|
+
- **Parameters / Query:**
|
|
31
|
+
- `param` (type): [Açıklama]
|
|
32
|
+
- **Request Body:** (Eğer varsa)
|
|
33
|
+
```json
|
|
34
|
+
{
|
|
35
|
+
"key": "value"
|
|
36
|
+
}
|
|
37
|
+
```
|
|
38
|
+
- **Response Data (Success 2xx):**
|
|
39
|
+
```json
|
|
40
|
+
{
|
|
41
|
+
"data": "value"
|
|
42
|
+
}
|
|
43
|
+
```
|
|
44
|
+
- **Response Data (Error 4xx/5xx):**
|
|
45
|
+
```json
|
|
46
|
+
{
|
|
47
|
+
"error": "Message"
|
|
48
|
+
}
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Error Codes & Formatting
|
|
52
|
+
|
|
53
|
+
- **200:** Success
|
|
54
|
+
- **400:** Bad Request
|
|
55
|
+
- **401:** Unauthorized
|
|
56
|
+
- **403:** Forbidden
|
|
57
|
+
- **404:** Not Found
|
|
58
|
+
- **500:** Internal Server Error
|
|
59
|
+
- vb.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
status: uninitialized
|
|
3
|
+
owner: +prime
|
|
4
|
+
last_review: 2026-05-17
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Product Roadmap & Vision
|
|
8
|
+
|
|
9
|
+
> [!INFO]
|
|
10
|
+
> - status: [draft/approved] | [DD.MM.YY-HH:MM]
|
|
11
|
+
> - author: +prime
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Product Vision & Goals
|
|
16
|
+
|
|
17
|
+
- [Ürünün ana amacı ve vizyonu]
|
|
18
|
+
|
|
19
|
+
## Target Audience & Personas
|
|
20
|
+
|
|
21
|
+
- [Hangi kullanıcı kitlelerine hitap ediliyor?]
|
|
22
|
+
|
|
23
|
+
## Key Performance Indicators (KPIs)
|
|
24
|
+
|
|
25
|
+
- [Başarı kriterleri nelerdir?]
|
|
26
|
+
|
|
27
|
+
## Future Scope & Out of Scope
|
|
28
|
+
|
|
29
|
+
- [Neler kapsam dışında?]
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
---
|
|
2
|
+
status: uninitialized
|
|
3
|
+
owner: +copywriter
|
|
4
|
+
last_review: 2026-05-17
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Content Strategy & Microcopy
|
|
8
|
+
|
|
9
|
+
> [!INFO]
|
|
10
|
+
> - status: [draft/approved] | [DD.MM.YY-HH:MM]
|
|
11
|
+
> - author: +copywriter
|
|
12
|
+
> - approver: +prime
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Brand Voice & Tone
|
|
17
|
+
|
|
18
|
+
- **Tone:** [Örn: Profesyonel, Samimi, Neşeli, Ciddi]
|
|
19
|
+
- **Dos & Don'ts:**
|
|
20
|
+
- **Yap:** [Örn: Kullanıcıyı yönlendirici basit cümleler kur]
|
|
21
|
+
- **Yapma:** [Örn: Aşırı teknik jargona boğma]
|
|
22
|
+
|
|
23
|
+
## Microcopy (UI Interface Texts)
|
|
24
|
+
|
|
25
|
+
- **Primary Buttons:** [Örn: 'Devam Et', 'Kaydet', 'Hemen Başla']
|
|
26
|
+
- **Secondary Buttons:** [Örn: 'İptal', 'Geri Dön']
|
|
27
|
+
- **Empty States:** [Örn: 'Henüz burada kayıt yok, ilk kaydı oluştur!']
|
|
28
|
+
- **Success Messages:** [Örn: 'Başarıyla kaydedildi.']
|
|
29
|
+
|
|
30
|
+
## Error Messages
|
|
31
|
+
|
|
32
|
+
- **Validation Errors:** [Örn: 'Bu alan zorunludur.', 'Geçersiz e-posta formatı.']
|
|
33
|
+
- **Server/System Errors:** [Örn: 'Sunucuya bağlanılamadı, lütfen tekrar deneyin.']
|
|
34
|
+
|
|
35
|
+
## Email & Notification Templates
|
|
36
|
+
|
|
37
|
+
### [Bildirim Türü / Senaryo]
|
|
38
|
+
- **Subject / Başlık:**
|
|
39
|
+
- **Body / İçerik:**
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
---
|
|
2
|
+
status: uninitialized
|
|
3
|
+
owner: +db-admin
|
|
4
|
+
last_review: 2026-05-17
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Database Schema
|
|
8
|
+
|
|
9
|
+
> [!INFO]
|
|
10
|
+
> - status: [draft/approved] | [DD.MM.YY-HH:MM]
|
|
11
|
+
> - author: +db-admin
|
|
12
|
+
> - approver: +engineering-manager
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Database Overview
|
|
17
|
+
|
|
18
|
+
- **Database Engine:** [Örn: PostgreSQL, MongoDB]
|
|
19
|
+
- **ORM / ODM:** [Örn: Prisma, Mongoose]
|
|
20
|
+
- **Migrations Tool:** [Örn: Prisma Migrate, TypeORM]
|
|
21
|
+
|
|
22
|
+
## Conventions & Standards
|
|
23
|
+
|
|
24
|
+
- **Table Naming:** [Örn: snake_case (çoğul)]
|
|
25
|
+
- **Column Naming:** [Örn: snake_case / camelCase]
|
|
26
|
+
- **Primary Keys:** [Örn: UUID / Auto-increment integer]
|
|
27
|
+
- **Timestamps:** `created_at`, `updated_at` (Zorunlu)
|
|
28
|
+
|
|
29
|
+
## Entity-Relationship (ERD) Structure
|
|
30
|
+
|
|
31
|
+
### Table: `[table_name]`
|
|
32
|
+
- **Description:** [Tablonun işlevi]
|
|
33
|
+
- **Columns:**
|
|
34
|
+
- `id` (PK, UUID)
|
|
35
|
+
- `[column_name]` ([type], [nullable/unique]) - [Description]
|
|
36
|
+
- **Relations:**
|
|
37
|
+
- `[FK/Relation]` -> `[Related Table]`
|
|
38
|
+
|
|
39
|
+
### Table: `[table_name_2]`
|
|
40
|
+
- **Description:** [Tablonun işlevi]
|
|
41
|
+
- **Columns:**
|
|
42
|
+
- `id` (PK)
|
|
43
|
+
...
|
|
44
|
+
|
|
45
|
+
## Indexes & Performance Optimizations
|
|
46
|
+
|
|
47
|
+
- **[table_name]:** `[column_name]` (Index Type) -> Nedeni
|
|
48
|
+
|
|
49
|
+
## Security Policies / Row-Level Security
|
|
50
|
+
|
|
51
|
+
- [Örn: RLS Kuralları, Hassas verilerin şifrelenmesi]
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
---
|
|
2
|
+
status: uninitialized
|
|
3
|
+
owner: +designer
|
|
4
|
+
last_review: 2026-05-17
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Design System (Strict & Tokenized Specification)
|
|
8
|
+
|
|
9
|
+
> [!INFO]
|
|
10
|
+
> - status: [draft/approved] | [DD.MM.YY-HH:MM]
|
|
11
|
+
> - author: +designer
|
|
12
|
+
> - reviewer: +frontend-developer
|
|
13
|
+
> - approver: +prime
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Core Tokens (Atomic Values)
|
|
18
|
+
|
|
19
|
+
> [!WARNING] **FE KURALI:**
|
|
20
|
+
> Kod içerisinde ham değer (HEX, px, rem) kullanımı yasaktır. Sadece aşağıdaki değişken isimleri kullanılacaktır.
|
|
21
|
+
|
|
22
|
+
### Color Palette & Functional Mapping
|
|
23
|
+
|
|
24
|
+
| Token Name | HEX / RGB | Usage Context |
|
|
25
|
+
| :--- | :--- | :--- |
|
|
26
|
+
| `--color-bg-main` | `[VALUE]` | Sayfa ana arka planı |
|
|
27
|
+
| `--color-bg-surface` | `[VALUE]` | Kartlar, modallar, section'lar |
|
|
28
|
+
| `--color-text-base` | `[VALUE]` | Standart metin içeriği |
|
|
29
|
+
| `--color-text-muted` | `[VALUE]` | Placeholder, yardımcı metinler |
|
|
30
|
+
| `--color-primary` | `[VALUE]` | Ana butonlar, aktif linkler |
|
|
31
|
+
| `--color-primary-hover`| `[VALUE]` | Hover durumu (Zorunlu) |
|
|
32
|
+
| `--color-border` | `[VALUE]` | Ayırıcı çizgiler ve input border |
|
|
33
|
+
| `--color-success` | `[VALUE]` | Başarı mesajları ve ikonları |
|
|
34
|
+
| `--color-error` | `[VALUE]` | Hata mesajları ve input hata durumu |
|
|
35
|
+
|
|
36
|
+
### Spacing Scale (8px Grid Rule)
|
|
37
|
+
|
|
38
|
+
> [!WARNING] **FE KURALI:**
|
|
39
|
+
> Margin ve Padding değerleri sadece bu skaladan seçilebilir. Ara değer (13px, 7px vb.) kullanımı yasaktır.
|
|
40
|
+
|
|
41
|
+
- `--space-unit`: `8px`
|
|
42
|
+
- `--space-xs`: `4px` (0.5x)
|
|
43
|
+
- `--space-sm`: `8px` (1x)
|
|
44
|
+
- `--space-md`: `16px` (2x)
|
|
45
|
+
- `--space-lg`: `24px` (3x)
|
|
46
|
+
- `--space-xl`: `32px` (4x)
|
|
47
|
+
- `--space-2xl`: `48px` (6x)
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## Typography (The Vertical Rhythm)
|
|
52
|
+
|
|
53
|
+
> [!WARNING] **FE KURALI:**
|
|
54
|
+
> Font-size tek başına yeterli değildir. Line-height ve Weight değerleri her rol için sabittir.
|
|
55
|
+
|
|
56
|
+
| Role | Font-Family | Size (px) | Line-Height | Weight | Letter-Spacing |
|
|
57
|
+
| :--- | :--- | :--- | :--- | :--- | :--- |
|
|
58
|
+
| `H1` | `[Family]` | `40px` | `1.2` | `700` | `-0.02em` |
|
|
59
|
+
| `H2` | `[Family]` | `32px` | `1.2` | `600` | `-0.01em` |
|
|
60
|
+
| `Body` | `[Family]` | `16px` | `1.5` | `400` | `normal` |
|
|
61
|
+
| `Small` | `[Family]` | `12px` | `1.4` | `400` | `0.01em` |
|
|
62
|
+
| `Label` | `[Family]` | `14px` | `1` | `500` | `0.02em` |
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## Layout & Grid (Structural Constraints)
|
|
67
|
+
|
|
68
|
+
| Property | Value | Description |
|
|
69
|
+
| :--- | :--- | :--- |
|
|
70
|
+
| `--container-max` | `1200px` | İçeriğin merkezleneceği maksimum genişlik |
|
|
71
|
+
| `--gutter` | `24px` | Sütunlar arası boşluk |
|
|
72
|
+
| `--screen-sm` | `640px` | Mobile breakpoint |
|
|
73
|
+
| `--screen-md` | `768px` | Tablet breakpoint |
|
|
74
|
+
| `--screen-lg` | `1024px` | Desktop breakpoint |
|
|
75
|
+
| `--safe-area` | `16px` | Mobil cihazlar için minimum kenar boşluğu |
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## UI Components (Strict Atoms)
|
|
80
|
+
|
|
81
|
+
### Buttons
|
|
82
|
+
- **Border-Radius:** `--radius-btn`: `[px]`
|
|
83
|
+
- **Heights:** `Small: 32px`, `Default: 44px`, `Large: 56px`
|
|
84
|
+
- **States (Zorunlu):**
|
|
85
|
+
- *Focus:* `outline: 2px solid --color-primary`, `offset: 2px`
|
|
86
|
+
- *Active:* `transform: scale(0.98)`
|
|
87
|
+
- *Disabled:* `opacity: 0.5`, `cursor: not-allowed`
|
|
88
|
+
|
|
89
|
+
### Inputs
|
|
90
|
+
- **Border:** `1px solid --color-border`
|
|
91
|
+
- **Focus State:** `border-color: --color-primary`, `box-shadow: [Value]`
|
|
92
|
+
- **Border-Radius:** `--radius-input`: `[px]`
|
|
93
|
+
|
|
94
|
+
### Effects & Elevation
|
|
95
|
+
- `--shadow-sm`: `[CSS Box Shadow Value]`
|
|
96
|
+
- `--shadow-md`: `[CSS Box Shadow Value]`
|
|
97
|
+
- `--transition-base`: `all 0.2s ease-in-out`
|
|
98
|
+
|
|
99
|
+
---
|
|
100
|
+
|
|
101
|
+
## Technical Implementation Directives (Red Lines)
|
|
102
|
+
|
|
103
|
+
1. **No Magic Numbers:** Tasarımda tanımlı olmayan her değer reddedilecektir. Yapmadan önce danışın.
|
|
104
|
+
2. **Icon Mapping:** Sadece `[İkon Seti Adı]` kütüphanesi kullanılacaktır. İkon boyutları `16/24/32px` dışında olamaz.
|
|
105
|
+
3. **Variable Injection:** Designer bu dosyayı onayladığında, +frontend-developer tüm değerleri `CSS Variables` veya `Tailwind Config` dosyasına aktaracaktır.
|
|
106
|
+
4. **Consistency:** Tüm "shadow", "blur" ve "transition" değerleri bu dosyada belirtilen CSS kodları dışında yazılamaz.
|
|
107
|
+
5. **Zero Tolerance for Hardcoding:** CSS dosyalarında HEX kodu tespiti kritik hata (Blocker) sayılacaktır.
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
status: uninitialized
|
|
3
|
+
owner: +engineering-manager
|
|
4
|
+
last_review: 2026-05-17
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Coding Dictionary & Standards
|
|
8
|
+
|
|
9
|
+
> [!INFO]
|
|
10
|
+
> - status: [draft/approved] | [DD.MM.YY-HH:MM]
|
|
11
|
+
> - author: +engineering-manager
|
|
12
|
+
> - approver: +prime
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Naming Conventions
|
|
17
|
+
|
|
18
|
+
- **Variables & Functions:** [`camelCase, snake_case`]
|
|
19
|
+
- **Classes & Interfaces:** [`PascalCase`]
|
|
20
|
+
- **Constants:** [`UPPER_SNAKE_CASE`]
|
|
21
|
+
- **Files & Directories:** [`kebab-case`]
|
|
22
|
+
- **Database Tables:** [`snake_case, plural/singular`]
|
|
23
|
+
|
|
24
|
+
## Code Quality & Formatting
|
|
25
|
+
|
|
26
|
+
- **Linter & Formatter:** [Örn: ESLint + Prettier ayarları]
|
|
27
|
+
- **Indent:** [Örn: 2 spaces]
|
|
28
|
+
- **Quote Mark:** [Örn: Single quotes ('')]
|
|
29
|
+
|
|
30
|
+
## Project Terminology (Domain Language)
|
|
31
|
+
|
|
32
|
+
- **[Kullanılan Terim]:** [Açıklama / Bizim uygulamamızdaki anlamı]
|
|
33
|
+
- *Örnek:* **Client:** Uygulamayı kullanan müşteri (User demeyeceğiz).
|
|
34
|
+
- *Örnek:* **Cart:** Alışveriş sepeti (Basket demeyeceğiz).
|
|
35
|
+
|
|
36
|
+
## Commenting & Documentation Rules
|
|
37
|
+
|
|
38
|
+
- [Örn: JSDoc kullanılacak, kodun "ne" yaptığı değil, "neden" yaptığı yorumlanacak]
|
|
39
|
+
|
|
40
|
+
## Error Handling Pattern
|
|
41
|
+
|
|
42
|
+
- [Genel try/catch veya error response fırlatma standartları]
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
status: uninitialized
|
|
3
|
+
owner: +engineering-manager
|
|
4
|
+
last_review: 2026-05-17
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# File System & Architecture
|
|
8
|
+
|
|
9
|
+
> [!INFO]
|
|
10
|
+
> - status: [draft/approved] | [DD.MM.YY-HH:MM]
|
|
11
|
+
> - author: +engineering-manager
|
|
12
|
+
> - approver: +prime
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## High-Level Folder Structure
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
[Project Root]/
|
|
20
|
+
├── src/
|
|
21
|
+
│ ├── components/ → [Açıklama]
|
|
22
|
+
│ ├── pages/ → [Açıklama]
|
|
23
|
+
│ ├── utils/ → [Açıklama]
|
|
24
|
+
│ └── api/ → [Açıklama]
|
|
25
|
+
├── public/ → [Açıklama]
|
|
26
|
+
└── [Config Files] → (package.json, tsconfig.json vb.)
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Directory Rules
|
|
30
|
+
|
|
31
|
+
- [**`/components/`:** Yalnızca tekrar kullanılabilir UI elemanlarını barındırır.]
|
|
32
|
+
- [**`/pages/` veya `/app/`:** Sadece sayfa/route yönetimini barındırır.]
|
|
33
|
+
- [**`/utils/`:** Saf (pure) yardımcı fonksiyonlar bulunur (state içermez).]
|
|
34
|
+
|
|
35
|
+
## Path Aliases
|
|
36
|
+
|
|
37
|
+
- [Örn: `@components/*` -> `src/components/*`]
|
|
38
|
+
- [Örn: `@utils/*` -> `src/utils/*`]
|
|
39
|
+
|
|
40
|
+
## Feature-Based vs Type-Based Structure
|
|
41
|
+
|
|
42
|
+
- [Projenin yapısı (domain-driven, feature-sliced, vb.) hangisine uyacaksa açıklaması]
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
---
|
|
2
|
+
status: uninitialized
|
|
3
|
+
owner: +growth-expert
|
|
4
|
+
last_review: 2026-05-17
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Growth & Analytic Strategy
|
|
8
|
+
|
|
9
|
+
> [!INFO]
|
|
10
|
+
> - status: [draft/approved] | [DD.MM.YY-HH:MM]
|
|
11
|
+
> - author: +growth-expert
|
|
12
|
+
> - approver: +prime
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Analytics Goals & Metrics
|
|
17
|
+
|
|
18
|
+
- **Kuzey Yıldızı Metriği (North Star):** [Temel başarı ölçütü, örn: Aktif İşlem Yapan Kullanıcı]
|
|
19
|
+
- **Birincil Hedefler:** [Örn: %10 dönüşüm oranı, Günlük 5K MAU]
|
|
20
|
+
|
|
21
|
+
## Tracking Setup & Tools
|
|
22
|
+
|
|
23
|
+
- **Analitik Araçları:** [Örn: Google Analytics 4, Mixpanel, Amplitude]
|
|
24
|
+
- **Tag Yönetimi:** [Örn: Google Tag Manager (GTM)]
|
|
25
|
+
- **Hata Takibi:** [Örn: Sentry, Datadog]
|
|
26
|
+
|
|
27
|
+
## Key Events to Track (Event Taxonomy)
|
|
28
|
+
|
|
29
|
+
[Tüm olaylar (events) aşağıdaki örnek gibi isimlendirme kurallarına (Örn: `Object_Action`) uymalıdır.]
|
|
30
|
+
[- `user_signed_up`: Kullanıcı başarılı kayıt olduğunda (**Parameters:** method, tier)]
|
|
31
|
+
[- `purchase_completed`: Kullanıcı ödeme yaptığında (**Parameters:** amount, currency)]
|
|
32
|
+
[- `[event_name]`: [Tetiklenme durumu ve parametreleri]]
|
|
33
|
+
|
|
34
|
+
## SEO & ASO Strategy
|
|
35
|
+
|
|
36
|
+
- **On-Page SEO:** [H1 etiketleri, meta description kuralları, schema.org yapısı]
|
|
37
|
+
- **URL Structure:** [Örn: /kategori/urun-adi (Kebab-case, SEO friendly)]
|
|
38
|
+
- **Sitemap & Robots.txt:** [Oluşturulma ve endeksleme politikası]
|
|
39
|
+
|
|
40
|
+
## User Acquisition & Funnel
|
|
41
|
+
|
|
42
|
+
- [A/B Test planları, funnel aşamaları (Acquisition, Activation, Retention...)]
|
|
43
|
+
|
|
44
|
+
## Epics & Tasks
|
|
45
|
+
|
|
46
|
+
[`workspace/memory/backlog/` altındaki düz backlog yapısına eklenecek Epic ve görev listesi (ölçümleme araçlarının entegrasyonu, eventlerin eklenmesi, SEO/GEO için yapılması gerekenler vb.)]
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
status: uninitialized
|
|
3
|
+
owner: +compliance-expert
|
|
4
|
+
last_review: 2026-05-17
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Legal & Compliance Strategy
|
|
8
|
+
|
|
9
|
+
> [!INFO]
|
|
10
|
+
> - status: [draft/approved] | [DD.MM.YY-HH:MM]
|
|
11
|
+
> - author: +compliance-expert
|
|
12
|
+
> - approver: +prime
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Compliance Scope
|
|
17
|
+
|
|
18
|
+
[Projenin kapsamına göre uyum hedefleri (KVKK, GDPR, CCPA vb.)]
|
|
19
|
+
|
|
20
|
+
## Identified Risks (Risk Analizi)
|
|
21
|
+
|
|
22
|
+
- [Risk durumu - Örn: Kullanıcının konum bilgisinin açık tutulması]
|
|
23
|
+
|
|
24
|
+
## Required Approvals & Consents
|
|
25
|
+
|
|
26
|
+
- [Örn: Kayıt olurken Gizlilik Sözleşmesi Onayı (Zorunlu)]
|
|
27
|
+
- [Çerez Yönetimi (Cookie Policy) nasıl kurgulanacak?]
|
|
28
|
+
|
|
29
|
+
## Technical Integration Requests
|
|
30
|
+
|
|
31
|
+
- [Örn: Veritabanındaki `password` ve `tc_no` alanları mutlaka Hash'lenmeli.]
|
|
32
|
+
|
|
33
|
+
## Epics & Tasks
|
|
34
|
+
|
|
35
|
+
[`workspace/memory/backlog/` altındaki düz backlog yapısına eklenecek Epic ve görev listesi]
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
status: uninitialized
|
|
3
|
+
owner: +operation-manager
|
|
4
|
+
last_review: 2026-05-17
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
| **AJAN** | **AJAN** | **AJAN** | **AJAN** |
|
|
8
|
+
| :---: | :---: | :---: |:---:|
|
|
9
|
+
| [skill] | [skill] | [skill] | [skill] |
|
|
10
|
+
| [skill] | [skill] | [skill] | [skill] |
|
|
11
|
+
| [skill] | [skill] | [skill] | [skill] |
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
---
|
|
2
|
+
status: uninitialized
|
|
3
|
+
owner: +security-engineer
|
|
4
|
+
last_review: 2026-05-17
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Security Rules
|
|
8
|
+
|
|
9
|
+
> [!INFO]
|
|
10
|
+
> - status: [draft/approved] | [DD.MM.YY-HH:MM]
|
|
11
|
+
> - author: +security-engineer
|
|
12
|
+
> - approver: +engineering-manager
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Security Overview
|
|
17
|
+
|
|
18
|
+
- [Projenin kullanacağı tech stack raporu özeti ve bulguları]
|
|
19
|
+
- [Dikka edilmesi gereken konular]
|
|
20
|
+
|
|
21
|
+
## Vulnerability Findings
|
|
22
|
+
|
|
23
|
+
| Risk Level | Finding | Description | Recommendation |
|
|
24
|
+
|---|---|---|---|
|
|
25
|
+
| [High/Med] | [Örn: XSS açığı] | [Hangi dosyada, nasıl oluşuyor] | [Çözüm önerisi] |
|
|
26
|
+
| [Low] | [Örn: Outdated package] | [Eski kütüphane] | [Update npm package] |
|
|
27
|
+
|
|
28
|
+
## Action Plan
|
|
29
|
+
|
|
30
|
+
- [Bulgular doğrultusunda analiz aşamasında yapılması gerekenler]
|
|
31
|
+
|
|
32
|
+
## Security Rules
|
|
33
|
+
|
|
34
|
+
- [Proje genelinde uyulacak olan güvenlik kuralları]
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
status: uninitialized
|
|
3
|
+
owner: +engineering-manager
|
|
4
|
+
last_review: 2026-05-17
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Tech Stack & Infrastructure
|
|
8
|
+
|
|
9
|
+
> [!INFO]
|
|
10
|
+
> - status: [draft/approved] | [DD.MM.YY-HH:MM]
|
|
11
|
+
> - author: +engineering-manager
|
|
12
|
+
> - approver: +prime
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Core Technologies
|
|
17
|
+
|
|
18
|
+
- **Frontend:** [Dil, Framework, Sürüm — Örn: TypeScript, React 18, Next.js 14, Kotlin, SwiftUI]
|
|
19
|
+
- **Backend:** [Dil, Framework, Sürüm — Örn: Node.js 20, NestJS]
|
|
20
|
+
- **Database:** [Veritabanı, Sürüm — Örn: PostgreSQL 16, Redis]
|
|
21
|
+
|
|
22
|
+
## Architecture Pattern
|
|
23
|
+
|
|
24
|
+
- [Örn: Mikroservis mi, Monolit mi, Serverless mı? Hangi dizayn (MVC vb) kullanılacak?]
|
|
25
|
+
|
|
26
|
+
## Tooling & Prerequisites
|
|
27
|
+
|
|
28
|
+
- **Package Manager:** [Örn: npm, yarn, pnpm]
|
|
29
|
+
- **Environment:** [Örn: Docker Desktop, Node v20+]
|
|
30
|
+
- **Testing:** [Örn: Jest, Cypress, Playwright]
|
|
31
|
+
- **Tools:** [Örn: Postman, Antigravity vb.]
|
|
32
|
+
- **MPC's:** [Örn: Vercel MCP, Firebase MCP]
|
|
33
|
+
|
|
34
|
+
## Infrastructure & Deployment (CI/CD)
|
|
35
|
+
|
|
36
|
+
- **Cloud Provider:** [Örn: AWS, Vercel, Google Cloud]
|
|
37
|
+
- **CI/CD Platform:** [Örn: GitHub Actions, GitLab CI]
|
|
38
|
+
- **Containerization:** [Örn: Docker]
|
|
39
|
+
|
|
40
|
+
## Third-Party Services & Integrations
|
|
41
|
+
|
|
42
|
+
- **Auth:** [Örn: Firebase, NextAuth, Auth0]
|
|
43
|
+
- **Payments:** [Örn: Stripe, Iyzico]
|
|
44
|
+
- **Storage/CDN:** [Örn: AWS S3, Cloudflare]
|
|
45
|
+
|
|
46
|
+
## Security & Policies
|
|
47
|
+
|
|
48
|
+
- [Hassas verilerin nasıl saklanacağı, özel gitignore kuralları vb.]
|
|
49
|
+
- [Güvenlik Kuralları: `workspace/references/security-rules.md`]
|