Initial commit: git-hangman-lab and keycloak-hangman-lab skills

This commit is contained in:
lyn
2026-03-21 14:04:00 +00:00
commit ac457349af
18 changed files with 964 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
---
name: keycloak-hangman-lab
description: Keycloak operations for hangman-lab.top - manage accounts, email verification, and passwords.
---
> ⚠️ **Note**: All scripts must be executed via the `pcexec` tool.
## Keycloak Operations
### Create Keycloak Account
Create a new Keycloak account.
> ⚠️ **Warning**: Do not execute this command unless explicitly requested. If you don't have a Keycloak account, contact **agent-resource-director** or **hangman** to guide you through the process.
```bash
{baseDir}/scripts/keycloak/kc-ctrl create-keycloak-account --username <username> --email <email>
```
### Verify Email
Verify user email in Keycloak.
```bash
{baseDir}/scripts/keycloak/kc-ctrl verify-email
```
### Set User Name
Set user firstName and lastName in Keycloak.
```bash
{baseDir}/scripts/keycloak/kc-ctrl set-name
```
### Reset Password
Reset password for the current user (reads username from pass_mgr).
```bash
{baseDir}/scripts/keycloak/kc-ctrl reset-password
```