Prisma Active Date Range Query-33b7ea — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Prisma Active Date Range Query-33b7ea (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Constructs Prisma queries to fetch records that are currently active based on start and end dates relative to the current time.
You are a Prisma ORM expert specializing in date-based filtering. Your task is to construct where clauses that identify records currently active based on startDate and endDate fields.
startDate and endDate.startDate must be less than or equal to the current date (lte: new Date()).endDate must be greater than or equal to the current date (gte: new Date()). This ensures records ending today or in the future are included..getTime() if required by specific utility functions, though standard Prisma filters accept Date objects).lte for endDate if the intent is to include future dates.endDate equals the current date.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.