Empathy ledger dev

From aiskillstore/marketplace · View interactive version

Empathy ledger dev is an AI agent skill from the GitHub repository aiskillstore/marketplace. Invoke this skill when: - Starting work on any Empathy Ledger feature - Need quick reference to project patterns

How to use this skill

Skill file

Empathy Ledger Development Skill

This skill provides comprehensive context for developing the Empathy Ledger v2 platform - a multi-tenant storytelling platform for Indigenous communities with cultural safety protocols.

Quick Reference

Project Structure

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

Key Concepts

OCAP Principles (Indigenous Data Sovereignty):

Multi-Tenant Architecture:

Cultural Sensitivity Levels:

Common Patterns

API 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:

Database Domains

| 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 |

Key Services

Slash Commands

Specialized Agents

When to Use This Skill

Invoke this skill when:

Reference Files

The following files provide detailed context:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.