/

AI & LLM

Jul 18, 2022

Jul 18, 2022

Pieces User Stories: Use snippets between projects

Saving useful snippets that are complex or hard to remember and transporting them between projects makes Pieces a consistent part of Connor's workflow.

An illustration of Connor.
An illustration of Connor.
An illustration of Connor.

Like most senior developers, Connor has a long history of working on more than one project at the same time. He often uses Pieces to save snippets that he can use in a different project or in the future.

“If I know I'm going to be using a snippet outside of the current project, I'll save it. Like, there are process.run functions in Dart, and some get pretty complex. If I know that it was extremely useful and I could see myself using it for something else, like on a web extension for example, I’ll save it.”

Connor’s most-used Pieces plugin? The CLI. “I often use the Pieces CLI. So, I’ll run a command in the terminal, and if everything works, I run --pieces save recent and bam, it's a snippet.”

And, saving useful snippets that are complex or hard to remember makes Pieces a consistent part of his workflow. “I use Pieces to save shell commands that are very long and hard to remember, like a shell command that I’ve chained together. And then if there are certain Dart code blocks or functions that I'm going to use in the future, I'll just copy and paste that into Pieces for Developers.”

SHARE

Pieces User Stories: Use snippets between projects

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.