jframe: Skill for Claude Code

.claude/skills/jframe-module-design/SKILL.md

jframe-module-design is a skill for Claude Code from juanjiTech/jframe. It costs 79 tokens per session (631 once invoked), scanned A, original, Apache-2.0.

A guide for designing and scaffolding modules in jframe, a Go framework that organizes application features as separate components with defined startup and shutdown stages.

In plain words
What is it for?
Use it when creating a jframe module, adding a feature or external service, defining configuration, planning dependencies, or mapping the module's lifecycle.
Why use it?
It helps you structure new features and services without making modules depend directly on one another. It also clarifies how configuration, dependency injection, startup, and stopping fit together.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is juanjiTech/jframe's own configuration. It tells Claude Code how to work on jframe itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything jframe configures →

Reuse

Borrowing it

Nothing to install: this file belongs to juanjiTech/jframe. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/juanjiTech/jframe/main/.claude/skills/jframe-module-design/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/juanjiTech/jframe

Made for: Claude Code.

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 jframe-module-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/juanjitech/jframe/jframe-module-design/github.svg)](https://agentmods.dev/skills/juanjitech/jframe/jframe-module-design)
Your own site
<a href="https://agentmods.dev/skills/juanjitech/jframe/jframe-module-design"><img src="https://agentmods.dev/badge/skills/juanjitech/jframe/jframe-module-design/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.

agentmods 80×15 button for jframe-module-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/juanjitech/jframe/jframe-module-design"><img src="https://agentmods.dev/badge/skills/juanjitech/jframe/jframe-module-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 631 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00079 $0.00631
Opus 5.5 $0.00032 $0.00252
Sonnet 5.5 $0.00016 $0.00126
Haiku 4.5 $0.00008 $0.00063

Measured 1mo ago against content hash 245653e3bcf0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

jframe-module-design 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 1mo 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.

.claude/skills/jframe-module-design/SKILL.md · 76 lines

How it starts

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

jframe Module Design

Plan and scaffold a new kernel.Module. For writing handler/dao/service code after the skeleton exists, switch to jframe-module-dev.

Progressive reading

Need Read
Default This file
DI / lifecycle detail references/di-and-lifecycle.md
Hand-written mod.go template references/module-template.md
Shared Load types docs/di-reference.md
Filled CRUD gold standard mod/example/

Steps

1. Requirements

Name (Name() → YAML key), Config?, Map outputs?, Load inputs?, long-running Start?, HTTP vs worker vs infra client.

2. Lifecycle

Pick only needed phases. Common:

  • Infra client: Config + PreInit (Map) + Init + Stop
  • HTTP API: Load (Load jin + DB, routes)
  • Worker: Load/PostInit + Start + Stop

Details: references/di-and-lifecycle.md.

3. Config

Struct with both yaml and mapstructure tags; Config() any { return &m.config }.

4. DI plan

Map in PreInit with pointers; Load in Load/Init+ from docs/di-reference.md. Modules must not construct peers' clients — only Hub. Importing a type package for Load is fine.

5. Scaffold

go run . create -n <moduleName>

Copies mod/example/ (Item CRUD + pkg/stdao), replaces example → <moduleName>, skips embed.go. Rename types/routes to the domain. Drop unused layers for infra-only modules.

6. Register

Add &<moduleName>.Mod{} to cmd/server/modList/list.go. Same-phase order matters if B.PreInit Loads what A.PreInit Maps.

7. Config YAML

Add section under Name(), or go run . config.

Next

Implement layers with jframe-module-dev (start from generated code / mod/example).

Checklist

  • Embeds UnimplementedModule; var _ kernel.Module = (*Mod)(nil)
  • Config dual tags; Map/Load pointers + error checks
  • Stop: defer wg.Done()
  • In modList + config defaults
  • go build ./...

Read the full file on GitHub · 76 lines

Files

What ships with it

2 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.

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. 1mo ago Changed · -225 lines · -106 tokens per session 245653e3bcf0
  2. 2mo ago First seen · 301 lines · 185 tokens per session scan A f6c8efd35bd1

Subscribe to this mod's changes

jframe-module-design is a skill published in the GitHub repository juanjiTech/jframe (4 stars, last pushed 4d ago), licensed Apache-2.0. It adds 79 tokens to every session and 631 once invoked, about $0.0003 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.

Related

jframe-module-design compared with skills from other repositories

jframe-module-design next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
jframe-module-designjuanjiTech/jframeSkill44d agoApache-2.0A79Claude Code
mem0-oss-to-platformmem0ai/mem0Skill68k2d agoApache-2.0A217Claude Code, Codex
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.2kyesterdayMITA78Claude Code
fastapi-router-pymicrosoft/skillsSkill3.2kyesterdayMITA46Claude Code
dev-runtimelangwatch/langwatchSkill5.0kyesterdayApache-2.0A172Claude Code
api-designericrisco/rsc-harnessSkill5032d agoMITA105Claude Code, Codex
migrate-segw-to-raparc-mcp/arc-1Skill252yesterdayMITA106Claude Code