/

Insights

Jun 16, 2022

Jun 16, 2022

Pieces User Stories: Replicate processes step-by-step

Sam uses Pieces in all stages of his workflow, from designing a project right through implementation with the rest of the team.

An illustration of Sam.
An illustration of Sam.
An illustration of Sam.

Sam is a Machine Learning Engineer who uses Pieces to keep his code consistent over time.

“I like to save shell commands in Pieces, because in my workflow, I'm usually in the shell at the very start of designing a product, when I'm manipulating data. A lot of these commands I only use once every three or four weeks. An example would be things like commands to shuffle and select data points from a nested directory, or a sequence of commands to set up a cloud instance or push data to it. What I used to have to do was launch on a sort of exploration mission to try and find all the commands again or go through my internet history. Now it's just massively easier.”

One of Sam's snippets in Pieces.

As his Pieces library grows, Sam chooses to rename his snippets to help find things more easily. “I rename my snippets where the first part of the name will be what I use it for, like data collection, and then a more precise description.”

This has saved him a ton of time over his pre-Pieces workflow. “I used to search the command history in my terminal for snippets I needed to reuse, but often it was hard to remember the keywords. Instead, I save them in Pieces and I name or tag them in order of operations, so I'll go to the first snippet and then just iterate along for the next five snippets.”

SHARE

Pieces User Stories: Replicate processes step-by-step

Recent

Sep 17, 2025

Sep 17, 2025

Prototypes: the glue of Long-Term Memory

Explore how prototypes lay the foundation for long-term memory in AI. Learn why early experiments, iteration, and design “blueprints” are critical for building durable, context-rich intelligence.

Explore how prototypes lay the foundation for long-term memory in AI. Learn why early experiments, iteration, and design “blueprints” are critical for building durable, context-rich intelligence.

Sep 15, 2025

Sep 15, 2025

Why developers need AI that actually gets Their context

Tired of re-explaining your codebase to AI every week? Discover why developers need context-aware AI that remembers your workflow. Learn how Workstream Activity, Sources, and Time Ranges in Pieces give you control, continuity, and a searchable memory for your entire dev process.

Tired of re-explaining your codebase to AI every week? Discover why developers need context-aware AI that remembers your workflow. Learn how Workstream Activity, Sources, and Time Ranges in Pieces give you control, continuity, and a searchable memory for your entire dev process.

Sep 11, 2025

Sep 11, 2025

AI memory explained: what Perplexity, ChatGPT, Pieces, and Claude remember (and forget)

Discover the different types of AI memory, how they work, key use cases, and the best prompting approaches to get accurate, context-aware responses

Discover the different types of AI memory, how they work, key use cases, and the best prompting approaches to get accurate, context-aware responses

our newsletter

Sign up for The Pieces Post

Check out our monthly newsletter for curated tips & tricks, product updates, industry insights and more.

our newsletter

Sign up for The Pieces Post

Check out our monthly newsletter for curated tips & tricks, product updates, industry insights and more.

our newsletter

Sign up for The Pieces Post

Check out our monthly newsletter for curated tips & tricks, product updates, industry insights and more.