npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

frontend-assessment-skill

v2.2.1

Published

Installer for the unified frontend assessment agent skill with Lighthouse and performance guidance (Zed, Claude, and agent tools)

Readme

Frontend Assessment Skill

One installable AI agent skill for Zed, Claude, and other agent systems that produces an evidence-based normalized 0-100 frontend health and maturity score. frontend-assessment covers repository evidence, inspection of test/coverage evidence, a quick modern-web-guidance source review, an application architecture map, optional Lighthouse audits, and interaction performance traces in one workflow and one consolidated report. No companion skills or separate invocations are required.

Installation

Run the installer and choose a scope:

npx frontend-assessment-skill
  • Global (~/.agents/skills/frontend-assessment/): available across projects.
  • Project (.agents/skills/frontend-assessment/): available only in the current repository.

The installer copies one self-contained SKILL.md.

Or select the scope with a flag:

# Install globally
npx frontend-assessment-skill --global

# Install in the current project
npx frontend-assessment-skill --project

Updating

Use @latest and --update to replace the installed skill without an overwrite prompt:

# Update the global installation
npx frontend-assessment-skill@latest --update --global

# Update the current project's installation
npx frontend-assessment-skill@latest --update --project

Updating requires an existing frontend-assessment/SKILL.md and replaces that file, including local customizations. Run without --update for a fresh installation; overwriting an existing skill requires confirmation. All other files are preserved. If upgrading from the former three-skill installation, old companion directories are left untouched to protect customizations, but they are no longer required or invoked; the installer reports their presence.

Usage

Once installed, ask your agent:

Perform a frontend health assessment of this repository.

The default contributor activity and delivery window is the last three months. Override the scope or period explicitly:

Run a frontend assessment for Q3 2025, focusing on the web-app package.

Dependency status and live measurements describe the current state, even when a historical assessment window is selected.

Optional Live-Site Audits and Interaction Tracing

Supply a URL in your assessment request:

Assess this repository with FRONTEND_ASSESSMENT_URL=https://example.com and include live-site Lighthouse audits and interaction tracing.

A URL directly in the request or the FRONTEND_ASSESSMENT_URL environment variable also works; an explicit request takes precedence. These are assessment inputs, not installer flags.

Chrome DevTools MCP supports browser inspection and interaction tracing. Lighthouse capabilities are checked separately; some MCP lighthouse_audit tools explicitly exclude Performance. The workflow is:

  1. Inspect the repository and map the frontend components, verified API endpoints, backend services, and persistence layers. Color-code rendered UI components by their verified UI framework and include a legend.
  2. When browser access is available, inspect representative pages and safely exercise non-consequential controls to verify visible states and observable network calls. Do not create a user-journey diagram.
  3. Run all supported Lighthouse categories after browser inspection. If some categories are unsupported (for example Performance), retain and report the supported audit categories and mark unsupported categories as N/A with the tool-provided reason.
  4. Record selected safe interactions in a separate trace within the same assessment. Keep the recording running through interactions, then explicitly stop it. Missing Lighthouse categories do not prevent tracing, and a missing trace does not invalidate available Lighthouse audit findings.
  5. Run the optional modern-web-guidance source review when available, then return one report containing repository findings, test/coverage evidence, the architecture map, Lighthouse results, and interaction diagnostics, followed by one verdict synthesizing all available results. Keep measurement sources, dates, settings, pages, and completed/skipped actions explicit. Lighthouse audit findings and diagnostics inform the verdict but do not add separate assessment points; modern-web-guidance has its own 10-point rubric criterion.

Authentication and safety: If browser inspection or a measurement encounters login or SSO, the agent pauses for you to sign in manually in the browser used for that run and waits for confirmation. Measurements interrupted by authentication are discarded and rerun after access is restored; login/error-page results are not scored as the target app. Do not send credentials to the agent. Sending messages, uploading files, purchases, and other consequential submissions require explicit authorization; these safety exclusions are reported separately from tool limitations.

Unavailable categories and data: If the MCP audit does not expose a category, the report keeps available audit results and marks unsupported categories as N/A with the exact limitation. Missing individual diagnostics do not change the rubric score.

Assessment Criteria and Scoring

The eight repository criteria total 110 points when all are applicable:

| Criterion | Weight | Summary | | ----------------------------- | -----: | ----------------------------------------------------------------------------------------------------------------------- | | Dependency freshness | 20 | Version lag and publication age of frontend dependencies, with an exception for latest packages with no recent releases | | Core package currency | 20 | Runtime, framework, router, build, and test-tool versions, accounting for verified compatibility blockers | | Contributor activity | 10 | Unique contributors within the assessment window | | Delivery cadence | 10 | Commits, merge commits, and releases within the same window | | Test suite maturity | 10 | Unit, integration, component, end-to-end, and visual/Storybook test layers | | Coverage | 10 | Measurable frontend application test coverage, not backend-only coverage | | UI system & component library | 20 | Consistent component-library, token/theme, and styling adoption, including maintenance and deprecation status | | Modern web guidance | 10 | Quick source review against relevant, retrieved current web-platform and UI guidance |

