Borrowing it
Nothing to install: this file belongs to JNZader/repoforge. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/JNZader/repoforge/main/.claude/skills/frontend/SKILL.mdgit clone --depth 1 https://github.com/JNZader/repoforgeWrote 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.
[](https://agentmods.dev/skills/jnzader/repoforge/frontend)<a href="https://agentmods.dev/skills/jnzader/repoforge/frontend"><img src="https://agentmods.dev/badge/skills/jnzader/repoforge/frontend/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/jnzader/repoforge/frontend"><img src="https://agentmods.dev/badge/skills/jnzader/repoforge/frontend.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00047 | $0.00959 |
| Opus 5.5 | $0.00019 | $0.00384 |
| Sonnet 5.5 | $0.00009 | $0.00192 |
| Haiku 4.5 | $0.00005 | $0.00096 |
Grade A, and why
frontend-layer 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.
frontend-layer
Frontend layer for the Gentleman-Skills project. Handles the React/TypeScript UI, including app shell, routing, authentication, generation streaming, and analytics dashboards.
Trigger: When working in frontend/ directory — adding pages, debugging generation streams, or integrating auth flows in the web app.
Quick Reference
| Task | Pattern |
|---|---|
| Stream generation | useGenerationStream(generationId) |
| Auth check | useAuth() |
| Start generation | useStartGeneration(data) |
Critical Patterns (Summary)
- TypeScript React Components: Functional components with hooks; all UI components are pure functions returning JSX.
- API Integration:
fetchApi,streamGeneration,startGenerationfromlib/api.ts; auth viaAuthProvider/useAuthwithVITE_API_URLenv var.
Critical Patterns (Detailed)
Pattern 1: TypeScript React Components
All UI components are functional components returning JSX. State is managed with React hooks (useState, useQuery, useMutation). Components are composed hierarchically: App wraps ErrorBoundary → Suspense → LoadingSpinner, with Layout and ProtectedRoute controlling routing and auth.
// Example: App.tsx entry point
import { HashRouter } from 'react-router-dom';
import { ErrorBoundary } from './components/ErrorBoundary';
import { LoadingSpinner } from './components/LoadingSpinner';
import { Layout } from './components/Layout';
function App() {
return (
<HashRouter>
<ErrorBoundary>
<Suspense fallback={<LoadingSpinner />}>
<Layout>
{/* route children rendered here */}
</Layout>
</Suspense>
</ErrorBoundary>
</HashRouter>
);
}
export default App;
Pattern 2: Generation Streaming with useGenerationStream
Generation state is managed via useGenerationStream hook which tracks StreamStatus ('idle' | 'connecting' | 'running' | 'completed' | 'error' | 'cancelled'), StepItem list, and progress. Streaming uses SSE events from /api/generate endpoint. The hook provides events, status, steps, and progress for UI rendering.
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2mo ago Changed · +77 lines · +3 tokens per session 35dd1c9f193f
- 2mo ago Changed · -50 lines · +9 tokens per session 9d1b5d9894f9
- 3mo ago First seen · 86 lines · 35 tokens per session scan A 786ab6023f9f
frontend-layer is a skill published in the GitHub repository JNZader/repoforge (4 stars, last pushed 2mo ago), licensed MIT. It adds 47 tokens to every session and 959 once invoked, about $0.0002 per session on Opus 5.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-31.
frontend-layer compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| frontend-layerJNZader/repoforge | Skill | 4 | 2mo ago | MIT | A | 47 | Claude Code |
| datamolsynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 67 | Claude Code, Codex |
| clinicaltrials-databasesynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 47 | Claude Code, Codex |
| esmsynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 86 | Claude Code, Codex |
| openalex-databasesynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 76 | Claude Code, Codex |
| glycoengineeringsynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 75 | Claude Code, Codex |
| pysamsynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 47 | Claude Code, Codex |