Home / tailcallhq / forgecode · AGENTS.md · GitHub

AGENTS.md agentsA

AGENTS.md is agent-read markdown (agents) from tailcallhq/forgecode.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified before it reaches your agent: the main file against the SHA-256 recorded here, the others against the git hashes of its source commit. The deterministic audit below grades the latest version, and the same checks always give the same file the same grade.

What the file says

# Agent Guidelines

This document contains guidelines and best practices for AI agents working with this codebase.

## Error Management

- Use `anyhow::Result` for error handling in services and repositories.
- Create domain errors using `thiserror`.
- Never implement `From` for converting domain errors, manually convert them

## Writing Tests

- All tests should be written in three discrete steps:

  ```rust,ignore
  use pretty_assertions::assert_eq; // Always use pretty assertions

  fn test_foo() {
      let setup = ...; // Instantiate a fixture or setup for the test
      let actual = ...; // Execute the fixture to create an output
      let expected = ...; // Define a hand written expected result
      assert_eq!(actual, expected); // Assert that the actual result matches the expected result
  }
  ```

- Use `pretty_assertions` for better error messages.

- Use fixtures to create test data.

- Use `assert_eq!` for equality checks.

- Use `assert!(...)` for boolean checks.

- Use unwraps in test functions and anyhow::Result in fixtures.

- Keep the boilerplate to a minimum.

- Use words like `fixture`, `actual` and `expected` in test functions.
…

Read the whole file at its exact version.

How to install

Latest version
mdr add tailcallhq/forgecode/AGENTS.md@git:20251208.4905ae0
Exact content
mdr add tailcallhq/forgecode/AGENTS.md@sha256:f6fc40414b486564

Pin to a label to follow the author's releases, or to a sha256 for exact bytes. Either way the resolved hash is written to mdr.lock, and mdr install fetches those bytes again and checks them, so it installs them exactly or fails.

Badge

mdr badge

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

2 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20251208.4905ae0 latest2025-12-08 4905ae0 7,331 BA view · diff
git:20251012.e685db52025-10-12 e685db5 7,268 BA view · diff
git:20251004.564a24b2025-10-04 564a24b 7,261 BA view · diff
git:20251003.fe2c09c2025-10-03 fe2c09c 7,891 BA view · diff
git:20250930.c1ebee62025-09-30 c1ebee6 7,515 BA view

Audit of the latest version

A  14 of 14 checks passed. Deterministic, no model, same answer every run.
  • pass: Size between 200 bytes and 200 KB (7331 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

tailcallhq/forgecode · 7,637 stars · license Apache-2.0 · pushed 2026-09-26 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_lnpn5knwhyezqz52
GET https://markdownregistry.com/api/v1/resolve?ref=tailcallhq/forgecode/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/f6fc40414b4865648b66d93f8b2ac96b924ba0bd61eedad2486397d38039285d

Your agent 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.

More from tailcallhq/forgecode

create-agent skill
tailcallhq/forgecode · .forge/skills/create-agent/SKILL.md · Create new agents for the code-forge application. Agents are stored as .md files in the <cwd>/.forge/agents directory…
git:20260126.0427bf8 · audit A · 7,637 stars
create-command skill
tailcallhq/forgecode · .forge/skills/create-command/SKILL.md · Create new commands for the code-forge application. Commands are stored as .md files in the <cwd>/.forge/commands…
git:20260126.0427bf8 · audit A · 7,637 stars
create-github-issue skill
tailcallhq/forgecode · .forge/skills/create-github-issue/SKILL.md · Create GitHub issues using GitHub CLI with support for templates, labels, assignees, milestones, and draft issues. Use…
git:20260212.ac26e78 · audit A · 7,637 stars
create-plan skill
tailcallhq/forgecode · .forge/skills/create-plan/SKILL.md · Generate detailed implementation plans for complex tasks. Creates comprehensive strategic plans in Markdown format with…
git:20251211.d9b44e8 · audit A · 7,637 stars
debug-cli skill
tailcallhq/forgecode · .forge/skills/debug-cli/SKILL.md · Use when users need to debug, modify, or extend the code-forge application's CLI commands, argument parsing, or CLI…
git:20251129.d8cba1f · audit A · 7,637 stars
github-pr-comments skill
tailcallhq/forgecode · .forge/skills/github-pr-comments/SKILL.md · Resolve inline code review comments on a GitHub PR. Use when asked to "resolve review comments", "address PR feedback"…
git:20260402.238a5b9 · audit A · 7,637 stars
post-forge-feature skill
tailcallhq/forgecode · .forge/skills/post-forge-feature/SKILL.md · Generate a Twitter/X post highlighting a Forge feature. Use when the user asks to write a tweet, create a Twitter post…
git:20260321.bba73fb · audit A · 7,637 stars
resolve-conflicts skill
tailcallhq/forgecode · .forge/skills/resolve-conflicts/SKILL.md · Use this skill immediately when the user mentions merge conflicts that need to be resolved. Do not attempt to resolve…
git:20251127.ee24908 · audit A · 7,637 stars
resolve-fixme skill
tailcallhq/forgecode · .forge/skills/resolve-fixme/SKILL.md · Find all FIXME comments across the codebase and fully implement the work they describe. Use when the user asks to fix…
git:20260413.7ca79c7 · audit A · 7,637 stars
test-reasoning skill
tailcallhq/forgecode · .forge/skills/test-reasoning/SKILL.md · Validate that reasoning parameters are correctly serialized and sent to provider APIs. Use when the user asks to test…
git:20260402.1e409fa · audit A · 7,637 stars
write-release-notes skill
tailcallhq/forgecode · .forge/skills/write-release-notes/SKILL.md · Generate engaging, high-energy release notes for a given version tag. Fetches the release from GitHub, retrieves every…
git:20260413.a1642f4 · audit A · 7,637 stars
minimal-skill skill
tailcallhq/forgecode · crates/forge_repo/src/fixtures/skills_with_resources/minimal-skill/SKILL.md · A minimal skill with no resources
git:20251124.2b8f212 · audit B · 7,637 stars

Every file in tailcallhq/forgecode

Other files named AGENTS.md

AGENTS.md agents
obra/superpowers · AGENTS.md
git:20260919.5bf4e78 · audit A · 291,954 stars
AGENTS.md agents
affaan-m/ecc · AGENTS.md
git:20260919.91ba9b4 · audit A · 267,959 stars
AGENTS.md agents
firecrawl/firecrawl · AGENTS.md
git:20260613.d9a35c0 · audit A · 185,025 stars
AGENTS.md agents
dietrichgebert/ponytail · AGENTS.md
git:20260710.b6c0448 · audit A · 146,855 stars
AGENTS.md agents
garrytan/gstack · AGENTS.md
git:20260924.06ed920 · audit A · 134,247 stars
AGENTS.md agents
graphify-labs/graphify · AGENTS.md
git:20260926.98d73fe · audit A · 121,673 stars
AGENTS.md agents
juliusbrussee/caveman · AGENTS.md
git:20260902.d9faebc · audit A · 107,958 stars
AGENTS.md agents
addyosmani/agent-skills · AGENTS.md
git:20260709.b665c5c · audit A · 99,372 stars

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