소스 정보
- 저장소
- Moshe-ship/yalla-ads
- 최근 소스 활동
- 2026년 5월 13일 13:01
- 감지된 SKILL.md 언어
- 영어
- 스타
- 1
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/Moshe-ship/yalla-ads --skill yalla-blog명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | yalla-blog |
| description | Generate Arabic RTL blog posts about digital marketing for yalla-ads.com |
| version | 1.0.0 |
| author | Mousa Abu Mazin |
| license | MIT |
| platforms | ["linux","macos"] |
| metadata | {"hermes":{"tags":["blog","arabic","marketing","seo","rtl"]}} |
Generate Arabic blog posts for yalla-ads.com targeting Arab business owners who need digital marketing help.
Use Astro frontmatter:
---
title: "Arabic Title"
description: "Arabic meta description 120-160 chars"
date: "YYYY-MM-DD"
author: "يلا ادز"
image: "/blog-images/YYYY-MM-DD.jpg"
tags: ["tag1", "tag2"]
---
Rotate through:
Before writing: ls src/content/blog/ to see existing posts and pick a topic that hasn't been covered recently. Avoid reusing the same angle.
src/content/blog/YYYY-MM-DD-slug.mdpublic/blog-images/YYYY-MM-DD.jpg — frontmatter image field must reference /blog-images/YYYY-MM-DD.jpggit add -A && git commit -m "New blog post: [Arabic title]" && git pull --rebasegit push origin main. If it fails due to missing credentials (empty git-credentials file, no SSH key), the commit is staged — notify user to push manually or set up auth.Word count verification: Use python3 /tmp/verify_wordcount.py <path-to-post.md> (script saved to references/verify_wordcount.py in this skill). Split by whitespace and count body tokens excluding frontmatter. Threshold: ≥700 words (~1500+ estimated tokens). Inline python3 -c triggers user-approval prompts on Mac Studio — always write scripts to files first.
Image generation helper: Use scripts/gen_hero_image.py from this skill: python3 scripts/gen_hero_image.py <YYYY-MM-DD> <topic description>. Generates via image.pollinations.ai/prompt/ endpoint, verifies response headers and magic bytes, saves to public/blog-images/<date>.jpg.
The Mac Studio has no GitHub credentials configured (~/.git-credentials is empty, no gh CLI, no SSH key for GitHub). The standard flow will:
git add -A — worksgit commit -m "..." — worksgit pull --rebase — worksgit push — FAILS with fatal: could not read Username for 'https://github.com'Workaround: The commit is staged and verified. To push:
# Option 1: Set up a Personal Access Token once
echo "https://USERNAME:TOKEN@github.com" > ~/.git-credentials
# Option 2: Push manually when credentials are available
cd /Users/majana-agent/Projects/yalla-ads && git push origin main
Always write image/script code to a file first (/tmp/gen_image.py), then run it. Inline python3 -c "..." triggers user-approval prompts that block automated cron execution.
Use requests library (not urllib — it gets HTTP 403 from Pollinations).
Working endpoint:
https://image.pollinations.ai/prompt/{url_encoded_prompt}?width=1200&height=675&nologo=true&seed={number}
Helper script: Use scripts/gen_hero_image.py from this skill: python3 scripts/gen_hero_image.py <YYYY-MM-DD> <topic description>. Saves you from writing inline scripts.
PITFALLS:
pollinations.ai/p/{prompt} returns HTML, NOT an image. Always use image.pollinations.ai/prompt/...image.pollinations.ai/prompt/ with ?enhance=true&model=flux also returns errors. Keep it simple: ?width=1200&height=675&nologo=true&seed=NContent-Type header contains image/ AND file size > 10KB AND file header starts with \xff\xd8 (JPEG) or \x89PNGrequests with a User-Agent header to avoid 403 blocksPosts go in: /Users/majana-agent/Projects/yalla-ads/src/content/blog/ Images go in: /Users/majana-agent/Projects/yalla-ads/public/blog-images/
scripts/gen_hero_image.py — Generate dark propaganda-style hero image via Pollinations.aireferences/verify_wordcount.py — Verify Arabic blog post meets word count threshold