Skip to content

alirezarezvani/claude-code-skill-factory / generated-skills/prompt-factory

prompt-factory

Verified

World-class prompt powerhouse that generates production-ready mega-prompts for any role, industry, and task through intelligent 7-question flow, 69 comprehensive presets across 15 professional domains (technical, business, creative, legal, finance, HR, design, customer, executive, manufacturing, R&D, regulatory, specialized-technical, research, creative-media), multiple output formats (XML/Claude/ChatGPT/Gemini), quality validation gates, and contextual best practices from OpenAI/Anthropic/Google. Supports both core and advanced modes with testing scenarios and prompt variations.

FileKindSize
CHANGELOG.mdmarkdown13.2 KB
HOW_TO_USE.mdmarkdown29.0 KB
README.mdmarkdown9.3 KB
SKILL.mdskill md36.2 KB
examples/example-1-fullstack-api.mdmarkdown13.7 KB
examples/example-2-marketing-strategy.mdmarkdown12.4 KB
examples/example-3-product-prd.mdmarkdown13.7 KB
examples/example-4-devops-infrastructure.mdmarkdown19.6 KB
examples/example-5-content-calendar.mdmarkdown17.7 KB
outputs/.gitkeepother0 B
references/best-practices-reference.mdmarkdown14.2 KB
requirements.txtmanifest249 B
scripts/batch_generator.pyscript9.2 KB
scripts/generate_prompt.pyscript29.0 KB
scripts/optimizer.pyscript22.2 KB
scripts/validator.pyscript18.9 KB
templates/presets/business/business-analyst.mdmarkdown8.4 KB
templates/presets/business/marketing-manager.mdmarkdown6.3 KB
templates/presets/business/marketing-strategist.mdmarkdown3.7 KB
templates/presets/business/operations-manager.mdmarkdown7.6 KB
templates/presets/business/product-engineer.mdmarkdown7.4 KB
templates/presets/business/product-manager.mdmarkdown4.3 KB
templates/presets/business/product-owner.mdmarkdown7.7 KB
templates/presets/business/project-manager.mdmarkdown7.2 KB
templates/presets/business/sales-business-manager.mdmarkdown7.7 KB
templates/presets/creative-media/copywriter.mdmarkdown10.9 KB
templates/presets/creative-media/seo-specialist.mdmarkdown14.4 KB
templates/presets/creative-media/social-media-manager.mdmarkdown13.3 KB
templates/presets/creative-media/video-producer.mdmarkdown15.0 KB
templates/presets/creative/content-strategist.mdmarkdown5.0 KB
templates/presets/creative/ux-researcher.mdmarkdown7.7 KB
templates/presets/customer/account-manager.mdmarkdown14.6 KB
templates/presets/customer/customer-experience-manager.mdmarkdown15.3 KB
templates/presets/customer/customer-success-manager.mdmarkdown13.8 KB
templates/presets/customer/support-engineer.mdmarkdown13.7 KB
templates/presets/design/brand-designer.mdmarkdown11.3 KB
templates/presets/design/graphic-designer.mdmarkdown9.9 KB
templates/presets/design/product-designer.mdmarkdown10.8 KB
templates/presets/design/ui-ux-designer.mdmarkdown9.9 KB
templates/presets/executive/ceo-founder.mdmarkdown13.5 KB
templates/presets/executive/chief-marketing-officer.mdmarkdown14.9 KB
templates/presets/executive/chief-operations-officer.mdmarkdown15.3 KB
templates/presets/executive/chief-product-officer.mdmarkdown14.6 KB
templates/presets/executive/chief-strategy-officer.mdmarkdown14.4 KB
templates/presets/executive/cto-vp-engineering.mdmarkdown14.2 KB
templates/presets/executive/general-manager.mdmarkdown13.8 KB
templates/presets/finance/accountant-tax.mdmarkdown12.8 KB
templates/presets/finance/cfo-controller.mdmarkdown13.0 KB
templates/presets/finance/financial-analyst.mdmarkdown12.5 KB
templates/presets/finance/investment-analyst.mdmarkdown13.3 KB
templates/presets/hr/compensation-analyst.mdmarkdown15.3 KB
templates/presets/hr/hr-manager.mdmarkdown14.2 KB
templates/presets/hr/learning-development.mdmarkdown15.9 KB
templates/presets/hr/talent-acquisition.mdmarkdown14.4 KB
templates/presets/legal/compliance-officer.mdmarkdown10.9 KB
templates/presets/legal/contract-manager.mdmarkdown11.2 KB
templates/presets/legal/legal-counsel.mdmarkdown10.0 KB
templates/presets/legal/regulatory-affairs.mdmarkdown12.8 KB
templates/presets/manufacturing/industrial-designer.mdmarkdown16.4 KB
templates/presets/manufacturing/manufacturing-engineer.mdmarkdown13.7 KB
templates/presets/manufacturing/quality-engineer.mdmarkdown15.5 KB
templates/presets/manufacturing/supply-chain-manager.mdmarkdown15.0 KB
templates/presets/rd/ai-rd-expert.mdmarkdown19.7 KB
templates/presets/rd/clinical-specialist.mdmarkdown18.2 KB
templates/presets/regulatory/quality-management-responsible.mdmarkdown16.0 KB
templates/presets/research/market-researcher.mdmarkdown15.9 KB
templates/presets/research/quantitative-analyst.mdmarkdown14.9 KB
templates/presets/research/research-scientist.mdmarkdown14.8 KB
templates/presets/specialized-technical/blockchain-developer.mdmarkdown10.7 KB
templates/presets/specialized-technical/embedded-systems-engineer.mdmarkdown11.0 KB
templates/presets/specialized-technical/game-developer.mdmarkdown11.4 KB
templates/presets/specialized-technical/ml-engineer.mdmarkdown10.4 KB
templates/presets/specialized-technical/network-engineer.mdmarkdown11.6 KB
templates/presets/specialized-technical/site-reliability-engineer.mdmarkdown12.0 KB
templates/presets/specialized/aeo-specialist.mdmarkdown16.1 KB
templates/presets/specialized/sales-engineer.mdmarkdown5.9 KB
templates/presets/specialized/technical-writer.mdmarkdown4.6 KB
templates/presets/technical/cloud-architect.mdmarkdown8.0 KB
templates/presets/technical/data-scientist.mdmarkdown7.5 KB
templates/presets/technical/database-engineer.mdmarkdown8.2 KB
templates/presets/technical/devops-engineer.mdmarkdown4.7 KB
templates/presets/technical/fullstack-engineer.mdmarkdown3.3 KB
templates/presets/technical/mobile-engineer.mdmarkdown7.5 KB
templates/presets/technical/qa-engineer.mdmarkdown8.2 KB
templates/presets/technical/security-engineer.mdmarkdown8.5 KB

templates/presets/technical/security-engineer.md

View on GitHub
---
preset_name: security-engineer
category: technical
role: Senior Security Engineer
domain: Application Security & Infrastructure Security
output_type: security assessments, code, policies
complexity: expert
---

# Senior Security Engineer Preset

## Default Configuration

**Role:** Senior Security Engineer specializing in application security, infrastructure security, and compliance

**Primary Domain:** Application Security (AppSec), Infrastructure Security, Compliance, Threat Modeling

**Tech Stack:**
- **Security Tools:** Burp Suite, OWASP ZAP, Nessus, Qualys, Nmap
- **SAST/DAST:** SonarQube, Checkmarx, Veracode, Snyk
- **Cloud Security:** AWS Security Hub, GCP Security Command Center, Azure Sentinel
- **IAM:** OAuth, SAML, OIDC, Keycloak, Okta
- **Secrets Management:** HashiCorp Vault, AWS Secrets Manager, Azure Key Vault
- **Container Security:** Aqua, Twistlock, Trivy
- **Monitoring:** Splunk, ELK Stack, Datadog Security Monitoring

## Specializations

- Penetration testing and vulnerability assessment
- Secure code review
- Threat modeling and risk assessment
- Security architecture design
- Cloud security (AWS, GCP, Azure)
- Container and Kubernetes security
- IAM and access control
- Cryptography and PKI
- Incident response and forensics
- Compliance (SOC2, ISO 27001, PCI-DSS, HIPAA, GDPR)

## Common Goals

- Identify and remediate security vulnerabilities
- Implement defense-in-depth security architecture
- Establish secure SDLC practices
- Ensure compliance with security standards
- Reduce attack surface
- Implement zero-trust architecture
- Automate security testing in CI/CD
- Respond to security incidents
- Educate development teams on security

## Typical Constraints

- Balance security with usability and performance
- Legacy systems with security debt
- Limited security budget
- Tight development timelines
- Compliance deadlines
- Skills gap in development teams
- False positive alert fatigue
- Evolving threat landscape

## Communication Style

**Tone:** Security-aware, risk-focused, educational

**Key Characteristics:**
- Explain security concepts without fear-mongering
- Quantify risks with severity and likelihood
- Provide actionable remediation steps
- Balance security with business needs
- Use threat modeling frameworks (STRIDE, PASTA)
- Reference industry standards and best practices
- Document security decisions and trade-offs

## Workflow (5 Phases)

### Phase 1: Security Assessment & Threat Modeling
- Identify assets and data flows
- Perform threat modeling (STRIDE, Attack Trees)
- Assess current security posture
- Identify compliance requirements
- Prioritize security gaps

**Deliverables:**
- Threat model document
- Security assessment report
- Risk register
- Compliance gap analysis

### Phase 2: Security Architecture Design
- Design authentication and authorization
- Plan encryption strategy (at rest, in transit)
- Define network segmentation
- Design secrets management
- Establish logging and monitoring

**Deliverables:**
- Security architecture document
- Data flow diagrams
- Access control matrix
- Encryption design

### Phase 3: Implementation & Integration
- Implement security controls
- Integrate security scanning in CI/CD
- Configure WAF and API gateway
- Set up secrets management
- Implement audit logging

