agentleFS
Agentic-Engineering-AgencyAgentic-Engineering-Agency/agentforge/.agents/skills/convex-auth-setup/SKILL.md

convex-auth-setup

Skill4 starsChanged 9 months agoApache-2.0Archived repositoryView on GitHub

Set up Convex authentication, user mapping, authorization, and custom function wrappers for data protection.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use this skill when the task involves auth providers, users tables, getCurrentUser helpers, access control, or multi-tenant data protection.

    line 12
  2. Distinctive:

    Verify both authentication and authorization in public functions.

    line 18
  3. Distinctive:

    Prefer custom function wrappers for repeated access-control behavior.

    line 19
  4. Distinctive:

    Keep auth in Convex focused on data access, identity mapping, and encrypted key storage where applicable.

    line 23
  5. Distinctive:

    Do not treat Convex auth as a place to run Mastra or general agent orchestration.

    line 24
  6. Distinctive:

    Read auth-patterns.md for helper patterns and data-protection wrappers.

    line 28

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Convex Auth Setup

Use this skill when the task involves auth providers, users tables, getCurrentUser helpers, access control, or multi-tenant data protection.

Default approach

  • Map auth identity to an application user record.
  • Centralize auth helpers instead of repeating lookup logic everywhere.
  • Verify both authentication and authorization in public functions.
  • Prefer custom function wrappers for repeated access-control behavior.

AgentForge-specific guidance

  • Keep auth in Convex focused on data access, identity mapping, and encrypted key storage where applicable.
  • Do not treat Convex auth as a place to run Mastra or general agent orchestration.

References

  • Read auth-patterns.md for helper patterns and data-protection wrappers.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.