Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
lingzhi227 avatar

Algorithm Design

  • 1.3k installs
  • 255 repo stars
  • Updated February 27, 2026
  • lingzhi227/agent-research-skills

algorithm-design provides documented workflows for Design algorithms with LaTeX pseudocode and UML diagrams. Generate algorithmic environments, Mermaid class/sequence diagrams, and ensure consistency between pse

About

The algorithm-design skill design algorithms with LaTeX pseudocode and UML diagrams Generate algorithmic environments Mermaid class sequence diagrams and ensure consistency between pseudocode and implementation Use when formalizing methods for a paper Algorithm Design Formalize methods into algorithm pseudocode and system architecture diagrams Input 0 Method description or implementation to formalize References Algorithm and diagram templates claude skills algorithm-design references algorithm-templates md Workflow Step 1 Formalize the Algorithm 1 Define clear inputs and outputs 2 Identify the main loop recursive structure 3 Specify all parameters and their types 4 Write step-by-step pseudocode Step 2 Generate LaTeX Pseudocode Use algorithm algpseudocode environments latex begin algorithm t caption Method Name label alg method begin algorithmic 1 Require Input x parameters theta Ensure Output y State Initialize For t 1 to T State z_t gets f x_t theta If convergence criterion met State textbf break EndIf EndFor State Return y end algorithmic end algorithm Step 3 Generate UML Diagrams Mermaid Class Diagram mermaid classDiagram class Model forward x Tensor Tensor train_step batch flo.

  • `$0` - Method description or implementation to formalize
  • Algorithm and diagram templates: `~/.claude/skills/algorithm-design/references/algorithm-templates.md`
  • Define clear inputs and outputs
  • Identify the main loop / recursive structure
  • Specify all parameters and their types

Algorithm Design by the numbers

  • 1,289 all-time installs (skills.sh)
  • +40 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Ranked #251 of 2,064 Data Science & ML skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

algorithm-design capabilities & compatibility

Capabilities
`$0` method description or implementation to f · algorithm and diagram templates: `~/.claude/skil · define clear inputs and outputs · identify the main loop / recursive structure · specify all parameters and their types
Use cases
documentation · planning
From the docs

What algorithm-design says it does

# Algorithm Design Formalize methods into algorithm pseudocode and system architecture diagrams.
SKILL.md
Identify the main loop / recursive structure 3.
SKILL.md
npx skills add https://github.com/lingzhi227/agent-research-skills --skill algorithm-design

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1.3k
repo stars255
Security audit3 / 3 scanners passed
Last updatedFebruary 27, 2026
Repositorylingzhi227/agent-research-skills

How do I use algorithm-design for the task described in its SKILL.md triggers?

Design algorithms with LaTeX pseudocode and UML diagrams. Generate algorithmic environments, Mermaid class/sequence diagrams, and ensure consistency between pseudocode and implementation. Use when fo.

Who is it for?

Teams invoking algorithm-design when the user request matches documented triggers and prerequisites.

Skip if: Skip when cached docs are missing, the request is a negative trigger, or another sibling skill owns the workflow.

When should I use this skill?

Design algorithms with LaTeX pseudocode and UML diagrams. Generate algorithmic environments, Mermaid class/sequence diagrams, and ensure consistency between pseudocode and implementation. Use when formalizing methods for

What you get

Step-by-step guidance grounded in algorithm-design documentation and reference files.

  • LaTeX algorithm blocks
  • Numbered pseudocode specifications

By the numbers

  • Draws templates from 2 named sources: Paper2Code and AI-Researcher

Files

SKILL.mdMarkdownGitHub ↗

Algorithm Design

Formalize methods into algorithm pseudocode and system architecture diagrams.

Input

  • $0 — Method description or implementation to formalize

References

  • Algorithm and diagram templates: ~/.claude/skills/algorithm-design/references/algorithm-templates.md

Workflow

Step 1: Formalize the Algorithm

1. Define clear inputs and outputs 2. Identify the main loop / recursive structure 3. Specify all parameters and their types 4. Write step-by-step pseudocode

Step 2: Generate LaTeX Pseudocode

Use algorithm + algpseudocode environments:

\begin{algorithm}[t]
\caption{Method Name}
\label{alg:method}
\begin{algorithmic}[1]
\Require Input $x$, parameters $\theta$
\Ensure Output $y$
\State Initialize ...
\For{$t = 1$ to $T$}
    \State $z_t \gets f(x_t; \theta)$
    \If{convergence criterion met}
        \State \textbf{break}
    \EndIf
\EndFor
\State \Return $y$
\end{algorithmic}
\end{algorithm}

Step 3: Generate UML Diagrams (Mermaid)

Class Diagram
classDiagram
    class Model {
        +forward(x: Tensor) Tensor
        +train_step(batch) float
    }
Sequence Diagram
sequenceDiagram
    participant M as Main
    participant D as DataLoader
    M->>D: load_data()
    D-->>M: batches

Step 4: Verify Consistency

  • Every pseudocode step must map to a code module
  • Every class in the UML must exist in the implementation
  • Parameter names must match between pseudocode and code

Rules

  • Use standard algorithmic notation (not code syntax)
  • Number lines for easy reference
  • Include complexity analysis as a comment or proposition
  • Use \Require / \Ensure for inputs/outputs
  • Keep pseudocode at the right abstraction level — not too detailed, not too vague

Related Skills

  • Upstream: atomic-decomposition, math-reasoning
  • Downstream: experiment-code, paper-writing-section
  • See also: symbolic-equation

Related skills

Forks & variants (2)

Algorithm Design has 2 known copies in the catalog totaling 15 installs. They canonicalize to this original listing.

How it compares

Pick algorithm-design for LaTeX and pseudocode specs from papers; pick training SDK skills when you need live experiment tracking instead of algorithm notation.

FAQ

What does algorithm-design do?

Design algorithms with LaTeX pseudocode and UML diagrams. Generate algorithmic environments, Mermaid class/sequence diagrams, and ensure consistency between pseudocode and implementation. Use when formalizing methods for

When should I use algorithm-design?

Design algorithms with LaTeX pseudocode and UML diagrams. Generate algorithmic environments, Mermaid class/sequence diagrams, and ensure consistency between pseudocode and implementation. Use when formalizing methods for

What are common prerequisites?

--- name: algorithm-design description: Design algorithms with LaTeX pseudocode and UML diagrams.

Is Algorithm Design safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.