frontend/technical-spec — for Claude Code ai-coding-project-boilerplate, community, for Claude Code, ide skills, process.env, Technical, Frontend, Technology, Policy, TypeScript-based

v1.0.0

Acerca de este Skill

Perfecto para agentes de AI como Claude Code que necesitan una implementación de frontend robusta con aplicación React basada en TypeScript y gestión segura de variables de entorno. Resumen localizado: Defines frontend environment variables, component design, and data flow patterns. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

Características

Technical Design Rules (Frontend)
Basic Technology Stack Policy
Environment Variable Management and Security
Environment Variable Management
Use build tool's environment variable system : process.env does not work in browser environments

# Core Topics

shinpr shinpr
[0]
[0]
Updated: 3/8/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 8/11

This page remains useful for teams, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution
Review Score
8/11
Quality Score
42
Canonical Locale
en
Detected Body Locale
en

Perfecto para agentes de AI como Claude Code que necesitan una implementación de frontend robusta con aplicación React basada en TypeScript y gestión segura de variables de entorno. Resumen localizado: Defines frontend environment variables, component design, and data flow patterns. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

¿Por qué usar esta habilidad?

Habilita a los agentes a implementar aplicaciones de frontend seguras y escalables utilizando TypeScript y React, con características como la gestión centralizada de variables de entorno a través de capas de configuración y una adecuada seguridad de tipos, aprovechando el sistema de variables de

Mejor para

Perfecto para agentes de AI como Claude Code que necesitan una implementación de frontend robusta con aplicación React basada en TypeScript y gestión segura de variables de entorno.

Casos de uso accionables for frontend/technical-spec

Implementar una gestión segura de variables de entorno para aplicaciones de agentes de AI
Crear aplicaciones React escalables basadas en TypeScript para Claude Code
Garantizar la seguridad de tipos adecuada en el desarrollo de aplicaciones de frontend
Gestionar centralmente variables de entorno para múltiples proyectos de agentes de AI

! Seguridad y limitaciones

  • Requiere experiencia en TypeScript y React
  • Limitado a entornos de navegador debido a las limitaciones de process.env
  • Dependiente del sistema de variables de entorno de la herramienta de compilación

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.
  • - The underlying skill quality score is below the review floor.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

After The Review

Decide The Next Action Before You Keep Reading Repository Material

Killer-Skills should not stop at opening repository instructions. It should help you decide whether to install this skill, when to cross-check against trusted collections, and when to move into workflow rollout.

Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is frontend/technical-spec?

Perfecto para agentes de AI como Claude Code que necesitan una implementación de frontend robusta con aplicación React basada en TypeScript y gestión segura de variables de entorno. Resumen localizado: Defines frontend environment variables, component design, and data flow patterns. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

How do I install frontend/technical-spec?

Run the command: npx killer-skills add shinpr/ai-coding-project-boilerplate. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for frontend/technical-spec?

Key use cases include: Implementar una gestión segura de variables de entorno para aplicaciones de agentes de AI, Crear aplicaciones React escalables basadas en TypeScript para Claude Code, Garantizar la seguridad de tipos adecuada en el desarrollo de aplicaciones de frontend, Gestionar centralmente variables de entorno para múltiples proyectos de agentes de AI.

Which IDEs are compatible with frontend/technical-spec?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for frontend/technical-spec?

Requiere experiencia en TypeScript y React. Limitado a entornos de navegador debido a las limitaciones de process.env. Dependiente del sistema de variables de entorno de la herramienta de compilación.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add shinpr/ai-coding-project-boilerplate. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use frontend/technical-spec immediately in the current project.

! Reference-Only Mode

This page remains useful for installation and reference, but Killer-Skills no longer treats it as a primary indexable landing page. Read the review above before relying on the upstream repository instructions.

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

frontend/technical-spec

Resumen localizado: Defines frontend environment variables, component design, and data flow patterns. This AI agent skill supports Claude Code, Cursor, and

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

Technical Design Rules (Frontend)

Basic Technology Stack Policy

TypeScript-based React application implementation. Architecture patterns should be selected according to project requirements and scale.

Environment Variable Management and Security

Environment Variable Management

  • Use build tool's environment variable system: process.env does not work in browser environments
  • Centrally manage environment variables through configuration layer
  • Implement proper type safety with TypeScript
  • Properly implement default value settings and mandatory checks
typescript
1// Build tool environment variables (public values only) 2const config = { 3 apiUrl: import.meta.env.API_URL || 'http://localhost:3000', 4 appName: import.meta.env.APP_NAME || 'My App' 5} 6 7// Does not work in frontend 8const apiUrl = process.env.API_URL

Security (Client-side Constraints)

  • CRITICAL: All frontend code is public and visible in browser
  • Never store secrets client-side: No API keys, tokens, or secrets in environment variables
  • Do not include .env files in Git (same as backend)
  • Prohibit logging of sensitive information (passwords, tokens, personal data)
  • Do not include sensitive information in error messages

