Invoke this skill when: - Starting work on any Empathy Ledger feature - Need quick reference to project patterns
This skill provides comprehensive context for developing the Empathy Ledger v2 platform - a multi-tenant storytelling platform for Indigenous communities with cultural safety protocols.
src/
├── app/ # Next.js 15 App Router
│ ├── api/ # API routes
│ ├── vault/ # Story Vault dashboard
│ └── stories/ # Story pages
├── components/ # React components
│ ├── ui/ # shadcn/ui base
│ ├── vault/ # Story Vault components
│ └── cultural/ # Cultural protocol UI
├── lib/ # Utilities and services
│ ├── services/ # Business logic services
│ ├── hooks/ # React hooks
│ └── ai/ # AI integration
└── types/ # TypeScript types
└── database/ # Supabase types by domain
OCAP Principles (Indigenous Data Sovereignty):
Multi-Tenant Architecture:
tenant_id for isolationCultural Sensitivity Levels:
standard - General sharing allowedmedium - Community context requiredhigh - Elder review recommendedsacred - Elder approval mandatory, no external sharingAPI Route Authentication:
const supabase = createRouteHandlerClient({ cookies })
const { data: { user }, error } = await supabase.auth.getUser()
if (error || !user) {
return NextResponse.json({ error: 'Unauthorized' }, { status: 401 })
}
Story Ownership Check:
const isOwner = story.author_id === user.id || story.storyteller_id === user.id
Cultural Color Palette:
clay-* - Primary, storyteller elementssage-* - Community, elder approvalsky-* - Organization, trustember-* - Warnings, sensitivity| Domain | File | Contents |
|--------|------|----------|
| User/Profile | user-profile.ts | Profiles, preferences |
| Organization | organization-tenant.ts | Tenants, memberships |
| Projects | project-management.ts | Projects, milestones |
| Content | content-media.ts | Stories, media |
| Cultural | cultural-protocols.ts | Sensitivity, approvals |
| Legal | consent-legal.ts | Consent, GDPR |
| Story Ownership | story-ownership.ts | Distributions, embeds |
EmbedService - Manage story embeds with domain restrictionsDistributionService - Track external sharesRevocationService - Cascade revocationGDPRService - Anonymization, data exportAuditService - Action logging/design-component [description] - Create React component/database-migration [description] - Create Supabase migration/review-cultural [code/feature] - Cultural sensitivity review/review-security [code/endpoint] - Security audit/generate-e2e-test [feature] - Create Playwright test/api-endpoint [description] - Create API routefrontend-designer - UI/UX with cultural designdatabase-architect - Supabase/PostgreSQLcultural-reviewer - OCAP compliancesecurity-auditor - GDPR and securitytesting-automation - Playwright E2EInvoke this skill when:
The following files provide detailed context:
CLAUDE.md - Project instructions.claude/agents/*.md - Specialized agent prompts.claude/commands/*.md - Slash command definitionssrc/types/database/ - Database type definitionsnpx skills add aiskillstore/empathy-ledger-dev下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer