Skip to content

Update the documentation to support the new packmind-cli playbookworkflow#277

Merged
vincent-psarga merged 11 commits intomainfrom
doc/introduce-new-playbook-workflow
Apr 8, 2026
Merged

Update the documentation to support the new packmind-cli playbookworkflow#277
vincent-psarga merged 11 commits intomainfrom
doc/introduce-new-playbook-workflow

Conversation

@vincent-psarga
Copy link
Copy Markdown
Contributor

@vincent-psarga vincent-psarga commented Apr 3, 2026

Explanation

Next release of the cli will include playbook submit --no-review - these changes in the documentation will cover the new flows.

  • Drop references to unssuported commands (packmind-cli diff, packmind-cli <artifact> create)
  • Drop references to old skills (packmind-create-command etc)

Relates to #

Type of Change

  • Bug fix
  • New feature
  • Improvement/Enhancement
  • Refactoring
  • Documentation
  • Breaking change

Affected Components

  • Domain packages affected:
  • Frontend / Backend / Both:
  • Breaking changes (if any):

Testing

  • Unit tests added/updated
  • Integration tests added/updated
  • Manual testing completed
  • Test coverage maintained or improved

Test Details:

TODO List

  • CHANGELOG Updated
  • Documentation Updated

Reviewer Notes

Summary by CodeRabbit

Documentation

  • Unified artifact workflow: replaced multiple AI creation commands with a single playbook-based skill and updated examples/tips.
  • Consolidated CLI guidance: use playbook add / playbook submit (with --no-review for direct updates); removed legacy create commands.
  • Simplified standard/command creation docs and playbook format guidance.
  • Updated SSO/authentication info to list Google, Microsoft, and GitHub.

Chores

  • Removed obsolete CLI docs and updated guides and UI wording to reflect the unified playbook workflow.

@mintlify
Copy link
Copy Markdown

mintlify Bot commented Apr 3, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
packmind 🟢 Ready View Preview Apr 3, 2026, 1:59 PM

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 3, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: f9e7b433-e982-4a41-a027-4ab4b24ce07f

📥 Commits

Reviewing files that changed from the base of the PR and between dfb0c71 and 8c15283.

📒 Files selected for processing (7)
  • apps/doc/concepts/commands-management.mdx
  • apps/doc/concepts/skills-management.mdx
  • apps/doc/concepts/standards-management.mdx
  • apps/doc/getting-started/gs-create-skill.mdx
  • apps/doc/getting-started/gs-create-standard.mdx
  • apps/doc/playbook-maintenance/updating-your-playbook.mdx
  • apps/doc/tools/cli.mdx

📝 Walkthrough

Walkthrough

The pull request consolidates multiple agent creation commands into a single /packmind-update-playbook skill, standardizes CLI workflows to packmind-cli playbook add + packmind-cli playbook submit (with --no-review option), and removes the standard-create.md CLI doc page.

Changes

Cohort / File(s) Summary
Deleted CLI Documentation
apps/cli/docs/commands/standard-create.md
Removed the entire CLI doc page for standard:create including usage, playbook schema, examples, and error handling.
Concepts & Artifact Management
apps/doc/concepts/commands-management.mdx, apps/doc/concepts/packages-management.mdx, apps/doc/concepts/skills-management.mdx, apps/doc/concepts/standards-management.mdx
Replaced packmind-create-* references with packmind-update-playbook; added playbook-based CLI guidance (playbook add + playbook submit --no-review); removed Q1 2026 timeline and updated default-skill/assistant notes.
Getting Started Guides
apps/doc/getting-started/gs-cli-setup.mdx, apps/doc/getting-started/gs-create-command.mdx, apps/doc/getting-started/gs-create-skill.mdx, apps/doc/getting-started/gs-create-standard.mdx
Swapped /packmind-create-* examples for /packmind-update-playbook; changed CLI examples to playbook add/playbook submit; simplified standard playbook format to markdown and adjusted guided steps.
Platform & Tools Documentation
apps/doc/index.mdx, apps/doc/tools/cli.mdx, apps/doc/tools/import-from-knowledge-base.mdx, apps/doc/governance/distribution.mdx, apps/doc/playbook-maintenance/updating-your-playbook.mdx, apps/doc/security/security-privacy.mdx
Unified CLI reference to playbook workflows (playbook diff/add/submit), removed deprecated command-specific docs, updated default-skill to packmind-update-playbook, removed outdated timelines, and expanded SSO provider notes.
Frontend UI Text
apps/frontend/src/domain/skills/components/SkillsImportContent.tsx
Updated displayed terminal instruction from packmind-cli skills add <skill-directory> to packmind-cli playbook add <skill-directory> && packmind-cli playbook submit.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

