Francisco×Lovable
Lovable Skill for Non-Coders

Role Permission Mapper

Use /role-permission-mapper when you are planning roles, permissions, admin areas, member dashboards, client portals, or restricted features. It helps Lovable define who can view, create, edit, delete, approve, export, invite, and manage each feature. The goal is to prevent admin/member access confusion.

In plain English

This skill helps Lovable follow a safe process for plan user roles and permissions so non-coders can keep building without guessing the next technical step.

The problem

Define who can view, create, edit, delete, approve, export, invite, and manage each feature.

When to use it

  1. You need admin dashboards
  2. You have paid areas
  3. You are building approval workflows
  4. You need different user roles

What this skill checks

  • List all roles
  • Create a permissions matrix
  • Map permissions to routes and UI
  • Consider database permissions

What to avoid

  • Unrelated redesigns
  • Broad rewrites
  • Database changes without a reason
  • Hidden security risks
  • Changing working behaviour without explaining the impact

Skill instructions

Copy this into your Lovable workspace as a saved skill.

SKILL.md
# /role-permission-mapper

Use this skill when planning roles, permissions, admin areas, member dashboards, client portals, or restricted features in a Lovable project.

Before editing:
1. Explain the current problem in plain English.
2. Identify the affected feature, route, component, table, function, or integration.
3. Review recent changes where relevant.
4. Produce a short fix or implementation plan before making changes.

What to check:
- List all roles.
- Create a permissions matrix.
- Map permissions to routes and UI.
- Consider database permissions.

Rules:
- Do not redesign unrelated parts of the app.
- Do not rewrite unrelated components.
- Do not change database schema unless clearly required.
- Do not expose private data or secrets.
- Prefer the smallest safe change.

Implementation:
1. Apply the smallest safe change first.
2. Keep each change narrow and testable.
3. Preserve existing working behaviour.
4. Add or recommend test scenarios.

Final output:
- Problem summary.
- Root cause or best diagnosis.
- Changes applied or recommended.
- Files, routes, tables, functions, or integrations affected.
- Risk level.
- Test checklist.
- Next recommended step.

Example prompt

Prompt
Use /role-permission-mapper to review this issue. Do not make changes yet. First explain the diagnosis, risks, and safest next step.

Expected output

Plain-English diagnosis
Risk level
Files, routes, tables, or integrations affected
Safe fix plan
Test checklist
Next recommended step

Related skills

FAQ

Cite this skill: Opazo, F. (2026). Role Permission Mapper. Frank Opazo Lovable Skills Library. https://www.frankopazo.com/lovable-skills/role-permission-mapper