# Create and Share Polished p11 Documents

Creating shareable, reviewable documents with comments usually requires multiple tools and complex workflows. This skill lets you author polished documents as React code and publish them with a shareable link using the p11 CLI.

## Install

```bash
npx skillstore add rarexlabs/share
```

## Metadata

- - Slug: rarexlabs-share
- - Version: 1.0.1
- - Author: rarexlabs
- - GitHub username: rarexlabs
- - License: MIT
- - Repository: https://github.com/rarexlabs/p11-public/tree/main/plugins/p11/skills/share
- - Ref: main
- - Supported tools: Claude, Codex, Claude Code
- - Risk level: low
- - Risk factors: external\_commands
- - Quality score: 75
- - Public page: https://skillstore.pages.dev/skills/rarexlabs-share
- - Manifest: https://skillstore.pages.dev/api/skills/rarexlabs-share/manifest

## Capabilities

- Create new p11 documents from text prompts as shareable .tsx files
- Update existing p11 documents and publish new versions using edit URLs
- Generate proposals, briefs, reports, specs, plans, memos, and review drafts
- Validate documents for correct component usage before publishing
- Provide both shareable read URLs and private edit URLs for published documents
- Format documents with React components including headings, sections, tables, and code blocks

## Use Cases

- Draft and Share a Project Proposal: Turn meeting notes into a formatted proposal document with sections, headings, and tables, then publish it for team review.
- Publish Technical Documentation: Create structured documentation with code examples and share it with a commentable link for developer feedback.
- Create Reviewable Specification Documents: Author detailed spec documents that stakeholders can review inline with comments before approval.

## Prompt Templates

### Create a Simple Document

```
Create a p11 document with the title 'Weekly Status Report' containing sections for accomplishments, blockers, and next steps.
```

### Document with Tables and Lists

```
Create a p11 document comparing three solutions. Include a feature comparison table and a bullet list of pros and cons for each option.
```

### Update an Existing Document

```
Update the existing report at report.tsx using the edit URL provided. Add a new section for Q4 results with a data table.
```

### Multi-Format Document with Code Examples

```
Create a technical specification document with a title page, an introduction section, a code example using CodeBlock, and a requirements table. Use pageless mode for continuous scrolling.
```

## Limitations

- Requires the p11 CLI to be installed in the execution environment
- Documents must use only document-safe components from @p11-core/components
- Cannot include interactive elements such as forms, buttons, or navigation
- Does not support local preview of documents before publishing

## Best Practices

- Always verify the p11 CLI is installed and up to date before creating or updating documents.
- Use only document-safe components from @p11-core/components to ensure documents render correctly.
- Keep edit URLs private and share only read URLs for document review.

## Anti Patterns

- Do not include interactive React components like forms, buttons, or navigation in p11 documents.
- Do not install the p11 CLI as a project dependency; use global installation or npx instead.
- Do not expose edit URLs in logs or to reviewers; they grant update and delete access.

## Security Audit

- - Safe to publish: true
- - Audited at: 2026-05-23T05:38:12.847\+00:00
- - Summary: All 51 static findings are false positives. The 4 'Weak cryptographic algorithm' alerts target YAML description strings and a React component name \(DefinitionDescription\) containing the substring 'DES'. The 47 'Ruby/shell backtick execution' alerts are markdown code formatting backticks, not shell operators. The skill does legitimately invoke CLI commands \(p11, npm\) as part of its document publishing workflow, which is the basis for the external\_commands risk factor. No malicious intent, data exfiltration, or prompt injection detected.

## Stats

- - Views: 0
- - Downloads: 0
- - Favorites: 0
- - Popularity score: 0
