g-optimize SKILL.md skillA
g-optimize from onlygian/g-forge is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add onlygian/g-forge/g-optimize@git:20260722.4b86922Pins git:20260722.4b86922 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- onlygian/g-forge
- Path
skills/g-optimize/SKILL.md- Versions recorded
- 3
- Latest version
- git:20260722.4b86922, committed Jul 22, 2026
- First version recorded
- May 10, 2026
- Size
- 9,362 bytes
- Repository stars
- 4
- License
- GPL-3.0
Full-codebase or targeted performance audit. Detects algorithmic complexity problems, N+1 queries, re-render waste, resource leaks, and caching opportunities. Targeted scope produces an inline report. Whole-codebase scope produces a prioritised roadmap milestone.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
**Announce:** "Using g-optimize to scan for performance issues." You are scanning code for performance problems. You detect — you do not fix. Fixing is handled by `/g-refactor`. ## Step 1 — Determine scope **If an argument was provided** (e.g. `/g-optimize src/services`): - Set `mode: targeted`, `scope: [argument]`. Skip the question below. **If no argument was provided**, ask: > "Scan the whole codebase (findings will become a prioritised roadmap entry) or a specific area? > Type a path to scope (e.g. `src/services`) or **all** for the full codebase." Wait for the answer. Set `mode: targeted` or `mode: full` accordingly. ## Step 2 — Detect stack context Read `CLAUDE.md` and `package.json` / `pyproject.toml` / `Cargo.toml` (whichever exists) to identify: - UI framework (React, Vue, Svelte, Angular — enables UI-specific checks) - ORM or DB layer (Prisma, TypeORM, SQLAlchemy, Drizzle, ActiveRecord — enables N+1 checks) - Runtime (Node, Python, Go, Rust — determines applicable patterns) Apply scope filter: scope all subsequent searches to `[scope]` when `mode: targeted`. ## Step 3 — Pattern scan (run all in parallel) **Complexity — nested loops over collections** ```bash …
Read the whole file at its exact version.
How to install
mdr add onlygian/g-forge/g-optimize@sha256:955813ce3c3bb765The line at the top of this page pins the label git:20260722.4b86922, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_at7lwdyjmcjw5x7p)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between May 10, 2026 and Jul 22, 2026, about one every 37 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260722.4b86922 latest | 2026-07-22 | 4b86922 | 9,362 B | A | view · diff |
| git:20260629.6a13b47 | 2026-06-29 | 6a13b47 | 9,393 B | A | view · diff |
| git:20260510.aff9c16 | 2026-05-10 | aff9c16 | 9,351 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (9362 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
onlygian/g-forge · 4 stars · license GPL-3.0 · pushed 2026-10-28 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_at7lwdyjmcjw5x7p GET https://markdownregistry.com/api/v1/resolve?ref=onlygian/g-forge/g-optimize GET https://markdownregistry.com/api/v1/blob/955813ce3c3bb765e9700324dac218aa3ed380651d8916ba524eb3706d08d409
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.