Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Create Test User?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/sebastianluser-create-test-user)
---
name: create-test-user
description: "Creates a test user in the project: anonymous, authenticated or admin. Uses seed scripts, admin endpoints, or direct inserts."
category: "testing"
argument-hint: "[user-type: anonymous | student | admin]"
user-invocable: true
allowed-tools: Read, Glob, Grep, Bash
---
# Skill: create-test-user
## Trigger
When the user says "create test user", "seed a test user", "test user", or similar.
## Workflow
1. Ask what type of user is needed:
- Anonymous (no auth)
- Authenticated student
- Admin / instructor
2. Check the project for existing seed scripts or user creation endpoints:
- Look in `db/seeds/`, `db/local/`, or test fixtures
- Check for admin API endpoints
- Check for database insert scripts
3. Create the user using the appropriate method:
- Direct database insert
- API endpoint call
- Seed script execution
4. Return the user credentials and any relevant tokens
## Notes
- Never create users in production databases
- Use clearly identifiable test data (e.g., email: test@example.com)
- Document any test users created so they can be cleaned up later