pinpoint webui contributor

Guide Angular component structure, styling, and architecture for Pinpoint Web UI contributions.

172|88|Updated Jan 9, 2014
One-click install
npx skills add https://github.com/google/skia-buildbot --skill pinpoint-webui-contributor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pinpoint webui contributor
Source: https://github.com/google/skia-buildbot/tree/main/.agents/skills/pinpoint-webui-contributor
Command: npx skills add https://github.com/google/skia-buildbot --skill pinpoint-webui-contributor

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps contributors consistently implement maintainable, guideline-compliant changes to the Pinpoint Web UI Angular codebase by preventing common UI code-quality issues such as inline templates/styles, inconsistent theming, and tightly coupled component logic.

Core Features & Use Cases

  • Template and style separation: Keeps component HTML and styles in dedicated files to improve readability and reuse.
  • Angular Material-aligned UI: Encourages correct use of Angular Material components and theming to preserve accessibility and light/dark mode compatibility.
  • Maintainable architecture practices: Promotes smaller single-responsibility components and pushes complex business logic into services, reducing coupling and simplifying testing.

Quick Start

Use this skill when you are implementing or reviewing a change that affects the Pinpoint Web UI in buildbot/pinpoint/webui and want the AI to follow the listed Angular and Material contribution guidelines.

Frequently Asked Questions about pinpoint webui contributor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure Angular components for Pinpoint Web UI contributions?

Angular components for Pinpoint Web UI contributions require separated .html templates and .css/.scss stylesheets instead of inline code. This separation improves readability and reusability. Components should maintain single responsibility, keeping them smaller and pushing complex business logic into dedicated services.

How do I manage string literals in Angular TypeScript for Pinpoint UI?

String literals in Angular TypeScript for Pinpoint UI must be managed through enums or union types to avoid hardcoding. This practice enforces type safety and centralizes value definitions, making the component logic easier to maintain and refactor without introducing typographical errors across the codebase.

Can I use inline templates and styles when editing the Pinpoint Angular project?

Inline templates and styles are not allowed when editing the Pinpoint Angular project. The contribution guidelines explicitly require separated .html and .css/.scss files. This architectural constraint prevents common code-quality issues like tightly coupled component logic and ensures long-term maintainability.

How do I extract business logic from Angular components in Pinpoint Web UI?

Business logic extraction from Angular components in Pinpoint Web UI is achieved by moving complex operations into dedicated services. This separation of concerns reduces component coupling, simplifies unit testing, and ensures the component class remains focused on template coordination and user interaction.