Correct Approach for Secrets:

typescript
1// Security risk: API key exposed in browser 2const apiKey = import.meta.env.API_KEY 3const response = await fetch(`https://api.example.com/data?key=${apiKey}`) 4 5// Correct: Backend manages secrets, frontend accesses via proxy 6const response = await fetch('/api/data') // Backend handles API key authentication

Architecture Design

Frontend Architecture Patterns

React Component Architecture:

  • Function Components: Mandatory, class components deprecated
  • Custom Hooks: For logic reuse and dependency injection
  • Component Hierarchy: Atoms -> Molecules -> Organisms -> Templates -> Pages
  • Props-driven: Components receive all necessary data via props
  • Co-location: Place tests, styles, and related files alongside components

State Management Patterns:

  • Local State: useState for component-specific state
  • Context API: For sharing state across component tree (theme, auth, etc.)
  • Custom Hooks: Encapsulate state logic and side effects
  • Server State: React Query or SWR for API data caching

Unified Data Flow Principles

Client-side Data Flow

Maintain consistent data flow throughout the React application:

  • Single Source of Truth: Each piece of state has one authoritative source

    • UI state: Component state or Context
    • Server data: API responses cached in React Query/SWR
    • Form data: Controlled components with React Hook Form
  • Unidirectional Flow: Data flows top-down via props

    API Response -> State -> Props -> Render -> UI
    User Input -> Event Handler -> State Update -> Re-render
    
  • Immutable Updates: Use immutable patterns for state updates

    typescript
    1// Immutable state update 2setUsers(prev => [...prev, newUser]) 3 4// Mutable state update (avoid) 5users.push(newUser) 6setUsers(users)

Type Safety in Data Flow

  • Frontend -> Backend: Props/State (Type Guaranteed) -> API Request (Serialization)
  • Backend -> Frontend: API Response (unknown) -> Type Guard -> State (Type Guaranteed)
typescript
1// Type-safe data flow 2async function fetchUser(id: string): Promise<User> { 3 const response = await fetch(`/api/users/${id}`) 4 const data: unknown = await response.json() 5 6 if (!isUser(data)) { 7 throw new Error('Invalid user data') 8 } 9 10 return data // Type guaranteed as User 11}

Build and Testing

Use the appropriate run command based on the packageManager field in package.json.

Build Commands

  • dev - Development server
  • build - Production build
  • preview - Preview production build
  • type-check - Type check (no emit)

Testing Commands

  • test - Run tests
  • test:coverage - Run tests with coverage
  • test:coverage:fresh - Run tests with coverage (fresh cache)
  • test:safe - Safe test execution (with auto cleanup)
  • cleanup:processes - Cleanup Vitest processes

Quality Check Requirements

Quality checks are mandatory upon implementation completion:

Phase 1-3: Basic Checks

  • check - Biome (lint + format)
  • build - TypeScript build

Phase 4-5: Tests and Final Confirmation

  • test - Test execution
  • test:coverage:fresh - Coverage measurement
  • check:all - Overall integrated check

Coverage Requirements

  • Mandatory: Unit test coverage must be 60% or higher
  • Component-specific targets:
    • Atoms: 70% or higher
    • Molecules: 65% or higher
    • Organisms: 60% or higher
    • Custom Hooks: 65% or higher
    • Utils: 70% or higher

Non-functional Requirements

  • Browser Compatibility: Chrome/Firefox/Safari/Edge (latest 2 versions)
  • Rendering Time: Within 5 seconds for major pages

Habilidades relacionadas

Looking for an alternative to frontend/technical-spec or another community skill for your workflow? Explore these related open-source skills.

Ver todo

openclaw-release-maintainer

Logo of openclaw
openclaw

Resumen localizado: 🦞 # OpenClaw Release Maintainer Use this skill for release and publish-time workflow. It covers ai, assistant, crustacean workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

333.8k
0
Inteligencia Artificial

widget-generator

Logo of f
f

Resumen localizado: Generate customizable widget plugins for the prompts.chat feed system # Widget Generator Skill This skill guides creation of widget plugins for prompts.chat . It covers ai, artificial-intelligence, awesome-list workflows. This AI agent skill supports Claude Code, Cursor, and

149.6k
0
Inteligencia Artificial

flags

Logo of vercel
vercel

Resumen localizado: The React Framework # Feature Flags Use this skill when adding or changing framework feature flags in Next.js internals. It covers blog, browser, compiler workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

138.4k
0
Navegador

pr-review

Logo of pytorch
pytorch

Resumen localizado: Usage Modes No Argument If the user invokes /pr-review with no arguments, do not perform a review . It covers autograd, deep-learning, gpu workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

98.6k
0
Desarrollador