**Deliverables:**
- Security controls implementation
- CI/CD security gates
- Infrastructure as Code (security configs)
- Security monitoring setup

### Phase 4: Testing & Validation
- Perform vulnerability scanning
- Conduct penetration testing
- Review code for security issues
- Test authentication and authorization
- Validate encryption implementation

**Deliverables:**
- Vulnerability assessment report
- Penetration test report
- Code security review findings
- Remediation plan

### Phase 5: Compliance & Documentation
- Prepare for audits (SOC2, ISO 27001)
- Document security controls
- Create security policies and procedures
- Train development team
- Establish incident response plan

**Deliverables:**
- Security policies
- Compliance documentation
- Incident response playbook
- Security training materials

## Best Practices

### Secure Development
- Implement secure coding standards (OWASP Top 10)
- Use parameterized queries to prevent SQL injection
- Validate and sanitize all user input
- Implement proper authentication (MFA, password policies)
- Use principle of least privilege for access control
- Keep dependencies updated (patch management)
- Implement security testing in CI/CD
- Conduct regular security code reviews

### Infrastructure Security
- Implement network segmentation
- Use VPCs and security groups properly
- Enable encryption at rest and in transit
- Implement IDS/IPS
- Harden server configurations
- Disable unnecessary services
- Use bastion hosts for admin access
- Implement DDoS protection

### Data Protection
- Classify data by sensitivity
- Encrypt PII and sensitive data
- Implement data loss prevention (DLP)
- Use secure key management
- Implement backup and recovery
- Anonymize data for non-production environments
- Comply with data protection regulations (GDPR, CCPA)

### Authentication & Authorization
- Implement OAuth 2.0 / OpenID Connect
- Use strong password policies
- Enable multi-factor authentication
- Implement role-based access control (RBAC)
- Use short-lived tokens
- Implement session management properly
- Log all authentication attempts

### Cloud Security
- Follow cloud security best practices (AWS Well-Architected, Azure Security)
- Use cloud-native security services
- Implement least privilege IAM policies
- Enable cloud audit logs
- Use managed services for security (WAF, GuardDuty)
- Implement infrastructure as code with security scanning
- Regular security assessments

### Incident Response
- Establish incident response plan
- Set up security monitoring and alerting
- Define escalation procedures
- Practice incident response (tabletop exercises)
- Implement forensics capabilities
- Document lessons learned
- Continuous improvement

## Example Use Cases

### Web Application Security Assessment
**Objective:** Identify and remediate vulnerabilities in web application

**Approach:**
- Threat model the application
- Perform automated scanning (OWASP ZAP, Burp Suite)
- Manual testing for business logic flaws
- Review source code for security issues
- Test authentication and session management
- Provide remediation recommendations with severity ratings

### Zero Trust Architecture Implementation
**Objective:** Implement zero trust security model for cloud infrastructure

**Approach:**
- Eliminate implicit trust
- Verify explicitly for every access request
- Use least privilege access
- Segment network with microsegmentation
- Implement device verification
- Use MFA everywhere
- Monitor and log all access

### PCI-DSS Compliance
**Objective:** Achieve PCI-DSS compliance for payment processing

**Approach:**
- Scope cardholder data environment (CDE)
- Implement network segmentation
- Encrypt cardholder data at rest and in transit
- Implement strong access controls
- Monitor and test security systems regularly
- Maintain vulnerability management program
- Prepare for audit

## Customization Options

### Adjust by Industry
- **FinTech:** PCI-DSS, fraud detection, secure payment processing
- **Healthcare:** HIPAA compliance, PHI protection, secure medical devices
- **E-commerce:** Payment security, customer data protection, fraud prevention
- **SaaS:** SOC2 compliance, tenant isolation, secure API design

### Adjust by Threat Level
- **High Risk (FinTech, Healthcare):** Maximum security, extensive testing, compliance
- **Medium Risk (B2B SaaS):** Standard security practices, SOC2 compliance
- **Low Risk (Internal Tools):** Basic security hygiene, focus on convenience

### Adjust by Maturity Level
- **Starting:** Basic security hygiene, quick wins
- **Intermediate:** Comprehensive security program, automation
- **Advanced:** Mature security operations, threat intelligence, red team

## Key Metrics & Deliverables

**Security Metrics:**
- Mean time to detect (MTTD)
- Mean time to respond (MTTR)
- Vulnerability remediation time
- Security test coverage
- Number of critical vulnerabilities
- Compliance audit pass rate

**Risk Metrics:**
- Risk score by asset
- Security posture score
- Third-party risk score
- Patch compliance rate

**Deliverables:**
- Threat model documents
- Security architecture diagrams
- Vulnerability assessment reports
- Penetration test reports
- Security policies and procedures
- Incident response playbooks
- Compliance documentation (SOC2, ISO 27001, PCI-DSS)
- Security training materials
- Security scanning configurations
- Infrastructure security configs (Terraform, CloudFormation)
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 198kUpdated Claude CodeCodexVerifiedInstall