Putior banner
pjt222 pjt222

Putior

Productivity community

Description

Extract workflow diagrams from code annotations across 30+ languages

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

putior putior hex logo

[![R CMD check](https://github.com/pjt222/putior/workflows/R-CMD-check/badge.svg)](https://github.com/pjt222/putior/actions) [![CRAN status](https://www.r-pkg.org/badges/version/putior)](https://CRAN.R-project.org/package=putior) [![CRAN downloads](https://cranlogs.r-pkg.org/badges/grand-total/putior)](https://cran.r-project.org/package=putior) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable) [![Quick Ref](https://img.shields.io/badge/Quick_Ref-online-blue.svg)](https://pjt222.github.io/putior/articles/quick-reference.html) [![Sponsor](https://img.shields.io/github/sponsors/pjt222?style=flat&logo=GitHub-Sponsors&logoColor=%23EA4AAA&label=Sponsor)](https://github.com/sponsors/pjt222)

**Extract beautiful workflow diagrams from your code annotations**

![putior demo: annotate code, generate workflow diagrams](man/figures/demo.gif)

**putior** (PUT + Input + Output + R) extracts structured annotations from source code and generates Mermaid flowchart diagrams. Document data pipelines, visualize workflows, and understand complex codebases -- across 30+ programming languages.

TL;DR

# 1. Add annotation to your script
# put label:"Load Data", output:"clean.csv"

# 2. Generate diagram
library(putior)
put_diagram(put("./"))
See result
flowchart TD
    node1[Load Data]
    artifact_clean_csv[(clean.csv)]
    node1 --> artifact_clean_csv
    classDef processStyle fill:#ede9fe,stroke:#7c3aed,stroke-width:2px,color:#5b21b6
    class node1 processStyle
    classDef artifactStyle fill:#f3f4f6,stroke:#6b7280,stroke-width:1px,color:#374151
    class artifact_clean_csv artifactStyle

Key Features

  • Simple annotations -- o