Skip to content
Back to skills

Work Link Sync

ASecurity

Links new Drive files into the Master Product List spreadsheet and the Master Documentation. Use after publishing a PRD or BRD so the index does not drift.

  • 33 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 23, 2026
ai-agentspythongobashapidocumentation

Works with

  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 23, 2026

npx -y skills add BrianArfi/ai-second-brain --skill work-link-sync --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Work Link Sync?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Work Link Sync
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/brianarfi-work-link-sync/badge)](https://www.skillsdirectory.com/skills/brianarfi-work-link-sync)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: work-link-sync
description: Links new Drive files into the Master Product List spreadsheet and the Master Documentation. Use after publishing a PRD or BRD so the index does not drift.
---

# work-link-sync

Auto-link new Work Drive files to the Master Product List spreadsheet and Master Documentation.

## When to use

Every time a file is created or updated in Work Drive (a new PRD, a new doc, a new reference), run this skill so that:
1. The **spreadsheet** (Master Product List) gets a hyperlink to the new file
2. The **master doc** for that component gets the file in its Related Documents section

## Usage

```bash
python3 .agent/skills/work-link-sync/link_sync.py \
  --url "<google_doc_url>" \
  --name "<display_name>" \
  --component "<component_name>" \
  --type <prd|master|reference>
```

## Arguments

| Argument | Required | Description |
|---|---|---|
| `--url` | Yes | Full Google Doc URL |
| `--name` | Yes | Display name shown in spreadsheet and master doc |
| `--component` | Yes | Component name. Accepts aliases (see below). |
| `--type` | No | `prd`, `master`, or `reference` (default: `reference`) |
| `--spreadsheet-only` | No | Only update spreadsheet, skip Master Doc |

## Supported Components & Aliases

| Canonical Name | Accepted Aliases |
|---|---|
| IAM (Identity Access Management) | `iam`, `identity` |
| Gamification | `gamification`, `gamif` |
| Promotion Engine | `promotion`, `promo`, `voucher` |
| Blockchain | `blockchain`, `crypto` |
| Mixed Payment | `mixed payment`, `payment` |

## Examples

```bash
# New PRD for IAM Phase 2
python3 .agent/skills/work-link-sync/link_sync.py \
  --url "https://docs.google.com/document/d/ABC/edit" \
  --name "PRD: IAM RBAC Engine" \
  --component "iam" \
  --type prd

# New reference doc for Blockchain
python3 .agent/skills/work-link-sync/link_sync.py \
  --url "https://docs.google.com/document/d/XYZ/edit" \
  --name "Blockchain Smart Contract Audit Report" \
  --component "blockchain" \
  --type reference

# Update spreadsheet only (skip Master Doc)
python3 .agent/skills/work-link-sync/link_sync.py \
  --url "https://..." \
  --name "Gamification Rules Engine Spec" \
  --component "gamification" \
  --type prd \
  --spreadsheet-only
```

## Adding New Components

Edit `link_sync.py`:
1. Add to `MASTER_DOCS` dict: `'New Component': '<google_doc_id>'`
2. Add aliases to `COMPONENT_ALIASES` dict

## Note on Master Doc Updates

Master Doc updates require the Google Docs API to be enabled in Google Cloud Console (project 352863487418). If not enabled, the script will skip Master Doc update and print the Master Doc URL for manual update.

Files in this skill

  • SKILL.md2.6 KB
  • add_missing_from_wip.py11.6 KB
  • batch_master_docs_upload.py17.6 KB
  • fix_column_b_links.py9.8 KB
  • link_sync.py10 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.