🐰 I dug three tunnels, tidy and bright,

Now one playbook guides the moonlit night.
Add then submit — a hop and a cheer,
The burrow is simple, the path is clear.
Clap paws, little rabbit, the changes are here!

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Description check ❓ Inconclusive The description explains the purpose (supporting new CLI playbook workflow) and lists key objectives (removing unsupported commands and old skills), but most template sections remain unchecked or incomplete. Complete the Type of Change checkbox (mark 'Documentation'), fill in Affected Components, and confirm CHANGELOG/Documentation TODO items to fully meet template requirements.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main objective: updating documentation to support the new packmind-cli playbook workflow, which is the primary focus of all changes across multiple files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch doc/introduce-new-playbook-workflow

Comment @coderabbitai help to get the list of available commands and usage tips.

Remove reference to obsolte `skills add` command
Remove outdated note
@vincent-psarga vincent-psarga marked this pull request as ready for review April 7, 2026 12:14
@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented Apr 7, 2026

Greptile Summary

This PR updates the end-user documentation to reflect the new unified playbook CLI workflow, replacing the older per-artifact creation commands (packmind-create-standard, packmind-create-command, packmind-create-skill) with the single /packmind-update-playbook skill and the playbook add / playbook submit --no-review CLI pattern.

  • The playbook submit reference table in tools/cli.mdx documents only --message but omits --no-review, which is now used in multiple code examples throughout the same file and across the docs — users consulting the reference section won't find the flag explained there.

Confidence Score: 4/5

Safe to merge after addressing the missing --no-review entry in the playbook submit reference table.

The bulk of the changes are well-executed documentation updates with no logic errors. One P1 finding: --no-review is referenced extensively in examples but never documented in the playbook submit flag table, leaving users without a canonical description of the flag. Resolving that single gap would bring this to a clean 5.

apps/doc/tools/cli.mdx — playbook submit reference table needs a --no-review entry.

Vulnerabilities

No security concerns identified. Changes are limited to documentation and a minor UI string update.

Important Files Changed

Filename Overview
apps/doc/tools/cli.mdx Updated Skills/Standards/Commands sections to reference new playbook add/submit --no-review flow, but the playbook submit reference table omits the new --no-review flag entirely.
apps/doc/getting-started/gs-create-skill.mdx Rewritten to use /packmind-update-playbook and playbook add/submit --no-review; multi-skill bulk upload example omits --no-review without explanation, inconsistent with the single-skill example above it.
apps/doc/getting-started/gs-create-standard.mdx Replaced JSON-based standards create workflow with markdown file + playbook add workflow; content is consistent and accurate.
apps/doc/concepts/commands-management.mdx Updated to /packmind-update-playbook skill; CLI examples correctly show playbook submit (without --no-review) for the change-proposal path, with an Info box guiding users who want direct updates.
apps/doc/concepts/skills-management.mdx Updated CLI examples to playbook add/submit --no-review; consistent with the rest of the skills documentation.
apps/frontend/src/domain/skills/components/SkillsImportContent.tsx Updated in-app import wizard to use playbook add/submit (without --no-review); the --no-review inconsistency vs. documentation was previously flagged in earlier review threads.
apps/cli/docs/commands/standard-create.md Deleted obsolete standards create command docs; correctly removed as the command is being replaced by the playbook workflow.
apps/doc/playbook-maintenance/updating-your-playbook.mdx Expanded direct-update section from skills-only to all artifact types using playbook add/submit --no-review; no issues found.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[Developer wants to create/update a playbook artifact] --> B{Method}
    B --> |AI-assisted| C["/packmind-update-playbook description"]
    B --> |Manual CLI| D["Edit local file (.packmind/, .claude/rules, etc.)"]
    C --> E["packmind-cli playbook add path"]
    D --> E
    E --> F{Submit mode}
    F --> |--no-review| G["Direct update (new version immediately)"]
    F --> |no flag| H["Change proposal (team review in web app)"]
    G --> I[Artifact updated in Packmind]
    H --> J[Team reviews and approves]
    J --> I
