docs(linkedin-studio): M0-15 — repoint remaining prose families + route ab-tests/plans
This commit is contained in:
parent
c0abb82d9c
commit
6bd263144f
35 changed files with 167 additions and 130 deletions
|
|
@ -34,7 +34,7 @@ For data format details and directory structure, see `assets/analytics/README.md
|
|||
First, check if any CSV files exist in the exports directory:
|
||||
|
||||
```bash
|
||||
ls -lh ${CLAUDE_PLUGIN_ROOT}/assets/analytics/exports/*.csv 2>/dev/null || echo "No CSV files found"
|
||||
ls -lh ${LINKEDIN_STUDIO_DATA:-$HOME/.claude/linkedin-studio}/analytics/exports/*.csv 2>/dev/null || echo "No CSV files found"
|
||||
```
|
||||
|
||||
**If files found:** Skip to Step 3.
|
||||
|
|
@ -59,7 +59,7 @@ Options:
|
|||
|
||||
On file selection, copy the file to the exports directory:
|
||||
```bash
|
||||
cp "<selected-file>" ${CLAUDE_PLUGIN_ROOT}/assets/analytics/exports/
|
||||
cp "<selected-file>" ${LINKEDIN_STUDIO_DATA:-$HOME/.claude/linkedin-studio}/analytics/exports/
|
||||
```
|
||||
|
||||
Then continue to Step 4.
|
||||
|
|
@ -88,10 +88,10 @@ After the script completes, continue to Step 4.
|
|||
1. Go to [linkedin.com/analytics/creator/content/](https://linkedin.com/analytics/creator/content/)
|
||||
2. Click the **"Export"** button (top right)
|
||||
3. LinkedIn will download a CSV file
|
||||
4. Move it to: `${CLAUDE_PLUGIN_ROOT}/assets/analytics/exports/`
|
||||
4. Move it to: `${LINKEDIN_STUDIO_DATA:-$HOME/.claude/linkedin-studio}/analytics/exports/`
|
||||
|
||||
```bash
|
||||
mv ~/Downloads/linkedin_analytics_export*.csv ${CLAUDE_PLUGIN_ROOT}/assets/analytics/exports/
|
||||
mv ~/Downloads/linkedin_analytics_export*.csv ${LINKEDIN_STUDIO_DATA:-$HOME/.claude/linkedin-studio}/analytics/exports/
|
||||
```
|
||||
|
||||
Once done, run `/linkedin:import` again.
|
||||
|
|
@ -152,7 +152,7 @@ Alerts:
|
|||
- Post "The future of no-code..." (2026-01-22): Viral threshold reached (10k+ impressions)
|
||||
|
||||
Data saved to:
|
||||
- ${CLAUDE_PLUGIN_ROOT}/assets/analytics/posts/YYYY-WXX.json
|
||||
- ${LINKEDIN_STUDIO_DATA:-$HOME/.claude/linkedin-studio}/analytics/posts/YYYY-WXX.json
|
||||
```
|
||||
|
||||
### Step 5b: Import Analysis & Anomaly Detection
|
||||
|
|
@ -174,7 +174,7 @@ Compare the imported week's data against existing baselines (if available from p
|
|||
|
||||
**Read baselines for comparison:**
|
||||
```bash
|
||||
cat ${CLAUDE_PLUGIN_ROOT}/assets/analytics/baselines.json 2>/dev/null
|
||||
cat ${LINKEDIN_STUDIO_DATA:-$HOME/.claude/linkedin-studio}/analytics/baselines.json 2>/dev/null
|
||||
```
|
||||
|
||||
**If baselines exist**, compare each imported post's metrics against baseline means. If no baselines exist yet, note that this is the first import and baselines will be established.
|
||||
|
|
@ -290,10 +290,10 @@ Present using AskUserQuestion with the top 3 most relevant suggestions.
|
|||
|
||||
## Step 8: Demographics Sync Suggestion
|
||||
|
||||
After completing the import workflow, check if `assets/audience-insights/demographics.md` still has placeholder data:
|
||||
After completing the import workflow, check if `${LINKEDIN_STUDIO_DATA:-$HOME/.claude/linkedin-studio}/audience-insights/demographics.md` still has placeholder data:
|
||||
|
||||
```bash
|
||||
grep -c '\[Industry name\]\|\[Function\]\|\[Country\]\|\[X\]%' ${CLAUDE_PLUGIN_ROOT}/assets/audience-insights/demographics.md 2>/dev/null
|
||||
grep -c '\[Industry name\]\|\[Function\]\|\[Country\]\|\[X\]%' ${LINKEDIN_STUDIO_DATA:-$HOME/.claude/linkedin-studio}/audience-insights/demographics.md 2>/dev/null
|
||||
```
|
||||
|
||||
If placeholder count is > 10 (still mostly unfilled), suggest:
|
||||
|
|
@ -305,7 +305,7 @@ If placeholder count is > 10 (still mostly unfilled), suggest:
|
|||
If the import fails:
|
||||
|
||||
1. **Check the CSV format** - LinkedIn sometimes changes export format
|
||||
2. **Verify the file path** - Ensure the file is in `assets/analytics/exports/`
|
||||
2. **Verify the file path** - Ensure the file is in `${LINKEDIN_STUDIO_DATA:-$HOME/.claude/linkedin-studio}/analytics/exports/`
|
||||
3. **Check file permissions** - The CLI needs read access
|
||||
4. **Show the error message** and suggest solutions
|
||||
|
||||
|
|
@ -318,9 +318,9 @@ If the import fails:
|
|||
## Reference Files
|
||||
|
||||
The import system creates:
|
||||
- `assets/analytics/posts/YYYY-WXX.json` - Weekly post data
|
||||
- `assets/analytics/metadata.json` - Import tracking and baseline metrics
|
||||
- `assets/analytics/baselines.json` - Statistical baselines for anomaly detection
|
||||
- `${LINKEDIN_STUDIO_DATA:-$HOME/.claude/linkedin-studio}/analytics/posts/YYYY-WXX.json` - Weekly post data
|
||||
- `${LINKEDIN_STUDIO_DATA:-$HOME/.claude/linkedin-studio}/analytics/metadata.json` - Import tracking and baseline metrics
|
||||
- `${LINKEDIN_STUDIO_DATA:-$HOME/.claude/linkedin-studio}/analytics/baselines.json` - Statistical baselines for anomaly detection
|
||||
|
||||
## State Tracking
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue