next-partial-prefetching-optimizer
Pass
Audited by Gen Agent Trust Hub on Sep 11, 2026
Risk Level: SAFE
Full Analysis
- Environment Configuration: The skill guides the agent to enable Next.js experimental features, specifically
exposeTestingApiInProductionBuild, within the project's configuration. The instructions include explicit safeguards to gate this feature behind environment variables, ensuring that testing APIs are not exposed in production environments. - Tool Integration: The workflow integrates with standard development and testing tools, including
npm,pnpm, andPlaywright. These tools are used for their intended purposes, such as building the application and running end-to-end regression tests to verify navigation behavior. - Project Inspection: The agent is instructed to read local project metadata and configuration files (e.g.,
package.json,next.config.ts,playwright.config.ts) to discover the existing build and test setup. This allows the skill to adapt to the project's specific structure without manual configuration. - External Resource Utilization: The skill references official Next.js documentation and installs recognized development dependencies like
@next/playwright. These resources are managed through established package registries and official vendor domains, following standard software development practices.
Audit Metadata