ape-write-pseudocode SKILL.md skillA

ape-write-pseudocode from arpitbbhayani/ape-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add arpitbbhayani/ape-skills/ape-write-pseudocode@git:20260706.df9a006

Pins git:20260706.df9a006 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
arpitbbhayani/ape-skills
Path
ape-write-pseudocode/SKILL.md
Versions recorded
2
Latest version
git:20260706.df9a006, committed Jul 6, 2026
First version recorded
May 27, 2026
Size
4,260 bytes
Repository stars
49
License
MIT

Guidelines for writing pseudocode for functions and algorithms. Use this skill whenever the user asks to write pseudocode, sketch out an algorithm, or describe the logic of a function at a high level. Trigger on phrases like "write pseudocode", "sketch this algorithm", "pseudocode for this function", or "describe the logic".

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

# Pseudocode Style Guide

## Structure of a Function

Every pseudocode function has exactly three parts: input, output, and body. Use Python-like syntax: `def` for the function signature, a docstring-style comment block for input and output, and indented body lines.

```
def function_name(param1, param2, ...):
    # input:  <what each param represents>
    # output: <what the function returns or produces>

    <body>
```

## Body Rules

The body is the core of the pseudocode. Each line is a pythonic, non-functional call that names the operation and its operands -- not English prose. Invent clear, intuitive method or function names. The goal is code that reads like intent, not implementation.

- One call per logical step.
- Use `object.verb(args)` or `verb(args)` style -- never English sentences.
- No type annotations, no real data-structure internals, no language-specific APIs.
- Intermediate variable names are fine when they connect two steps.
- Never more than one idea per line.

## Control Flow

Use `if`, `elif`, `else`, and loops sparingly and only when the branching or iteration is the point of the logic. Conditions are also written as code-like expressions, not prose.

```
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add arpitbbhayani/ape-skills/ape-write-pseudocode@sha256:52101dfa09467139

The line at the top of this page pins the label git:20260706.df9a006, 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_lpa4yznudrxcs4qm.svg)](https://markdownregistry.com/a/art_lpa4yznudrxcs4qm)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between May 27, 2026 and Jul 6, 2026, about one every 40 days.

versioncommittedcommitsizeaudit
git:20260706.df9a006 latest2026-07-06 df9a006 4,260 BA view · diff
git:20260527.102cf592026-05-27 102cf59 4,259 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (4260 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

GitHub

arpitbbhayani/ape-skills · 49 stars · license MIT · pushed 2026-10-20 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_lpa4yznudrxcs4qm
GET https://markdownregistry.com/api/v1/resolve?ref=arpitbbhayani/ape-skills/ape-write-pseudocode
GET https://markdownregistry.com/api/v1/blob/52101dfa09467139d2a801610f37b623bd5c5faa5f0cacd35c8a196458d416e4

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.

More from arpitbbhayani/ape-skills

ape-cli-terminal-experience SKILL.md skill
arpitbbhayani/ape-skills · ape-cli-terminal-experience/SKILL.md · Designs the terminal experience of a CLI app the way Claude Code does it -- palette, status glyphs, spinners, progress…
git:20260820.0944a9b · audit B · 49 stars
ape-commit SKILL.md skill
arpitbbhayani/ape-skills · ape-commit/SKILL.md · Defines how to write and format git commit messages. Use this skill whenever the user asks you to write, draft…
git:20260819.66e5370 · audit A · 49 stars
array-ui-review SKILL.md skill
arpitbbhayani/ape-skills · ape-design-review/SKILL.md · Review UI code or a running page against the Array UI (array-ui) editorial systems rules (0% custom CSS, hairline…
git:20261017.6eef2a0 · audit A · 49 stars
ape-design SKILL.md skill
arpitbbhayani/ape-skills · ape-design/SKILL.md · Enforces the Array UI (array-ui) editorial systems design system for any frontend, UI, website, blog, personal site…
git:20261017.6eef2a0 · audit A · 49 stars
ape-present SKILL.md skill
arpitbbhayani/ape-skills · ape-present/SKILL.md · Converts a blog post into a single self-contained HTML document -- a visual-heavy, readable walkthrough with custom…
git:20260908.38207a5 · audit A · 49 stars
ape-quiz-me SKILL.md skill
arpitbbhayani/ape-skills · ape-quiz-me/SKILL.md · Quizzes you on content you claim to have read -- Socratic, one question at a time, hints that narrow but never reveal…
git:20260818.bac7cf3 · audit A · 49 stars
ape-style-markdown SKILL.md skill
arpitbbhayani/ape-skills · ape-style-markdown/SKILL.md · Apply consistent, professional Markdown formatting rules whenever producing or reformatting Markdown output. Use this…
git:20260527.8df3c9b · audit A · 49 stars

Every file in arpitbbhayani/ape-skills

Browse by kind, by grade A, or by owner.