UI-system assessment is usage-first and brand-neutral: the agent traces components from their imports to production renders/templates, including local wrappers and in-house systems, then verifies consumed styles and shared tokens. Installed packages and unused imports do not establish adoption. No particular styling tool or separate token package is required, and intentionally composed UI layers are not automatically treated as fragmentation. However, concurrently shipping multiple distinct UI rendering frameworks in one deployable app caps this criterion at 5/20; separate deployable apps are assessed independently, and routers, build tools, or meta-frameworks do not count as additional UI renderers. Reports cite inspected surfaces and sampling limitations.

Frontend scoring uses the eight repository criteria above and remains normalized to 100. The raw maximum is 110, or 90 when both history criteria are N/A; any other unavailable criterion is excluded from the applicable maximum.

Frontend score = round(100 * earned_points / applicable_maximum)

Lighthouse audit categories and interaction diagnostics are reported as evidence for the final verdict and do not add separate rubric points. The modern-web-guidance score is a separate 10-point criterion; when the tool, relevant guidance, or verifiable production UI is unavailable, mark it N/A and exclude its weight.

  • Insufficient or unverifiable git history makes both history criteria N/A and removes their combined 20-point weight.

  • Unverifiable release metadata makes delivery cadence N/A, even if commit and merge counts are available.

  • Apply the rubric's explicit zero-point outcomes, such as no automated tests or no measurable frontend coverage, rather than treating those findings as unavailable evidence.

Performance Diagnostics

LCP, INP, and CLS are explanatory diagnostics, not additional assessment points. Reports list each value, its source, its individual score when the tool provides one, and its threshold rating. They do not reconstruct unavailable Lighthouse categories from these three metrics.

| Metric | Good | Needs improvement | Poor | | ------------------------------- | --------- | ---------------------- | -------- | | Largest Contentful Paint (LCP) | <= 2.5 s | > 2.5 s and <= 4 s | > 4 s | | Interaction to Next Paint (INP) | <= 200 ms | > 200 ms and <= 500 ms | > 500 ms | | Cumulative Layout Shift (CLS) | <= 0.1 | > 0.1 and <= 0.25 | > 0.25 |

Lab/trace measurements are distinguished from field data. Field INP is marked N/A when representative data is unavailable; a scripted interaction or Total Blocking Time (TBT) is not a substitute for field INP.

The single assessment skill contains the full rubric, Lighthouse audit/tracing instructions, and diagnostic thresholds. The verdict considers every available Lighthouse category score and diagnostic finding, but only published repository scoring criteria affect the numerical score; unrelated scores are not averaged together.

Project Tests and Coverage

The assessment never runs project tests or coverage commands of any kind. It inspects test source/configuration and existing results/coverage artifacts only, without invoking runners, package test scripts, Nx test targets, or local/remote CI. There is no test-execution opt-in. The assessment is stack-, framework-, and tooling-neutral; it does not require a particular test framework or implementation approach.

Use a single prompt:

Run a complete frontend assessment of this repository with FRONTEND_ASSESSMENT_URL=https://example.com. Include the frontend/backend architecture map, every available Lighthouse category score, interaction performance diagnostics, and modern-web-guidance check, and use all available evidence in one final verdict. Inspect existing test and coverage evidence only; do not run project tests or generate coverage.

Reports distinguish configured test layers from existing recorded results, cite their dates/scope, and disclose unavailable or stale coverage. Non-execution is not treated as failure or an additional scoring penalty. The rubric's existing no-measurable-coverage outcome is unchanged. Lighthouse audits, safe browser inspections, and performance traces remain separate live-site measurements; they do not invoke project test suites.

Report Contents

Assessments are read-only and output-only: the complete report, including diagrams, is returned directly in the agent's response. No project tests are run, no coverage is generated, and there is no generated-artifact exception. Assessment reports, scratch notes such as history-tests.md, helper scripts, and browser artifacts are never written into the project. Required browser-tool artifacts must use temporary storage outside the project; otherwise the affected measurement is skipped and disclosed.

  • Scope, assessment dates, detected stack, model(s) used, and evidence limitations.
  • Normalized frontend score and an evidence-backed scoring table.
  • A separate repository context score for age, complexity, and active developers; this does not affect the frontend score.
  • UI-system and core-package status tables.
  • Configured test layers and existing recorded test/coverage evidence, with explicit non-execution and evidence limitations.
  • A quick, sourced modern-web-guidance check with a 0-10 score when available, or an explained N/A.
  • A Mermaid application architecture map showing frontend component hierarchy, UI-framework color coding, verified API calls, backend services, and persistence operations, with evidence and endpoint details.
  • Separate optional Lighthouse audit and interaction performance results after the architecture map, including independent statuses, evidence sources, diagnostic metrics, and limitations.
  • Ranked pros and cons, followed by a consolidated verdict covering all observed results and highest-leverage improvements—not just the weighted score.

Contributing

See CONTRIBUTING.md for local development, testing, and the release workflow.

License & Attribution

Licensed under the MIT License, copyright 2025 DLN Roozemond.

You may use, modify, and distribute this skill. Attribution to DLN Roozemond is required when redistributing it or including it in other packages, as detailed in the license.