Skip to content

feat: shared content core, Reddit and LinkedIn article skills#12

Open
DongDongBear wants to merge 2 commits intoYouMind-OpenLab:mainfrom
DongDongBear:dongdong/feat-multi-platform-content-skills
Open

feat: shared content core, Reddit and LinkedIn article skills#12
DongDongBear wants to merge 2 commits intoYouMind-OpenLab:mainfrom
DongDongBear:dongdong/feat-multi-platform-content-skills

Conversation

@DongDongBear
Copy link
Copy Markdown
Contributor

Summary

This pull request adds a shared youmind-content-core package and two new platform skills: Reddit and LinkedIn, alongside wiring the WeChat toolkit to depend on the core package.

Changes

  • skills/youmind-content-core: Shared TypeScript package (YouMind API, image generation, math/mermaid/code processors, types) with projectDir-aware config paths.
  • skills/youmind-reddit-article: Reddit script OAuth, submit/crosspost, Markdown converter, CLI (preview, publish, hot, flairs), SKILL.md and references (pipeline, writing guide, subreddit guide, constraints, SEO, frameworks, visuals). Bilingual triggers and writing notes.
  • skills/youmind-linkedin-article: LinkedIn UGC post/article helpers, dual-mode converter (post plain text / article HTML), CLI (preview, publish-post, publish-article, recommend, profile), SKILL.md and references (hashtag strategy, constraints, etc.).
  • WeChat toolkit: package.json adds file: dependency on youmind-content-core.
  • Repository hygiene: Root .gitignore plus per-skill ignores so dist/ and node_modules/ are not committed.

Notes

  • Reddit credentials belong in each skills config.yaml(seeconfig.example.yaml`).
  • LinkedIn publishing expects a pre-obtained OAuth token and person URN; see skill SKILL.md for setup.

Made with Cursor

- Introduce youmind-content-core package (YouMind API, image gen, processors, types) with projectDir-aware config loaders.

- Add youmind-reddit-article: OAuth script flow, submit/crosspost, converter, CLI, SKILL and references.

- Add youmind-linkedin-article: UGC post/article helpers, dual-mode converter, CLI, SKILL and references.

- Point wechat toolkit at file: youmind-content-core; add repo and skill .gitignore for dist/node_modules.

Made-with: Cursor
- Changed module and moduleResolution settings in tsconfig.json to 'nodenext' for improved compatibility.
- Modified list item styles in theme-engine.ts to reduce margin and enhance spacing consistency across different list types.
- Added logic in converter.ts to strip excessive margins from <p> tags wrapped around list items, ensuring a cleaner layout.
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