feat(linkedin-thought-leadership): v1.0.0 — initial open-source import
Build LinkedIn thought leadership with algorithmic understanding, strategic consistency, and AI-assisted content creation. Updated for the January 2026 360Brew algorithm change. 16 agents, 25 commands, 6 skills, 9 hooks, 24 reference docs. Personal data sanitized: voice samples generalized to template, high-engagement posts cleared, region-specific references replaced with placeholders. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
7194a37129
commit
39f8b275a6
143 changed files with 32662 additions and 0 deletions
|
|
@ -0,0 +1,29 @@
|
|||
#!/usr/bin/env node
|
||||
// pre-compact.mjs
|
||||
// PreCompact hook for linkedin-thought-leadership plugin
|
||||
// Reminds Claude to preserve critical LinkedIn session context before compaction
|
||||
//
|
||||
// Exit codes:
|
||||
// 0 - Always allow (informational hook)
|
||||
|
||||
const context = [
|
||||
'Before compacting context, preserve these critical LinkedIn session details:',
|
||||
'- Current post draft (full text if in progress)',
|
||||
'- Chosen angle and format',
|
||||
'- User feedback and iteration direction',
|
||||
'- Quality check results',
|
||||
'- State file values (streak, weekly count, last post date)',
|
||||
'- Any planned topics or next steps',
|
||||
'Ensure these survive the context compaction.',
|
||||
].join('\n');
|
||||
|
||||
const output = {
|
||||
continue: true,
|
||||
hookSpecificOutput: {
|
||||
hookEventName: 'PreCompact',
|
||||
additionalContext: context,
|
||||
},
|
||||
};
|
||||
|
||||
process.stdout.write(JSON.stringify(output));
|
||||
process.exit(0);
|
||||
Loading…
Add table
Add a link
Reference in a new issue