AU

auth-permission-baseline

Checklist-driven security baseline for managing roles, permissions, and sensitive interface access.

Install

mkdir -p .claude/skills/auth-permission-baseline && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/11384" && unzip -o skill.zip -d .claude/skills/auth-permission-baseline && rm skill.zip

Installs to .claude/skills/auth-permission-baseline

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

建立鉴权与授权基线,防止未授权访问与越权。用于新增账号体系、角色权限、敏感接口上线检查。关键词: authentication, authorization, RBAC, 输入校验, 审计日志.
97 chars · catalog descriptionno explicit “when” trigger
Intermediate

Key capabilities

  • Define identity authentication and token lifecycle.
  • Define the tripartite relationship of roles, resources, and operations.
  • Implement permission assertions before business logic for each interface.
  • Perform input whitelist validation and sensitive log desensitization.
  • Cover tests for unauthenticated access, unauthorized access, and normal access.

How it works

This skill establishes an authentication and authorization baseline by defining identity authentication, token lifecycles, and role-resource-operation relationships. It ensures that permission assertions are in place before business logic and that input validation and log desensitization are performed.

Inputs & outputs

You give it
New login state, token mechanism, role permissions, resource access controls, or sensitive operation interfaces.
You get back
A secure authentication and authorization baseline.

When to use auth-permission-baseline

  • Auditing new authentication systems
  • Checking interface security
  • Validating RBAC implementations

About this skill

Auth Permission Baseline

When to Use This Skill

  • 新增登录态或令牌机制
  • 新增角色权限与资源访问控制
  • 敏感操作接口上线前检查

Prerequisites

  • 已定义角色、资源、操作的基本模型
  • 已明确鉴权组件与日志策略

Step-by-Step Workflows

  1. 定义身份认证和 token 生命周期。
  2. 定义角色、资源、操作三元关系。
  3. 每个接口先写权限断言再写业务逻辑。
  4. 执行输入白名单校验和敏感日志脱敏。
  5. 覆盖未登录、越权、正常访问三类测试。

References

When not to use it

  • When there is no new login state or token mechanism.
  • When there are no new role permissions or resource access controls.
  • When sensitive operation interfaces are not going online.

Prerequisites

已定义角色、资源、操作的基本模型

Limitations

  • Requires a defined basic model for roles, resources, and operations.
  • Requires clear authentication components and logging strategies.

How it compares

This workflow systematically integrates security checks into the development process, unlike a manual approach that might overlook critical authorization steps.

Compared to similar skills

auth-permission-baseline side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
auth-permission-baseline (this skill)01moNo flagsIntermediate
1password272moReviewIntermediate
security-compliance197moReviewAdvanced
information-security-manager-iso27001117moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

1password

openclaw

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.

2799

security-compliance

davila7

Guides security professionals in implementing defense-in-depth security architectures, achieving compliance with industry frameworks (SOC2, ISO27001, GDPR, HIPAA), conducting threat modeling and risk assessments, managing security operations and incident response, and embedding security throughout the SDLC.

1981

information-security-manager-iso27001

davila7

Senior Information Security Manager specializing in ISO 27001 and ISO 27002 implementation for HealthTech and MedTech companies. Provides ISMS implementation, cybersecurity risk assessment, security controls management, and compliance oversight. Use for ISMS design, security risk assessments, control implementation, and ISO 27001 certification activities.

1169

cursor-sso-integration

jeremylongshore

Configure SSO and enterprise authentication in Cursor. Triggers on "cursor sso", "cursor saml", "cursor oauth", "enterprise cursor auth", "cursor okta". Use when working with cursor sso integration functionality. Trigger with phrases like "cursor sso integration", "cursor integration", "cursor".

433

springboot-security

affaan-m

Spring Security best practices for authn/authz, validation, CSRF, secrets, headers, rate limiting, and dependency security in Java Spring Boot services.

529

django-security

affaan-m

Django security best practices, authentication, authorization, CSRF protection, SQL injection prevention, XSS prevention, and secure deployment configurations.

522

Search skills

Search the agent skills registry