Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

updating-architecture-docs

Skill by replicate

Guides an AI assistant in updating, reviewing, or creating architecture docs in the architecture/ directory of the Cog repository. It is aimed at maintainers who keep those docs accurate as the code changes.

  • Score 90
  • 9.5k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install updating-architecture-docs

Built from the published package, never by AI.

git clone --depth 1 https://github.com/replicate/cog /tmp/cog && mkdir -p ~/.claude/skills && cp -r /tmp/cog/.agents/skills/updating-architecture-docs ~/.claude/skills/updating-architecture-docs

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install updating-architecture-docs in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill guides an AI assistant through updating, reviewing, or creating architecture documentation in the architecture/ directory of the Cog project. It explains the purpose of those docs, which is to bridge readers from knowing what Cog does to navigating its source code. It also sets rules for what to document, such as interfaces and design rationale rather than internals.

It describes when to trigger an update, such as IPC changes, new endpoints, CLI commands, or build pipeline changes, and when not to, such as bug fixes or internal refactors. It also covers auditing docs against the codebase and classifying issues as structural, misleading, missing, or stale. The skill is aimed at contributors and maintainers of Cog who keep these docs in step with the code.

Written from the project's SKILL.md and checked against it.

What it can do

  • Audit docs for accuracyChecks claims in the architecture docs against the source and classifies any issues found.
  • Decide if a change needs a doc updateTells whether a code change touches an interface or boundary the docs cover.
  • Create new architecture docsGuides adding a new doc when a topic becomes important enough for its own section.
  • Explain design decisionsAsks that each major structural choice include a short rationale for why it was made.
  • Follow writing conventionsKeeps new content in the tone and level of detail of the existing architecture docs.
  • Suggest diagramsRecommends Mermaid or ASCII diagrams, with each diagram focused on one concept.

Try asking

  • Check whether the architecture docs need updating after this refactor.
  • Audit the architecture/ directory for accuracy against the current source.
  • Review this PR and tell me if the architecture docs need changes.

Good to know

  • Written for the Cog project and its architecture/ directory.
  • Architecture docs are not a substitute for reading code or a prose summary of the implementation.
  • Bug fixes, internal refactors, performance work and test changes do not need doc updates.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/updating-architecture-docs/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md8 KB

Alternatives to updating-architecture-docs

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

updating-architecture-docs: common questions

Does this skill work on any codebase?

It is written for the architecture/ directory of the Cog project, with Cog-specific facts such as the coglet runtime and package layout.

Which changes require an architecture doc update?

The source lists new or removed IPC message types, new or changed HTTP endpoints, new CLI commands, build pipeline changes, and new top-level packages or crates.

Should architecture docs include implementation details?

No. The source says they should focus on interfaces between components and the reasons behind design decisions, not internals that a refactor would change.

How do I install updating-architecture-docs?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is updating-architecture-docs free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is updating-architecture-docs safe to use?

It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to updating-architecture-docs?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

updating-architecture-docs Install

Add to stack

Loading.