Version: 1.0.0 Status: ACTIVE
Pressure-test a completed plan, implementation, design, deployment, migration, or important decision against realistic stakeholder concerns.
The Red Team should answer:
What could still fail even though normal implementation and verification passed?
This is not a substitute for testing.
It is a second layer of scrutiny.
Use this skill for:
Do not automatically use it for:
Scale the review to the real risk.
Typical lifecycle:
INITIAL APPROACH
↓
MIRROR AUDIT
↓
PLAN
↓
IMPLEMENT
↓
VERIFY
↓
RED TEAM
↓
REFINE
↓
ACCEPT
Mirror Audit challenges the idea before implementation.
Red Team challenges the result after normal verification.
Do not tell the reviewer merely:
Be critical.
Instead give the reviewer realistic incentives.
A strong reviewer profile defines:
PRIMARY FEAR
NON-NEGOTIABLE METRIC
SKEPTICISM BIAS
This makes the challenge realistic rather than performatively negative.
Choose the reviewer perspective that best matches the actual risk.
Possible reviewers include:
Security Reviewer
Infrastructure Engineer
Database Administrator
Maintenance Developer
Performance Engineer
Operations Engineer
End User
Support Engineer
Project Manager
Compliance Reviewer
Finance Reviewer
External Customer
Use one primary perspective unless the task genuinely needs several.
Unauthorized access, data exposure, or loss of trust boundary integrity.
LEAST PRIVILEGE
+
CONTROLLED ATTACK SURFACE
Assume that:
inputs are hostile
credentials eventually leak
trusted boundaries eventually fail
users discover unexpected paths through the system
Review:
Production outage or unrecoverable deployment.
RECOVERABILITY
Assume:
dependencies fail
files become locked
services restart unexpectedly
deployment occurs under pressure
the original developer is unavailable
Review:
Corruption, data loss, locking, or unrecoverable migration.
DATA INTEGRITY
Assume:
production data is stranger than test data
large tables behave differently
transactions fail at inconvenient times
concurrency exists
Review:
Hidden complexity that becomes expensive later.
CHANGE COST
Assume:
the original author will not be available
requirements will change
bugs will occur six months later
Review:
A design works in development but collapses under real load.
PREDICTABLE RESOURCE USE
Assume:
data volume grows
latency matters
concurrent users increase
slow dependencies become slower
Review:
Do not demand optimization without evidence.
The system fails silently or requires tribal knowledge to recover.
OPERABILITY
Assume:
incidents happen outside business hours
the operator did not write the system
documentation is incomplete
Review:
The system technically works but is confusing, slow, or unreliable.
TASK COMPLETION
Assume:
users make mistakes
users double-click
users misunderstand labels
users abandon confusing workflows
Review:
Implementation complexity exceeds business value or schedule.
VALUE / DELIVERY RISK
Assume:
scope expands
dependencies slip
hidden work appears late
Review:
A technical solution violates policy, regulation, contractual requirement, or auditability expectations.
TRACEABLE COMPLIANCE
Review:
Only apply specific legal or regulatory requirements when actually established.
Do not invent compliance obligations.
Before reviewing, identify:
WHAT WAS CHANGED?
WHY?
WHAT WAS VERIFIED?
WHAT RISKS WERE ALREADY ACCEPTED?
WHAT MUST NOT CHANGE?
The reviewer should critique the actual result, not an imaginary system.
A Red Team finding should be grounded in:
code
configuration
test results
architecture
deployment procedure
data behavior
documented assumptions
realistic failure mode
Avoid unsupported statements such as:
"This could possibly be insecure."
Prefer:
"The endpoint checks authentication but not whether
the authenticated user owns the requested record."
Specific evidence creates actionable review.
Find the 1–3 assumptions whose failure would create the greatest consequence.
Examples:
deployment assumes file copy cannot partially fail
API assumes duplicate POST requests never occur
migration assumes every existing value converts cleanly
automation assumes only one instance runs
Focus on leverage.
Do not stop at identifying a mitigation.
Ask:
Does the mitigation actually work?
Example:
Risk:
deployment could fail midway
Mitigation:
we have a backup
Challenge:
Has restore been tested?
Does the backup contain configuration?
How long would recovery take?
Can the old application run against the new database schema?
Mitigations should withstand scrutiny.
A strong adversarial review may use:
PROPOSAL
↓
CHALLENGE
↓
DEFENSE / EVIDENCE
↓
ESCALATION
↓
RECONCILIATION
The goal is not to “win” the argument.
The goal is to determine whether the design survives realistic pressure.
A useful challenge is:
SPECIFIC
REALISTIC
CONSEQUENTIAL
TESTABLE
Weak:
What if everything breaks?
Better:
If the database migration succeeds but the application
deployment fails, can the previous application version
still operate against the new schema?
Use these severity levels.
Do not proceed until resolved.
Examples:
likely data loss
privilege escalation
missing rollback for destructive operation
known incompatibility
Should normally be resolved before release.
Examples:
partial failure can corrupt state
critical error has no detection mechanism
duplicate processing can create financial impact
Meaningful weakness with manageable consequence.
Examples:
poor observability
avoidable maintenance burden
limited operational documentation
Minor improvement.
Do not allow LOW findings to dominate the review.
Known limitation accepted because:
risk is low
scope does not justify mitigation
requirement intentionally chooses it
Document why.
Insufficient evidence or very low likelihood/impact.
Speculation should not block release.
Use:
### Finding
Severity:
[BLOCKER / HIGH / MEDIUM / LOW]
Evidence:
[Specific observation]
Failure Mode:
[What could happen]
Consequence:
[Why it matters]
Recommended Mitigation:
[Smallest useful mitigation]
Residual Risk:
[What remains afterward]
For small reviews, compress this.
Default to:
1–5 HIGH-VALUE FINDINGS
Do not create a long list merely to appear thorough.
If there are twenty legitimate problems, say so.
Otherwise prioritize.
System:
Internal ASP endpoint that deletes an appointment.
Normal tests pass.
Security reviewer asks:
Does authenticated mean authorized?
Can User A delete User B's appointment
by changing the ID in the URL?
This reveals an authorization defect normal functional testing may miss.
Deployment:
stop IIS app pool
copy files
start app pool
Infrastructure reviewer asks:
What if copying fails after half the files are replaced?
Is the application directory now mixed-version?
What exact action restores a consistent release?
Possible mitigation:
versioned release directory
atomic switch
validated backup
health check
automatic rollback
Migration:
ALTER COLUMN CustomerNumber INT
DBA asks:
Have all existing values been verified as numeric?
What happens to blank values?
How long will the conversion lock the table?
Can the application run during the migration?
These are concrete production concerns.
Scheduled PowerShell import:
download file
import database
move file to archive
Operations reviewer asks:
What if the scheduled task starts again before the first run finishes?
Possible problem:
same input processed twice
Potential mitigation:
lock file
single-instance mutex
processed-file identifier
Endpoint:
POST /api/payment
Reviewer asks:
What happens if the client times out after the server
processed the payment and retries the request?
Potential issue:
duplicate charge
Mitigation may require idempotency.
Code works but introduces:
new interface
new service factory
new wrapper
new configuration layer
for one simple operation.
Maintenance reviewer asks:
What real repeated problem are these abstractions solving?
If there is none, simplify.
Booking form successfully saves appointments.
End-user reviewer asks:
What happens when the user double-clicks Submit?
Possible issue:
duplicate appointment
This is both user experience and data-integrity risk.
Do not automatically replace a working solution with a more sophisticated architecture.
The reviewer should prefer:
SMALLEST MITIGATION THAT REDUCES REAL RISK
over:
TOTAL REDESIGN
unless the underlying architecture genuinely cannot meet the requirement.
For each mitigation consider:
RISK REDUCTION
IMPLEMENTATION COST
MAINTENANCE COST
NEW FAILURE MODES
A mitigation can make a system worse if it creates more complexity than the original risk warrants.
No system reaches zero risk.
After mitigation, state what remains.
Example:
Database backups reduce recovery risk,
but restore time remains approximately dependent
on database size and infrastructure availability.
Residual risk helps make tradeoffs explicit.
Stop the Red Team review when:
highest-impact assumptions have been challenged
blockers are identified
important mitigations are known
additional objections are low-value repetition
Do not continue indefinitely.
After challenge, summarize:
WHAT SURVIVED
WHAT MUST CHANGE
WHAT RISK IS ACCEPTED
WHAT REMAINS UNKNOWN
A useful Red Team ends with clarity.
Normal verification asks:
Does the implementation behave as expected?
Red Team asks:
What important expectation might be wrong?
Both are required for consequential work.
Mirror Audit:
PRE-IMPLEMENTATION
focus:
hidden weaknesses in proposed thinking
Red Team:
POST-VERIFICATION
focus:
realistic attack on completed work
If the Red Team repeatedly discovers the same category of defect:
CAPTURE THE PATTERN
Possible outcomes:
new verification rule
new specialized skill
existing skill update
project documentation
automated test
This is how adversarial review feeds self-improvement.
Repeated domain-specific use may justify specialized skills.
Examples:
.ai/skills/security-red-team/
.ai/skills/database-migration-review/
.ai/skills/deployment-readiness/
.ai/skills/api-abuse-review/
Do not create them until repeated real work justifies the specialization.
A Red Team that always finds serious issues becomes untrustworthy.
For each finding ask:
Is there evidence?
Is the scenario realistic?
Would the consequence matter?
Does the mitigation justify its cost?
Remove weak findings.
The reviewer is successful when:
GOOD WORK SURVIVES REVIEW
not when:
THE REVIEWER FINDS SOMETHING TO COMPLAIN ABOUT
A legitimate result can be:
No release-blocking issues found.
A normal Red Team output should contain:
REVIEW PERSPECTIVE
PRIMARY FEAR
NON-NEGOTIABLE METRIC
TOP FINDINGS
MITIGATIONS
ACCEPTED TRADEOFFS
RESIDUAL RISK
RECOMMENDATION
Recommendation:
PASS
PASS WITH MITIGATIONS
REVISION REQUIRED
BLOCK
Improve this skill when:
Do not endlessly grow the general skill.
Move specialized knowledge into specialized skills.
Avoid:
BE NEGATIVE ABOUT EVERYTHING
Avoid:
INVENT RISKS WITHOUT EVIDENCE
Avoid:
TREAT ALL FINDINGS AS BLOCKERS
Avoid:
REDESIGN THE ENTIRE SYSTEM BY DEFAULT
Avoid:
IGNORE MITIGATION COST
Avoid:
REPEAT NORMAL TEST RESULTS
Avoid:
END WITHOUT A RECOMMENDATION
Initial active version.
Introduced:
Powered by TurnKey Linux.