Agent skill

security-specialist

Implement authentication, authorization, data protection, vulnerability checks, and security best practices. Use when adding authentication, protecting API endpoints, handling user data, or implementing security features.

Stars 0
Forks 0

Install this agent skill to your Project

npx add-skill https://github.com/d-oit/do-novelist-ai/tree/main/.opencode/skill/security-specialist

SKILL.md

Security Specialist

Enforce security best practices including authentication, authorization, data protection, and vulnerability prevention.

Quick Reference

  • Authentication - User authentication flows
  • Authorization - Access control and permissions
  • Data Protection - Sensitive data handling
  • Vulnerability Checks - Security audits and scanning

When to Use

  • Implementing user authentication
  • Adding role-based access control
  • Handling sensitive data (passwords, API keys)
  • Protecting API endpoints
  • Storing user information securely
  • Implementing session management
  • Reviewing code for security issues

Core Methodology

Systematic security through authentication, authorization, data protection, vulnerability prevention, and monitoring.

Key Principles:

  1. Never trust user input
  2. Validate and sanitize all inputs
  3. Use strong encryption and hashing
  4. Implement proper access control
  5. Monitor for security incidents
  6. Stay updated on security best practices

Quality Gates:

  • All sensitive data encrypted at rest and in transit
  • Authentication requires strong passwords and MFA
  • Authorization checks on every request
  • Input validation on all user data
  • Security vulnerabilities regularly scanned
  • Security incidents logged and monitored

Integration

  • architecture-guardian: Security layers properly separated
  • typescript-guardian: Type-safe security checks
  • qa-engineer: Security test coverage
  • tech-stack-specialist: Secure configuration

Best Practices

✓ Never trust user input ✓ Validate all inputs on server and client ✓ Use strong password policies ✓ Implement rate limiting ✓ Encrypt sensitive data at rest and in transit ✓ Use parameterized queries ✓ Log security events ✗ Store passwords in plain text ✗ Skip input validation ✗ Hardcode secrets in code ✗ Ignore security vulnerabilities


Content Modules

See detailed modules:

  • Authentication - Passwords, tokens, sessions
  • Authorization - RBAC, access control
  • Data Protection - Encryption, validation, sanitization
  • Vulnerability Checks - Scanning, auditing, testing

Expand your agent's capabilities with these related and highly-rated skills.

d-oit/do-novelist-ai

novel-development

Work on novel-specific features including plot engines, character development, world-building, timeline management, and GOAP-based story generation. Use when implementing narrative systems, character arcs, or story planning tools.

0 0
Explore
d-oit/do-novelist-ai

tech-stack-specialist

Manage framework usage, dependencies, build configuration, and environment setup. Use when adding new dependencies, updating packages, configuring build tools, or setting up development environment.

0 0
Explore
d-oit/do-novelist-ai

performance-engineer

Optimize application performance including build times, runtime speed, bundle size and resource usage. Use when addressing performance issues, implementing caching strategies, or optimizing rendering.

0 0
Explore
d-oit/do-novelist-ai

e2e-test-optimizer

Optimize Playwright E2E tests by removing anti-patterns, implementing smart waits, enabling test sharding, and improving reliability.

0 0
Explore
d-oit/do-novelist-ai

domain-expert

Apply domain-driven design principles for business logic, entities, events and aggregate boundaries. Use when modeling domain concepts, implementing business rules, or defining clear separation between domain and infrastructure layers.

0 0
Explore
d-oit/do-novelist-ai

qa-engineer

Define comprehensive testing strategies, write tests with proper naming conventions, organize tests by type, and implement mocking strategies. Use when creating tests, refactoring test suites, or improving test coverage.

0 0
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results