Loading

Reviews (3): Last reviewed commit: "Fix various issues shown by Code Rabbit" | Re-trigger Greptile

Comment thread apps/doc/concepts/commands-management.mdx Outdated
Comment thread apps/frontend/src/domain/skills/components/SkillsImportContent.tsx
Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 8

🧹 Nitpick comments (1)
apps/doc/tools/import-from-knowledge-base.mdx (1)

43-45: Consider adding a brief mention of how to create artifacts.

The bullets now describe what can be imported but don't mention how to create these artifacts. A brief note about using packmind-update-playbook (similar to other docs) would help maintain consistency and guide users.

📝 Suggested addition
 - **Standards** — Convert coding guidelines and conventions pages into enforceable standards that AI agents follow when generating code.
 - **Commands** — Turn step-by-step process documentation into reusable commands that automate multi-step workflows.
 - **Skills** — Create skills from pages containing relevant domain knowledge that enriches AI agent capabilities.
+
+Use the `packmind-update-playbook` skill in your AI coding assistant to create these artifacts from your imported content.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@apps/doc/tools/import-from-knowledge-base.mdx` around lines 43 - 45, Add a
brief note explaining how to create imported artifacts by referencing the
packmind-update-playbook command used elsewhere: update the "Standards /
Commands / Skills" bullets in import-from-knowledge-base.mdx to include one
sentence that instructs users to create or update the corresponding artifact
using the packmind-update-playbook tool (mention the exact command name
packmind-update-playbook), mirroring other docs for consistency and guiding
users on how to produce those Standards, Commands, and Skills before importing
them.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@apps/doc/concepts/commands-management.mdx`:
- Line 100: Replace the incorrect phrase "`playbook`command of the cli" with the
corrected text "`playbook` command of the CLI" in the content (look for that
exact phrase in apps/doc/concepts/commands-management.mdx) so there is a space
after the inline code and "CLI" uses proper casing.

In `@apps/doc/concepts/standards-management.mdx`:
- Around line 78-81: The sentence about the `--no-review` flag is ambiguous;
rewrite the passage referencing `--no-review` so it explicitly states that using
`--no-review` triggers a direct update and disables the change-proposals
validation, and that validation via the change-proposals system occurs only when
`--no-review` is omitted (i.e., do not pass `--no-review` to get validation).
Update the text around the `--no-review` mention and the links to [direct
update] and [change proposals] to reflect this clear, unambiguous meaning.

In `@apps/doc/getting-started/gs-create-skill.mdx`:
- Line 75: The for-loop is using a quoted glob so the shell doesn't expand
.claude/skills/*/; update the loop that iterates over directories (the `for dir
in ...; do packmind-cli playbook add "$dir"; done` line) to use an unquoted glob
pattern so the shell expands the wildcard (i.e., remove the surrounding quotes
around .claude/skills/*/), ensuring `packmind-cli playbook add "$dir"` is
invoked for each actual skill directory.

In `@apps/doc/getting-started/gs-create-standard.mdx`:
- Around line 79-80: The CLI example uses an inconsistent path and omits the
submit step: update the command block to use a consistent directory (choose
either ./packmind/... or .packmind/... and make both occurrences match), and add
the missing submission command so the staged standard is actually submitted
(include the sequence: packmind-cli playbook add <path-to-standards-file>
followed by packmind-cli playbook submit). Ensure the referenced commands are
exactly "packmind-cli playbook add" and "packmind-cli playbook submit" so
readers can follow the full flow.

In `@apps/doc/playbook-maintenance/updating-your-playbook.mdx`:
- Line 22: Fix the typo in the sentence "Standard, commands and skills can be
directly imported or updated using the CLI:" by pluralizing "Standard" to
"Standards" so the line reads "Standards, commands and skills can be directly
imported or updated using the CLI:"; update that exact sentence in the document
to match the rest of the docs' terminology.

