Creator · AlemTuzlak
Last updated · Sep 1, 2026
Use when the agent is about to add a helper, util, type guard, mapper, or small generic function. Use when the same if/guard/snippet already appears in two places the change has opened. Don't use for UI copy, comments, one-off JSX, or for implementing feature behavior that is not
Creator · AlemTuzlak
Last updated · Sep 1, 2026
Use when the agent is about to add a helper, util, type guard, mapper, or small generic function. Use when the same if/guard/snippet already appears in two places the change has opened. Don't use for UI copy, comments, one-off JSX, or for implementing feature behavior that is not
Creator · AlemTuzlak
Last updated · Sep 1, 2026
Use when the agent is about to add a helper, util, type guard, mapper, or small generic function. Use when the same if/guard/snippet already appears in two places the change has opened. Don't use for UI copy, comments, one-off JSX, or for implementing feature behavior that is not
Creator · AlemTuzlak
Last updated · Sep 1, 2026
Use when the agent is about to add a helper, util, type guard, mapper, or small generic function. Use when the same if/guard/snippet already appears in two places the change has opened. Don't use for UI copy, comments, one-off JSX, or for implementing feature behavior that is not
Do not auto-install
Install targets
Codex install prompt
Install the "reuse-first" agent skill from https://github.com/AlemTuzlak/skills/tree/main/skills/reuse-first. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Use when the agent is about to add a helper, util, type guard, mapper, or small generic function. Use when the same if/guard/snippet already appears in two places the change has opened. Don't use for UI copy, comments, one-off JSX, or for implementing feature behavior that is not a helper. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"alemtuzlak-reuse-first","task":"Install reuse-first","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Design assets, images, video, audio, multimodal media, presentation, and creative production skills.
Scenario
Local desktop
I need my agent to operate local files and desktop apps in a repeatable workflow.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add AlemTuzlak/skills --skill reuse-first
Maintenance
fresh
9d since push
Risk
Needs review
License is unclear
GitHub quality
39
57/100 Quality · 64/100 Trust
Coverage tags
Review notes
License is unclear · Financial research output is not financial advice; require human review before any live investment decision
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
PromisingUseful candidate, but compare it with alternatives before adopting.
Trust
Do not auto-installTrust Score v5 found insufficient evidence for agent installation. Treat this as discovery material, not an executable recommendation.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Choose a stronger alternative or inspect the source manually before any install attempt.
Stars
39 GitHub stars
Repo activity
39 stars, 0 forks
Maintenance
9d since push
License
Unknown
Install
npx skills add AlemTuzlak/skills --skill reuse-first
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add AlemTuzlak/skills --skill reuse-firstDo not use when
Alternative
174.6K Stars
npx skills add anthropics/skills --skill frontend-design
Alternative
84.6K Stars
npx skills add Leonxlnx/taste-skill --skill design-taste-frontend
Alternative
1.8K Stars
npx skills add Alisa0808/vox-director --skill vox-director
Alternative
174.6K Stars
npx skills add anthropics/skills --skill canvas-design
Agent safety v2
Sparse or mixed signals. Useful for discovery, but not for autonomous installation.
Test manually in an isolated workspace and compare against safer alternatives.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20reuse-first%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20reuse-first%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/alemtuzlak-reuse-first/install
Agent should check
Copy prompt
Task: Use reuse-first in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20reuse-first%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/alemtuzlak-reuse-first/install
Install command: npx skills add AlemTuzlak/skills --skill reuse-first
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/alemtuzlak-reuse-first/install
LLM text format
/api/skills/alemtuzlak-reuse-first/install?format=text
Find alternatives
/api/skills/search?q=reuse-first&limit=3
Agent prompt
Use reuse-first for this task. Review https://www.openagentskill.com/api/skills/alemtuzlak-reuse-first/install, then install with: npx skills add AlemTuzlak/skills --skill reuse-firstRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/alemtuzlak-reuse-first
LLM text
/api/registry/manifest/alemtuzlak-reuse-first?format=text
Install alias
/api/registry/install/alemtuzlak-reuse-first
Recommend
/api/registry/recommend?task=Use%20reuse-first%20in%20an%20agent%20workflow&limit=3
Agent fit
Local desktop
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Do a manual repository review before adding this to an agent workflow.
Role in stack
Needs validation
Primary fit
Local desktop
Trust label
Needs manual review
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Trust Score v5 found insufficient evidence for agent installation. Treat this as discovery material, not an executable recommendation.
GitHub adoption
CHECK39 GitHub stars
Stars/forks activity
CHECK39 stars, 0 forks; issue activity unavailable in current metadata
Recent maintenance
PASS9d since push
License clarity
CHECKUnknown
Good signals
Review before install
Recommended action
Choose a stronger alternative or inspect the source manually before any install attempt.
Quality profile
Useful candidate, but compare it with alternatives before adopting.
Workflow fit
Operate local tools
I need my agent to operate local files and desktop apps in a repeatable workflow.
Operate web apps
I need my agent to control a browser, fill forms, and verify web app workflows.
Automate repeated work
I need my agent to automate a repeated workflow across tools and files.
Workflow fit
Design, build, test, and ship interfaces
A practical workflow for agents that turn product briefs or Figma designs into polished frontend code, review the result, test it in a browser, and prepare a safe deployment.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Alternative shortlist
Similar skills that may fit this task.
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
Turn one topic into a narrated Vox-style paper-collage explainer or ad video, from script through captions.
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
--- name: reuse-first description: Use when the agent is about to add a helper, util, type guard, mapper, or small generic function. Use when the same if/guard/snippet already appears in two places the change has opened. Don't use for UI copy, comments, one-off JSX, or for implementing feature behavior that is not a helper. ---
# Reuse First
Search for an existing helper before writing a new one. Prefer import, then extract, then write. Less code wins.
This skill owns the reuse decision and the helper’s home. It does not implement the rest of the feature. It does not load the next skill in a pipeline.
## When To Use
Load when the agent is about to add:
- a helper or util - a type guard - a mapper - a small generic function - an extract of repeated inline logic (`if (object.isCancelled || object.isRefunded)` in two functions)
Skip UI copy, comments, and one-off JSX that is not a helper.
## Hard Gates
1. **Search before write.** No new helper until Procedure 2 has run. 2. **Prove the search in one line, then act.** Do not wait for approval. 3. **Stop after the reuse decision.** Do not load another skill from this one. 4. **Do not add a new package** for a util unless the user asked.
## Domain vs generic
Decide **before** choosing a file.
1. Does it name or take a **domain type** (`Order`, `Invoice`, `Cart`)? → **domain.** Keep it next to that type (`isCancelledOrder` in `order.ts`). 2. Would it still make sense in an unrelated package with **no** domain imports (`isRecord`, `isDate`, `assertNever`)? → **generic.** Put it in the shared utils home. Do not leave it at the top of a domain file. 3. If unsure → **domain** (keep it local). Generic is the high bar.
Repeated inline logic uses the same two tests. `isCancelledOrRefunded(order)` stays next to `Order`. It does not go to shared `utils.ts`.
## Procedures
### Procedure 1: Name the job
1. State the job in one line (plain-object guard, cancelled-or-refunded check, date parse). 2. This is the search key. Search **behavior**, not only the name the agent wanted to type.
### Procedure 2: Search
Search these areas, in order. Stop when a match is found or the list is done:
1. Current package 2. Neighbor packages 3. Existing `shared` / `utils` / `lib` areas
Do not open the whole monorepo for a 3-line local helper. Do not search only the current file.
### Procedure 3: Act on what you found
Print **one** reuse line, then do the matching step. Do not wait.
**Exact match**
``` reuse: import isRecord from packages/shared/src/isRecord.ts ```
Import and call it. Do not copy it. Do not wrap it to make it nicer. Do not re-export it under a new name in this package.
**Close match (same job, missing a case)**
Prefer **extend** the existing function (option, overload, extra case). Write a new function only when the job is actually different. Do not grow a util into a second product. If the extend would change a **public API**, ask first.
**Repeated inline logic (two or more copies in files this change already opened)**
``` reuse: extracted isCancelledOrRefunded from 2 copies in order.ts ```
Extract one small function. Replace **every copy in the files already opened**. Do not mechanical-replace the rest of the monorepo. Classify domain vs generic, then place with Procedure 4.
**No match**
``` reuse: no match in current package / neighbors / shared. writing isRecord in src/utils.ts ```
Write it. Place it with Procedure 4.
### Procedure 4: Place a new helper
**Generic** (`isRecord`, `isDate`):
1. Find the repo’s existing generic-utils home (`utils.ts`, `lib/utils`, `packages/shared`, or similar). 2. Put the helper there on the **first** write. Domain files must not collect 400 lines of random utils at the top. 3. If no home exists, create the smallest file that matches this repo’s layout (usually `src/utils.ts` or `lib/utils.ts`). 4. Do not add a new package or a new `utils/` tree unless the user asked.
**Domain** (`isCancelledOrder` in `order.ts`):
1. Write it next to that type on the first call site. 2. Move it only if **this change** already has two or more real domain call sites (Procedure 3 already extracted in that case). 3. Do not extract “for later.”
### Procedure 5: Stop
After the import, extract, or write, stop. Do not implement the rest of the feature from this skill.
## Decision Tree
- About to add a helper / guard / mapper / generic util → Procedure 1 → 2 → 3 → 4 → 5. - Two copies of the same inline `if` / guard in opened files → Procedure 3 extract path. - UI copy, comments, one-off JSX → this skill does not apply. - Exact match vs close vs none → Procedure 3. - Domain vs generic → Domain vs generic section, then Procedure 4.
## Red Flags
| Signal | What it means | Do instead | |---|---|---| | Writing `isRecord` in `order.ts` | Generic parked in a domain file | Procedure 4 generic path. | | Putting `isCancelledOrder` in `utils.ts` | Domain helper in shared | Keep it next to `Order`. | | Copying an existing helper | Second `isRecord` | Import it. | | Wrapping an existing helper with a new name | Unasked abstraction | Call the original. | | "Might be reused later" into shared | Speculative extract | Domain stays local until two real copies. | | Adding `packages/shared` for one guard | New package nobody asked for | Ask, or use the existing utils home. | | Replacing similar `if`s repo-wide | Drive-by refactor | Only files this change already opened. | | No reuse line | Search was skipped | Procedure 3. Print the line first. | | Loading the next pipeline skill | Leaves compose at the workflow | Procedure 5. Stop. |
## Error Handling
- **Search areas do not exist** (no neighbors, no shared): search the current package. Write the no-match line. Place with Procedure 4. - **Two helpers do the same job under different names:** import one. Delete or stop using the duplicate in opened files. Do not add a third. - **Extend would change a public export:** stop and ask. Do not change the public API in silence. - **Unsure domain vs generic:** keep it domain-local. State that in the reuse line. - **User interrupts that the home is wrong:** move the helper in this same change. Update the imports in opened files.
Decision snapshot
recent repository activity
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for reuse-first, ready for a manual X post.
reuse-first: Use when the agent is about to add a helper, util, type guard, mapper, or small generic funct... 39 stars https://www.openagentskill.com/skills/alemtuzlak-reuse-first?ref=x
Listing + install path for reuse-first: https://www.openagentskill.com/skills/alemtuzlak-reuse-first?ref=x Install: npx skills add AlemTuzlak/skills --skill reuse-first
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to AlemTuzlak but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/alemtuzlak-reuse-first?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/alemtuzlak-reuse-first?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/alemtuzlak-reuse-first/audit)
[](https://www.openagentskill.com/skills/alemtuzlak-reuse-first?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)AlemTuzlak
@alemtuzlak
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Do not auto-install
Frontend Design
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
174.6K StarsTaste Skill: Anti-Slop Frontend
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
84.6K StarsVox Director
Turn one topic into a narrated Vox-style paper-collage explainer or ad video, from script through captions.
1.8K StarsCanvas Design
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
174.6K StarsDo not auto-install
Install targets
Codex install prompt
Install the "reuse-first" agent skill from https://github.com/AlemTuzlak/skills/tree/main/skills/reuse-first. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Use when the agent is about to add a helper, util, type guard, mapper, or small generic function. Use when the same if/guard/snippet already appears in two places the change has opened. Don't use for UI copy, comments, one-off JSX, or for implementing feature behavior that is not a helper. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"alemtuzlak-reuse-first","task":"Install reuse-first","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Design assets, images, video, audio, multimodal media, presentation, and creative production skills.
Scenario
Local desktop
I need my agent to operate local files and desktop apps in a repeatable workflow.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add AlemTuzlak/skills --skill reuse-first
Maintenance
fresh
9d since push
Risk
Needs review
License is unclear
GitHub quality
39
57/100 Quality · 64/100 Trust
Coverage tags
Review notes
License is unclear · Financial research output is not financial advice; require human review before any live investment decision
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
PromisingUseful candidate, but compare it with alternatives before adopting.
Trust
Do not auto-installTrust Score v5 found insufficient evidence for agent installation. Treat this as discovery material, not an executable recommendation.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Choose a stronger alternative or inspect the source manually before any install attempt.
Stars
39 GitHub stars
Repo activity
39 stars, 0 forks
Maintenance
9d since push
License
Unknown
Install
npx skills add AlemTuzlak/skills --skill reuse-first
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add AlemTuzlak/skills --skill reuse-firstDo not use when
Alternative
174.6K Stars
npx skills add anthropics/skills --skill frontend-design
Alternative
84.6K Stars
npx skills add Leonxlnx/taste-skill --skill design-taste-frontend
Alternative
1.8K Stars
npx skills add Alisa0808/vox-director --skill vox-director
Alternative
174.6K Stars
npx skills add anthropics/skills --skill canvas-design
Agent safety v2
Sparse or mixed signals. Useful for discovery, but not for autonomous installation.
Test manually in an isolated workspace and compare against safer alternatives.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20reuse-first%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20reuse-first%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/alemtuzlak-reuse-first/install
Agent should check
Copy prompt
Task: Use reuse-first in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20reuse-first%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/alemtuzlak-reuse-first/install
Install command: npx skills add AlemTuzlak/skills --skill reuse-first
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/alemtuzlak-reuse-first/install
LLM text format
/api/skills/alemtuzlak-reuse-first/install?format=text
Find alternatives
/api/skills/search?q=reuse-first&limit=3
Agent prompt
Use reuse-first for this task. Review https://www.openagentskill.com/api/skills/alemtuzlak-reuse-first/install, then install with: npx skills add AlemTuzlak/skills --skill reuse-firstRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/alemtuzlak-reuse-first
LLM text
/api/registry/manifest/alemtuzlak-reuse-first?format=text
Install alias
/api/registry/install/alemtuzlak-reuse-first
Recommend
/api/registry/recommend?task=Use%20reuse-first%20in%20an%20agent%20workflow&limit=3
Agent fit
Local desktop
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Do a manual repository review before adding this to an agent workflow.
Role in stack
Needs validation
Primary fit
Local desktop
Trust label
Needs manual review
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Trust Score v5 found insufficient evidence for agent installation. Treat this as discovery material, not an executable recommendation.
GitHub adoption
CHECK39 GitHub stars
Stars/forks activity
CHECK39 stars, 0 forks; issue activity unavailable in current metadata
Recent maintenance
PASS9d since push
License clarity
CHECKUnknown
Good signals
Review before install
Recommended action
Choose a stronger alternative or inspect the source manually before any install attempt.
Quality profile
Useful candidate, but compare it with alternatives before adopting.
Workflow fit
Operate local tools
I need my agent to operate local files and desktop apps in a repeatable workflow.
Operate web apps
I need my agent to control a browser, fill forms, and verify web app workflows.
Automate repeated work
I need my agent to automate a repeated workflow across tools and files.
Workflow fit
Design, build, test, and ship interfaces
A practical workflow for agents that turn product briefs or Figma designs into polished frontend code, review the result, test it in a browser, and prepare a safe deployment.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Alternative shortlist
Similar skills that may fit this task.
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
Turn one topic into a narrated Vox-style paper-collage explainer or ad video, from script through captions.
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
--- name: reuse-first description: Use when the agent is about to add a helper, util, type guard, mapper, or small generic function. Use when the same if/guard/snippet already appears in two places the change has opened. Don't use for UI copy, comments, one-off JSX, or for implementing feature behavior that is not a helper. ---
# Reuse First
Search for an existing helper before writing a new one. Prefer import, then extract, then write. Less code wins.
This skill owns the reuse decision and the helper’s home. It does not implement the rest of the feature. It does not load the next skill in a pipeline.
## When To Use
Load when the agent is about to add:
- a helper or util - a type guard - a mapper - a small generic function - an extract of repeated inline logic (`if (object.isCancelled || object.isRefunded)` in two functions)
Skip UI copy, comments, and one-off JSX that is not a helper.
## Hard Gates
1. **Search before write.** No new helper until Procedure 2 has run. 2. **Prove the search in one line, then act.** Do not wait for approval. 3. **Stop after the reuse decision.** Do not load another skill from this one. 4. **Do not add a new package** for a util unless the user asked.
## Domain vs generic
Decide **before** choosing a file.
1. Does it name or take a **domain type** (`Order`, `Invoice`, `Cart`)? → **domain.** Keep it next to that type (`isCancelledOrder` in `order.ts`). 2. Would it still make sense in an unrelated package with **no** domain imports (`isRecord`, `isDate`, `assertNever`)? → **generic.** Put it in the shared utils home. Do not leave it at the top of a domain file. 3. If unsure → **domain** (keep it local). Generic is the high bar.
Repeated inline logic uses the same two tests. `isCancelledOrRefunded(order)` stays next to `Order`. It does not go to shared `utils.ts`.
## Procedures
### Procedure 1: Name the job
1. State the job in one line (plain-object guard, cancelled-or-refunded check, date parse). 2. This is the search key. Search **behavior**, not only the name the agent wanted to type.
### Procedure 2: Search
Search these areas, in order. Stop when a match is found or the list is done:
1. Current package 2. Neighbor packages 3. Existing `shared` / `utils` / `lib` areas
Do not open the whole monorepo for a 3-line local helper. Do not search only the current file.
### Procedure 3: Act on what you found
Print **one** reuse line, then do the matching step. Do not wait.
**Exact match**
``` reuse: import isRecord from packages/shared/src/isRecord.ts ```
Import and call it. Do not copy it. Do not wrap it to make it nicer. Do not re-export it under a new name in this package.
**Close match (same job, missing a case)**
Prefer **extend** the existing function (option, overload, extra case). Write a new function only when the job is actually different. Do not grow a util into a second product. If the extend would change a **public API**, ask first.
**Repeated inline logic (two or more copies in files this change already opened)**
``` reuse: extracted isCancelledOrRefunded from 2 copies in order.ts ```
Extract one small function. Replace **every copy in the files already opened**. Do not mechanical-replace the rest of the monorepo. Classify domain vs generic, then place with Procedure 4.
**No match**
``` reuse: no match in current package / neighbors / shared. writing isRecord in src/utils.ts ```
Write it. Place it with Procedure 4.
### Procedure 4: Place a new helper
**Generic** (`isRecord`, `isDate`):
1. Find the repo’s existing generic-utils home (`utils.ts`, `lib/utils`, `packages/shared`, or similar). 2. Put the helper there on the **first** write. Domain files must not collect 400 lines of random utils at the top. 3. If no home exists, create the smallest file that matches this repo’s layout (usually `src/utils.ts` or `lib/utils.ts`). 4. Do not add a new package or a new `utils/` tree unless the user asked.
**Domain** (`isCancelledOrder` in `order.ts`):
1. Write it next to that type on the first call site. 2. Move it only if **this change** already has two or more real domain call sites (Procedure 3 already extracted in that case). 3. Do not extract “for later.”
### Procedure 5: Stop
After the import, extract, or write, stop. Do not implement the rest of the feature from this skill.
## Decision Tree
- About to add a helper / guard / mapper / generic util → Procedure 1 → 2 → 3 → 4 → 5. - Two copies of the same inline `if` / guard in opened files → Procedure 3 extract path. - UI copy, comments, one-off JSX → this skill does not apply. - Exact match vs close vs none → Procedure 3. - Domain vs generic → Domain vs generic section, then Procedure 4.
## Red Flags
| Signal | What it means | Do instead | |---|---|---| | Writing `isRecord` in `order.ts` | Generic parked in a domain file | Procedure 4 generic path. | | Putting `isCancelledOrder` in `utils.ts` | Domain helper in shared | Keep it next to `Order`. | | Copying an existing helper | Second `isRecord` | Import it. | | Wrapping an existing helper with a new name | Unasked abstraction | Call the original. | | "Might be reused later" into shared | Speculative extract | Domain stays local until two real copies. | | Adding `packages/shared` for one guard | New package nobody asked for | Ask, or use the existing utils home. | | Replacing similar `if`s repo-wide | Drive-by refactor | Only files this change already opened. | | No reuse line | Search was skipped | Procedure 3. Print the line first. | | Loading the next pipeline skill | Leaves compose at the workflow | Procedure 5. Stop. |
## Error Handling
- **Search areas do not exist** (no neighbors, no shared): search the current package. Write the no-match line. Place with Procedure 4. - **Two helpers do the same job under different names:** import one. Delete or stop using the duplicate in opened files. Do not add a third. - **Extend would change a public export:** stop and ask. Do not change the public API in silence. - **Unsure domain vs generic:** keep it domain-local. State that in the reuse line. - **User interrupts that the home is wrong:** move the helper in this same change. Update the imports in opened files.
Decision snapshot
recent repository activity
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for reuse-first, ready for a manual X post.
reuse-first: Use when the agent is about to add a helper, util, type guard, mapper, or small generic funct... 39 stars https://www.openagentskill.com/skills/alemtuzlak-reuse-first?ref=x
Listing + install path for reuse-first: https://www.openagentskill.com/skills/alemtuzlak-reuse-first?ref=x Install: npx skills add AlemTuzlak/skills --skill reuse-first
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to AlemTuzlak but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/alemtuzlak-reuse-first?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/alemtuzlak-reuse-first?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/alemtuzlak-reuse-first/audit)
[](https://www.openagentskill.com/skills/alemtuzlak-reuse-first?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)AlemTuzlak
@alemtuzlak
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Do not auto-install
Frontend Design
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
174.6K StarsTaste Skill: Anti-Slop Frontend
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
84.6K StarsVox Director
Turn one topic into a narrated Vox-style paper-collage explainer or ad video, from script through captions.
1.8K StarsCanvas Design
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
174.6K StarsDo not auto-install
Install targets
Codex install prompt
Install the "reuse-first" agent skill from https://github.com/AlemTuzlak/skills/tree/main/skills/reuse-first. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Use when the agent is about to add a helper, util, type guard, mapper, or small generic function. Use when the same if/guard/snippet already appears in two places the change has opened. Don't use for UI copy, comments, one-off JSX, or for implementing feature behavior that is not a helper. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"alemtuzlak-reuse-first","task":"Install reuse-first","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Design assets, images, video, audio, multimodal media, presentation, and creative production skills.
Scenario
Local desktop
I need my agent to operate local files and desktop apps in a repeatable workflow.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add AlemTuzlak/skills --skill reuse-first
Maintenance
fresh
9d since push
Risk
Needs review
License is unclear
GitHub quality
39
57/100 Quality · 64/100 Trust
Coverage tags
Review notes
License is unclear · Financial research output is not financial advice; require human review before any live investment decision
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
PromisingUseful candidate, but compare it with alternatives before adopting.
Trust
Do not auto-installTrust Score v5 found insufficient evidence for agent installation. Treat this as discovery material, not an executable recommendation.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Choose a stronger alternative or inspect the source manually before any install attempt.
Stars
39 GitHub stars
Repo activity
39 stars, 0 forks
Maintenance
9d since push
License
Unknown
Install
npx skills add AlemTuzlak/skills --skill reuse-first
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add AlemTuzlak/skills --skill reuse-firstDo not use when
Alternative
174.6K Stars
npx skills add anthropics/skills --skill frontend-design
Alternative
84.6K Stars
npx skills add Leonxlnx/taste-skill --skill design-taste-frontend
Alternative
1.8K Stars
npx skills add Alisa0808/vox-director --skill vox-director
Alternative
174.6K Stars
npx skills add anthropics/skills --skill canvas-design
Agent safety v2
Sparse or mixed signals. Useful for discovery, but not for autonomous installation.
Test manually in an isolated workspace and compare against safer alternatives.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20reuse-first%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20reuse-first%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/alemtuzlak-reuse-first/install
Agent should check
Copy prompt
Task: Use reuse-first in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20reuse-first%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/alemtuzlak-reuse-first/install
Install command: npx skills add AlemTuzlak/skills --skill reuse-first
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/alemtuzlak-reuse-first/install
LLM text format
/api/skills/alemtuzlak-reuse-first/install?format=text
Find alternatives
/api/skills/search?q=reuse-first&limit=3
Agent prompt
Use reuse-first for this task. Review https://www.openagentskill.com/api/skills/alemtuzlak-reuse-first/install, then install with: npx skills add AlemTuzlak/skills --skill reuse-firstRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/alemtuzlak-reuse-first
LLM text
/api/registry/manifest/alemtuzlak-reuse-first?format=text
Install alias
/api/registry/install/alemtuzlak-reuse-first
Recommend
/api/registry/recommend?task=Use%20reuse-first%20in%20an%20agent%20workflow&limit=3
Agent fit
Local desktop
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Do a manual repository review before adding this to an agent workflow.
Role in stack
Needs validation
Primary fit
Local desktop
Trust label
Needs manual review
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Trust Score v5 found insufficient evidence for agent installation. Treat this as discovery material, not an executable recommendation.
GitHub adoption
CHECK39 GitHub stars
Stars/forks activity
CHECK39 stars, 0 forks; issue activity unavailable in current metadata
Recent maintenance
PASS9d since push
License clarity
CHECKUnknown
Good signals
Review before install
Recommended action
Choose a stronger alternative or inspect the source manually before any install attempt.
Quality profile
Useful candidate, but compare it with alternatives before adopting.
Workflow fit
Operate local tools
I need my agent to operate local files and desktop apps in a repeatable workflow.
Operate web apps
I need my agent to control a browser, fill forms, and verify web app workflows.
Automate repeated work
I need my agent to automate a repeated workflow across tools and files.
Workflow fit
Design, build, test, and ship interfaces
A practical workflow for agents that turn product briefs or Figma designs into polished frontend code, review the result, test it in a browser, and prepare a safe deployment.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Alternative shortlist
Similar skills that may fit this task.
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
Turn one topic into a narrated Vox-style paper-collage explainer or ad video, from script through captions.
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
--- name: reuse-first description: Use when the agent is about to add a helper, util, type guard, mapper, or small generic function. Use when the same if/guard/snippet already appears in two places the change has opened. Don't use for UI copy, comments, one-off JSX, or for implementing feature behavior that is not a helper. ---
# Reuse First
Search for an existing helper before writing a new one. Prefer import, then extract, then write. Less code wins.
This skill owns the reuse decision and the helper’s home. It does not implement the rest of the feature. It does not load the next skill in a pipeline.
## When To Use
Load when the agent is about to add:
- a helper or util - a type guard - a mapper - a small generic function - an extract of repeated inline logic (`if (object.isCancelled || object.isRefunded)` in two functions)
Skip UI copy, comments, and one-off JSX that is not a helper.
## Hard Gates
1. **Search before write.** No new helper until Procedure 2 has run. 2. **Prove the search in one line, then act.** Do not wait for approval. 3. **Stop after the reuse decision.** Do not load another skill from this one. 4. **Do not add a new package** for a util unless the user asked.
## Domain vs generic
Decide **before** choosing a file.
1. Does it name or take a **domain type** (`Order`, `Invoice`, `Cart`)? → **domain.** Keep it next to that type (`isCancelledOrder` in `order.ts`). 2. Would it still make sense in an unrelated package with **no** domain imports (`isRecord`, `isDate`, `assertNever`)? → **generic.** Put it in the shared utils home. Do not leave it at the top of a domain file. 3. If unsure → **domain** (keep it local). Generic is the high bar.
Repeated inline logic uses the same two tests. `isCancelledOrRefunded(order)` stays next to `Order`. It does not go to shared `utils.ts`.
## Procedures
### Procedure 1: Name the job
1. State the job in one line (plain-object guard, cancelled-or-refunded check, date parse). 2. This is the search key. Search **behavior**, not only the name the agent wanted to type.
### Procedure 2: Search
Search these areas, in order. Stop when a match is found or the list is done:
1. Current package 2. Neighbor packages 3. Existing `shared` / `utils` / `lib` areas
Do not open the whole monorepo for a 3-line local helper. Do not search only the current file.
### Procedure 3: Act on what you found
Print **one** reuse line, then do the matching step. Do not wait.
**Exact match**
``` reuse: import isRecord from packages/shared/src/isRecord.ts ```
Import and call it. Do not copy it. Do not wrap it to make it nicer. Do not re-export it under a new name in this package.
**Close match (same job, missing a case)**
Prefer **extend** the existing function (option, overload, extra case). Write a new function only when the job is actually different. Do not grow a util into a second product. If the extend would change a **public API**, ask first.
**Repeated inline logic (two or more copies in files this change already opened)**
``` reuse: extracted isCancelledOrRefunded from 2 copies in order.ts ```
Extract one small function. Replace **every copy in the files already opened**. Do not mechanical-replace the rest of the monorepo. Classify domain vs generic, then place with Procedure 4.
**No match**
``` reuse: no match in current package / neighbors / shared. writing isRecord in src/utils.ts ```
Write it. Place it with Procedure 4.
### Procedure 4: Place a new helper
**Generic** (`isRecord`, `isDate`):
1. Find the repo’s existing generic-utils home (`utils.ts`, `lib/utils`, `packages/shared`, or similar). 2. Put the helper there on the **first** write. Domain files must not collect 400 lines of random utils at the top. 3. If no home exists, create the smallest file that matches this repo’s layout (usually `src/utils.ts` or `lib/utils.ts`). 4. Do not add a new package or a new `utils/` tree unless the user asked.
**Domain** (`isCancelledOrder` in `order.ts`):
1. Write it next to that type on the first call site. 2. Move it only if **this change** already has two or more real domain call sites (Procedure 3 already extracted in that case). 3. Do not extract “for later.”
### Procedure 5: Stop
After the import, extract, or write, stop. Do not implement the rest of the feature from this skill.
## Decision Tree
- About to add a helper / guard / mapper / generic util → Procedure 1 → 2 → 3 → 4 → 5. - Two copies of the same inline `if` / guard in opened files → Procedure 3 extract path. - UI copy, comments, one-off JSX → this skill does not apply. - Exact match vs close vs none → Procedure 3. - Domain vs generic → Domain vs generic section, then Procedure 4.
## Red Flags
| Signal | What it means | Do instead | |---|---|---| | Writing `isRecord` in `order.ts` | Generic parked in a domain file | Procedure 4 generic path. | | Putting `isCancelledOrder` in `utils.ts` | Domain helper in shared | Keep it next to `Order`. | | Copying an existing helper | Second `isRecord` | Import it. | | Wrapping an existing helper with a new name | Unasked abstraction | Call the original. | | "Might be reused later" into shared | Speculative extract | Domain stays local until two real copies. | | Adding `packages/shared` for one guard | New package nobody asked for | Ask, or use the existing utils home. | | Replacing similar `if`s repo-wide | Drive-by refactor | Only files this change already opened. | | No reuse line | Search was skipped | Procedure 3. Print the line first. | | Loading the next pipeline skill | Leaves compose at the workflow | Procedure 5. Stop. |
## Error Handling
- **Search areas do not exist** (no neighbors, no shared): search the current package. Write the no-match line. Place with Procedure 4. - **Two helpers do the same job under different names:** import one. Delete or stop using the duplicate in opened files. Do not add a third. - **Extend would change a public export:** stop and ask. Do not change the public API in silence. - **Unsure domain vs generic:** keep it domain-local. State that in the reuse line. - **User interrupts that the home is wrong:** move the helper in this same change. Update the imports in opened files.
Decision snapshot
recent repository activity
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for reuse-first, ready for a manual X post.
reuse-first: Use when the agent is about to add a helper, util, type guard, mapper, or small generic funct... 39 stars https://www.openagentskill.com/skills/alemtuzlak-reuse-first?ref=x
Listing + install path for reuse-first: https://www.openagentskill.com/skills/alemtuzlak-reuse-first?ref=x Install: npx skills add AlemTuzlak/skills --skill reuse-first
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to AlemTuzlak but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/alemtuzlak-reuse-first?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/alemtuzlak-reuse-first?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/alemtuzlak-reuse-first/audit)
[](https://www.openagentskill.com/skills/alemtuzlak-reuse-first?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)AlemTuzlak
@alemtuzlak
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Do not auto-install
Frontend Design
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
174.6K StarsTaste Skill: Anti-Slop Frontend
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
84.6K StarsVox Director
Turn one topic into a narrated Vox-style paper-collage explainer or ad video, from script through captions.
1.8K StarsCanvas Design
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
174.6K StarsDo not auto-install
Install targets
Codex install prompt
Install the "reuse-first" agent skill from https://github.com/AlemTuzlak/skills/tree/main/skills/reuse-first. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Use when the agent is about to add a helper, util, type guard, mapper, or small generic function. Use when the same if/guard/snippet already appears in two places the change has opened. Don't use for UI copy, comments, one-off JSX, or for implementing feature behavior that is not a helper. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"alemtuzlak-reuse-first","task":"Install reuse-first","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Design assets, images, video, audio, multimodal media, presentation, and creative production skills.
Scenario
Local desktop
I need my agent to operate local files and desktop apps in a repeatable workflow.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add AlemTuzlak/skills --skill reuse-first
Maintenance
fresh
9d since push
Risk
Needs review
License is unclear
GitHub quality
39
57/100 Quality · 64/100 Trust
Coverage tags
Review notes
License is unclear · Financial research output is not financial advice; require human review before any live investment decision
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
PromisingUseful candidate, but compare it with alternatives before adopting.
Trust
Do not auto-installTrust Score v5 found insufficient evidence for agent installation. Treat this as discovery material, not an executable recommendation.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Choose a stronger alternative or inspect the source manually before any install attempt.
Stars
39 GitHub stars
Repo activity
39 stars, 0 forks
Maintenance
9d since push
License
Unknown
Install
npx skills add AlemTuzlak/skills --skill reuse-first
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add AlemTuzlak/skills --skill reuse-firstDo not use when
Alternative
174.6K Stars
npx skills add anthropics/skills --skill frontend-design
Alternative
84.6K Stars
npx skills add Leonxlnx/taste-skill --skill design-taste-frontend
Alternative
1.8K Stars
npx skills add Alisa0808/vox-director --skill vox-director
Alternative
174.6K Stars
npx skills add anthropics/skills --skill canvas-design
Agent safety v2
Sparse or mixed signals. Useful for discovery, but not for autonomous installation.
Test manually in an isolated workspace and compare against safer alternatives.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20reuse-first%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20reuse-first%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/alemtuzlak-reuse-first/install
Agent should check
Copy prompt
Task: Use reuse-first in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20reuse-first%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/alemtuzlak-reuse-first/install
Install command: npx skills add AlemTuzlak/skills --skill reuse-first
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/alemtuzlak-reuse-first/install
LLM text format
/api/skills/alemtuzlak-reuse-first/install?format=text
Find alternatives
/api/skills/search?q=reuse-first&limit=3
Agent prompt
Use reuse-first for this task. Review https://www.openagentskill.com/api/skills/alemtuzlak-reuse-first/install, then install with: npx skills add AlemTuzlak/skills --skill reuse-firstRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/alemtuzlak-reuse-first
LLM text
/api/registry/manifest/alemtuzlak-reuse-first?format=text
Install alias
/api/registry/install/alemtuzlak-reuse-first
Recommend
/api/registry/recommend?task=Use%20reuse-first%20in%20an%20agent%20workflow&limit=3
Agent fit
Local desktop
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Do a manual repository review before adding this to an agent workflow.
Role in stack
Needs validation
Primary fit
Local desktop
Trust label
Needs manual review
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Trust Score v5 found insufficient evidence for agent installation. Treat this as discovery material, not an executable recommendation.
GitHub adoption
CHECK39 GitHub stars
Stars/forks activity
CHECK39 stars, 0 forks; issue activity unavailable in current metadata
Recent maintenance
PASS9d since push
License clarity
CHECKUnknown
Good signals
Review before install
Recommended action
Choose a stronger alternative or inspect the source manually before any install attempt.
Quality profile
Useful candidate, but compare it with alternatives before adopting.
Workflow fit
Operate local tools
I need my agent to operate local files and desktop apps in a repeatable workflow.
Operate web apps
I need my agent to control a browser, fill forms, and verify web app workflows.
Automate repeated work
I need my agent to automate a repeated workflow across tools and files.
Workflow fit
Design, build, test, and ship interfaces
A practical workflow for agents that turn product briefs or Figma designs into polished frontend code, review the result, test it in a browser, and prepare a safe deployment.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Alternative shortlist
Similar skills that may fit this task.
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
Turn one topic into a narrated Vox-style paper-collage explainer or ad video, from script through captions.
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
--- name: reuse-first description: Use when the agent is about to add a helper, util, type guard, mapper, or small generic function. Use when the same if/guard/snippet already appears in two places the change has opened. Don't use for UI copy, comments, one-off JSX, or for implementing feature behavior that is not a helper. ---
# Reuse First
Search for an existing helper before writing a new one. Prefer import, then extract, then write. Less code wins.
This skill owns the reuse decision and the helper’s home. It does not implement the rest of the feature. It does not load the next skill in a pipeline.
## When To Use
Load when the agent is about to add:
- a helper or util - a type guard - a mapper - a small generic function - an extract of repeated inline logic (`if (object.isCancelled || object.isRefunded)` in two functions)
Skip UI copy, comments, and one-off JSX that is not a helper.
## Hard Gates
1. **Search before write.** No new helper until Procedure 2 has run. 2. **Prove the search in one line, then act.** Do not wait for approval. 3. **Stop after the reuse decision.** Do not load another skill from this one. 4. **Do not add a new package** for a util unless the user asked.
## Domain vs generic
Decide **before** choosing a file.
1. Does it name or take a **domain type** (`Order`, `Invoice`, `Cart`)? → **domain.** Keep it next to that type (`isCancelledOrder` in `order.ts`). 2. Would it still make sense in an unrelated package with **no** domain imports (`isRecord`, `isDate`, `assertNever`)? → **generic.** Put it in the shared utils home. Do not leave it at the top of a domain file. 3. If unsure → **domain** (keep it local). Generic is the high bar.
Repeated inline logic uses the same two tests. `isCancelledOrRefunded(order)` stays next to `Order`. It does not go to shared `utils.ts`.
## Procedures
### Procedure 1: Name the job
1. State the job in one line (plain-object guard, cancelled-or-refunded check, date parse). 2. This is the search key. Search **behavior**, not only the name the agent wanted to type.
### Procedure 2: Search
Search these areas, in order. Stop when a match is found or the list is done:
1. Current package 2. Neighbor packages 3. Existing `shared` / `utils` / `lib` areas
Do not open the whole monorepo for a 3-line local helper. Do not search only the current file.
### Procedure 3: Act on what you found
Print **one** reuse line, then do the matching step. Do not wait.
**Exact match**
``` reuse: import isRecord from packages/shared/src/isRecord.ts ```
Import and call it. Do not copy it. Do not wrap it to make it nicer. Do not re-export it under a new name in this package.
**Close match (same job, missing a case)**
Prefer **extend** the existing function (option, overload, extra case). Write a new function only when the job is actually different. Do not grow a util into a second product. If the extend would change a **public API**, ask first.
**Repeated inline logic (two or more copies in files this change already opened)**
``` reuse: extracted isCancelledOrRefunded from 2 copies in order.ts ```
Extract one small function. Replace **every copy in the files already opened**. Do not mechanical-replace the rest of the monorepo. Classify domain vs generic, then place with Procedure 4.
**No match**
``` reuse: no match in current package / neighbors / shared. writing isRecord in src/utils.ts ```
Write it. Place it with Procedure 4.
### Procedure 4: Place a new helper
**Generic** (`isRecord`, `isDate`):
1. Find the repo’s existing generic-utils home (`utils.ts`, `lib/utils`, `packages/shared`, or similar). 2. Put the helper there on the **first** write. Domain files must not collect 400 lines of random utils at the top. 3. If no home exists, create the smallest file that matches this repo’s layout (usually `src/utils.ts` or `lib/utils.ts`). 4. Do not add a new package or a new `utils/` tree unless the user asked.
**Domain** (`isCancelledOrder` in `order.ts`):
1. Write it next to that type on the first call site. 2. Move it only if **this change** already has two or more real domain call sites (Procedure 3 already extracted in that case). 3. Do not extract “for later.”
### Procedure 5: Stop
After the import, extract, or write, stop. Do not implement the rest of the feature from this skill.
## Decision Tree
- About to add a helper / guard / mapper / generic util → Procedure 1 → 2 → 3 → 4 → 5. - Two copies of the same inline `if` / guard in opened files → Procedure 3 extract path. - UI copy, comments, one-off JSX → this skill does not apply. - Exact match vs close vs none → Procedure 3. - Domain vs generic → Domain vs generic section, then Procedure 4.
## Red Flags
| Signal | What it means | Do instead | |---|---|---| | Writing `isRecord` in `order.ts` | Generic parked in a domain file | Procedure 4 generic path. | | Putting `isCancelledOrder` in `utils.ts` | Domain helper in shared | Keep it next to `Order`. | | Copying an existing helper | Second `isRecord` | Import it. | | Wrapping an existing helper with a new name | Unasked abstraction | Call the original. | | "Might be reused later" into shared | Speculative extract | Domain stays local until two real copies. | | Adding `packages/shared` for one guard | New package nobody asked for | Ask, or use the existing utils home. | | Replacing similar `if`s repo-wide | Drive-by refactor | Only files this change already opened. | | No reuse line | Search was skipped | Procedure 3. Print the line first. | | Loading the next pipeline skill | Leaves compose at the workflow | Procedure 5. Stop. |
## Error Handling
- **Search areas do not exist** (no neighbors, no shared): search the current package. Write the no-match line. Place with Procedure 4. - **Two helpers do the same job under different names:** import one. Delete or stop using the duplicate in opened files. Do not add a third. - **Extend would change a public export:** stop and ask. Do not change the public API in silence. - **Unsure domain vs generic:** keep it domain-local. State that in the reuse line. - **User interrupts that the home is wrong:** move the helper in this same change. Update the imports in opened files.
Decision snapshot
recent repository activity
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for reuse-first, ready for a manual X post.
reuse-first: Use when the agent is about to add a helper, util, type guard, mapper, or small generic funct... 39 stars https://www.openagentskill.com/skills/alemtuzlak-reuse-first?ref=x
Listing + install path for reuse-first: https://www.openagentskill.com/skills/alemtuzlak-reuse-first?ref=x Install: npx skills add AlemTuzlak/skills --skill reuse-first
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to AlemTuzlak but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/alemtuzlak-reuse-first?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/alemtuzlak-reuse-first?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/alemtuzlak-reuse-first/audit)
[](https://www.openagentskill.com/skills/alemtuzlak-reuse-first?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)AlemTuzlak
@alemtuzlak
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Do not auto-install
Frontend Design
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
174.6K StarsTaste Skill: Anti-Slop Frontend
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
84.6K StarsVox Director
Turn one topic into a narrated Vox-style paper-collage explainer or ad video, from script through captions.
1.8K StarsCanvas Design
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
174.6K StarsPermission surface
filesystem or document access, network or browser access
Agent outcomes
No agent outcome data yet
Docs
Usable metadata, review docs
Risk summary
Install readiness
Permission surface
filesystem or document access, network or browser access
Agent outcomes
No agent outcome data yet
Docs
Usable metadata, review docs
Risk summary
Install readiness
Permission surface
filesystem or document access, network or browser access
Agent outcomes
No agent outcome data yet
Docs
Usable metadata, review docs
Risk summary
Install readiness
Permission surface
filesystem or document access, network or browser access
Agent outcomes
No agent outcome data yet
Docs
Usable metadata, review docs
Risk summary
Install readiness