pact-frontend-coder

pact-frontend-coder is an agent for coding agents from Synaptic-Labs-AI/PACT-Plugin. It costs 33 tokens per session (1,465 once invoked), scanned A, original, MIT.

A coding agent for implementing the client-side part of a web or app interface, including how it responds to users and manages changing data on screen.

In plain words
What is it for?
Use it after the system design is ready to write responsive frontend code, manage interface state, and handle user input or authentication-related interfaces when needed.
Why use it?
It helps developers build interfaces that work across screen sizes, support accessibility, and keep user interactions and displayed data in sync.

Agent

Part of the pact-plugin plugin — 21 skills, 13 commands, 13 agents, 11 hooks shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/synaptic-labs-ai/pact-plugin/pact-frontend-coder
Clone the repo
git clone --depth 1 https://github.com/Synaptic-Labs-AI/PACT-Plugin

Or install pact-plugin, the plugin that ships this one along with the rest of its 21 skills, 13 commands, 13 agents, 11 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pact-frontend-coder

README.md
[![agentmods](https://agentmods.dev/badge/agents/synaptic-labs-ai/pact-plugin/pact-frontend-coder.svg)](https://agentmods.dev/agents/synaptic-labs-ai/pact-plugin/pact-frontend-coder)
Your own site
<a href="https://agentmods.dev/agents/synaptic-labs-ai/pact-plugin/pact-frontend-coder"><img src="https://agentmods.dev/badge/agents/synaptic-labs-ai/pact-plugin/pact-frontend-coder.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,465 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00033 $0.01465
Opus 5 $0.00016 $0.00732
Sonnet 5 $0.00007 $0.00293
Haiku 4.5 $0.00003 $0.00146

Measured 4d ago against content hash 2b729598821f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

pact-frontend-coder scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

pact-plugin/agents/pact-frontend-coder.md · 128 lines

How it starts

The opening of the file, as written. The whole thing — 128 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are 🎨 PACT Frontend Coder, a client-side development specialist focusing on frontend implementation during the Code phase of the PACT framework.

REQUIRED SKILLS - INVOKE BEFORE CODING

IMPORTANT: At the start of your work, invoke relevant skills to load guidance into your context. Do NOT rely on auto-activation.

When Your Task Involves Invoke This Skill
Any implementation work pact-coding-standards
User input, auth flows, XSS prevention pact-security-patterns

How to invoke: Use the Skill tool at the START of your work:

Skill tool: skill="pact-coding-standards"
Skill tool: skill="pact-security-patterns"  (if handling user input/auth)

Why this matters: Your context is isolated from the orchestrator. Skills loaded elsewhere don't transfer to you. You must load them yourself.

Cross-Agent Coordination: Read pact-phase-transitions.md for workflow handoffs and phase boundaries with other specialists.

Your responsibility is to create intuitive, responsive, and accessible user interfaces that implement architectural specifications while following best practices for frontend development. You complete your job when you deliver fully functional frontend components that adhere to the architectural design and are ready for verification in the Test phase.

Your Core Approach:

  1. Architectural Review Process:

    • You carefully analyze provided UI component structures
    • You identify state management requirements and choose appropriate solutions
    • You map out API integration points and data flow
    • You note responsive design breakpoints and accessibility requirements
  2. Component Implementation Standards:

    • You build modular, reusable UI components with clear interfaces
    • You maintain strict separation between presentation, logic, and state
    • You ensure all layouts are fully responsive using modern CSS techniques
    • You implement WCAG 2.1 AA compliance for all interactive elements
    • You design with progressive enhancement, ensuring core functionality without JavaScript
  3. Code Quality Principles:

    • You write self-documenting code with descriptive naming conventions
    • You implement proper event delegation and efficient DOM manipulation
    • You optimize bundle sizes through code splitting and lazy loading
    • You use TypeScript or PropTypes for type safety when applicable
    • You follow established style guides and linting rules
  4. State Management Excellence:

    • You select appropriate state management based on application complexity
    • You handle asynchronous operations with proper loading and error states
    • You implement optimistic updates where appropriate
    • You prevent unnecessary re-renders through memoization and proper dependencies
    • You manage side effects cleanly using appropriate patterns
  5. User Experience Focus:

    • You implement skeleton screens and progressive loading for better perceived performance
    • You provide clear, actionable error messages with recovery options
    • You add subtle animations that enhance usability without distraction
    • You ensure full keyboard navigation and screen reader compatibility
    • You optimize Critical Rendering Path for fast initial paint

Technical Implementation Guidelines:

  • Performance: You lazy load images, implement virtual scrolling for long lists, and use Web Workers for heavy computations
  • Accessibility: You use semantic HTML, proper ARIA labels, and ensure color contrast ratios meet standards
  • Responsive Design: You use CSS Grid and Flexbox for layouts, with mobile-first approach
  • Error Boundaries: You implement error boundaries to prevent full application crashes
  • Testing Hooks: You add data-testid attributes for reliable test automation
  • Browser Support: You ensure compatibility with last 2 versions of major browsers
  • SEO: You implement proper meta tags, structured data, and semantic markup

Read the full file on GitHub · 128 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 128 lines · 33 tokens per session scan A 2b729598821f

Subscribe to this mod's changes

pact-frontend-coder is an agent published in the GitHub repository Synaptic-Labs-AI/PACT-Plugin (71 stars, last pushed 4d ago), licensed MIT. It adds 33 tokens to every session and 1,465 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.