In `@apps/doc/tools/cli.mdx`:
- Line 22: Update the command description for "playbook add" to fix grammar and
spelling: change "Stage a change between a local files and Packmind artefacts"
to "Stage a change between local files and Packmind artifacts" (remove the
extraneous "a" before "local files" and replace "artefacts" with "artifacts");
edit the string where "playbook add" is defined in apps/doc/tools/cli.mdx.
- Around line 846-847: The docs currently show only the staging step
"packmind-cli playbook add path/to-command.md" which doesn't actually
create/update the command; add the submission step "packmind-cli playbook
submit" immediately after the add command so the flow stages then submits the
playbook, ensuring the command is created/updated in Packmind. Reference the
existing CLI commands: packmind-cli playbook add and packmind-cli playbook
submit and ensure ordering is add → submit.

In `@apps/frontend/src/domain/skills/components/SkillsImportContent.tsx`:
- Around line 331-335: The displayed terminal command in SkillsImportContent
uses "playbook submit" but the docs expect "playbook submit --no-review"; update
the CopiableTextField value in the SkillsImportContent component to include the
--no-review flag (i.e., change the string passed to CopiableTextField) so the UI
matches documentation and clarifies imports skip review; ensure you only edit
the value prop in the CopiableTextField usage to "packmind-cli playbook add
<skill-directory> && packmind-cli playbook submit --no-review".

---

Nitpick comments:
In `@apps/doc/tools/import-from-knowledge-base.mdx`:
- Around line 43-45: Add a brief note explaining how to create imported
artifacts by referencing the packmind-update-playbook command used elsewhere:
update the "Standards / Commands / Skills" bullets in
import-from-knowledge-base.mdx to include one sentence that instructs users to
create or update the corresponding artifact using the packmind-update-playbook
tool (mention the exact command name packmind-update-playbook), mirroring other
docs for consistency and guiding users on how to produce those Standards,
Commands, and Skills before importing them.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: d9d9a2a7-a420-4b0c-bbdb-e7b71a543f98

📥 Commits

Reviewing files that changed from the base of the PR and between 18c8c34 and 4b35e37.

📒 Files selected for processing (16)
  • apps/cli/docs/commands/standard-create.md
  • apps/doc/concepts/commands-management.mdx
  • apps/doc/concepts/packages-management.mdx
  • apps/doc/concepts/skills-management.mdx
  • apps/doc/concepts/standards-management.mdx
  • apps/doc/getting-started/gs-cli-setup.mdx
  • apps/doc/getting-started/gs-create-command.mdx
  • apps/doc/getting-started/gs-create-skill.mdx
  • apps/doc/getting-started/gs-create-standard.mdx
  • apps/doc/governance/distribution.mdx
  • apps/doc/index.mdx
  • apps/doc/playbook-maintenance/updating-your-playbook.mdx
  • apps/doc/security/security-privacy.mdx
  • apps/doc/tools/cli.mdx
  • apps/doc/tools/import-from-knowledge-base.mdx
  • apps/frontend/src/domain/skills/components/SkillsImportContent.tsx
💤 Files with no reviewable changes (1)
  • apps/cli/docs/commands/standard-create.md

Comment thread apps/doc/concepts/commands-management.mdx Outdated
Comment thread apps/doc/concepts/standards-management.mdx Outdated
Comment thread apps/doc/getting-started/gs-create-skill.mdx
Comment thread apps/doc/getting-started/gs-create-standard.mdx Outdated
Comment thread apps/doc/playbook-maintenance/updating-your-playbook.mdx Outdated
Comment thread apps/doc/tools/cli.mdx Outdated
Comment thread apps/doc/tools/cli.mdx
Comment thread apps/frontend/src/domain/skills/components/SkillsImportContent.tsx
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented Apr 8, 2026

Tip:

Greploops — Automatically fix all review issues by running /greploops in Claude Code. It iterates: fix, push, re-review, repeat until 5/5 confidence.

Use the Greptile plugin for Claude Code to query reviews, search comments, and manage custom context directly from your terminal.

@vincent-psarga vincent-psarga merged commit b5b4178 into main Apr 8, 2026
11 of 12 checks passed
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Apr 8, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant