Five minutes with Facet
This tutorial assumes you have installed the VS Code extension. It has two parts: a look at the demo workspace, then a small plan of your own.
Open the demo
Section titled “Open the demo”The demo is a small invented project: a plot booking app for a community garden, with a plan, a board, requirements, routines and a mindmap. Its dates are moved so that the plan is happening this week.
- Run Facet: Open Demo from the Command Palette (Ctrl+Shift+P).
- Pick an empty folder. If the folder is not empty, Facet writes the demo
into a
facet-demofolder inside it. - Facet opens the folder with its
README.md, which is a guided tour, and the Overview of the whole workspace.
From a terminal, facet demo ~/facet-demo writes the same files. Open that
folder in VS Code.
Look around
Section titled “Look around”The Facet icon in the Activity Bar opens the side bar. It lists the demo’s folders and files with their progress, open tasks and problems. Click an entry to show it in the Facet tab; click “Open File” to open its text.
Try these, in any order:
garden-app/plan.md, Gantt. Pick Gantt in the view switcher at the top of the Facet tab. Drag a bar to move a task, or drag its right edge to make it longer. Then open the file: the dates changed in the text.garden-appfolder, Kanban. The project has its own columns. Drag a card to another column and watch itsstatus::change.garden-app/requirements.md, Trace. Drag a task onto a requirement to record that the task covers it.- Facet: Today. Run it from the Command Palette. The Agenda lists what is overdue, due today and coming up. Tick a routine and its next date moves.
ideas.md, Mindmap. Drag a branch onto another one, or hover a node and use (+) to add an idea.
Click any node to select it. The details pane beside the view shows its properties, computed dates and problems, and lets you change them.
Write your own plan
Section titled “Write your own plan”Now make a plan from scratch: a small bake sale.
1. Create the folder
Section titled “1. Create the folder”Make a new folder, for example bake-sale, and put an empty .facet file
at its root. This opts the folder in. Open the folder in VS Code.
2. Write the plan
Section titled “2. Write the plan”Create plan.md with this content:
# Bake sale
## Prepare
- [ ] Book the hall [id:: hall] [start:: 2027-05-03] [duration:: 2 days]- [ ] Ask for cakes [id:: cakes] [after:: !hall] [duration:: 1 week]- [ ] Print flyers [after:: !hall] [duration:: 3 days]
## The day
- Sale day [after:: !cakes] [due:: 2027-05-20]What this says:
- Headings group the work. Each
- [ ]item is an open task. start::andduration::give “Book the hall” its dates.after:: !hallmakes a task start when the task withid:: hallends.- “Sale day” has no checkbox and a
due::but no duration: it is a milestone. It sits at the end of “Ask for cakes”, anddue::is its deadline.
The format is described in Nodes and properties, Tasks and Dates and scheduling.
3. Open the views
Section titled “3. Open the views”Click the Facet button in the editor title bar, or run Facet: Open View
to the Side. The Facet tab opens beside the editor and shows plan.md.
- Pick Gantt. “Book the hall” takes May 3 and 4. “Ask for cakes” and “Print flyers” start on May 5. The sale day diamond sits on May 12, well before its deadline. The chain that sets the end date is the critical path, and it is highlighted.
- Pick Tree. The same nodes, as an outline with progress bars.
4. Edit in the views
Section titled “4. Edit in the views”Keep plan.md open in the editor next to the Facet tab, so you can watch
the text change.
-
Move a bar. In the Gantt, drag “Print flyers” two days to the right. Facet adds a start date to the line:
- [ ] Print flyers [after:: !hall] [duration:: 3 days] [start:: 2027-05-07]A written
start::wins overafter::, so the task now stays where you put it. -
Tick a task. In the Tree, click the checkbox of “Book the hall”. The line becomes
- [x] Book the hall …. -
Rename. In the Tree, double-click “Ask for cakes”, type “Collect cakes” and press Enter. Only the title changes; the properties stay.
-
Add a task. Pick Tasks, click “+ Add task”, type “Buy paper plates” and press Enter. A new
- [ ] Buy paper platesline appears in the section shown in the composer. -
Set an owner. Click the new task to select it. In the details pane, under Properties, type
ownerin the key field and@samin the value field, then press Enter. Facet writes[owner:: @sam]on the line.
Each edit is a normal change to the file: Ctrl+Z in the text editor undoes it, and git shows it in a diff. You can also edit the text by hand at any time; the views follow.
- Read about each view, starting with the Gantt.
- Learn the file format.
- Let an AI agent work on the plan: Facet for agents.