Agent Skills › emavgl/oinkoin › frameit

frameit

GitHub

自动化为Android应用生成Google Play商店截图,通过Fastlane Frameit添加S21边框、背景及营销文案。提供补丁修复设备注册问题,支持配置调整与结果验证。

.claude/skills/frameit/SKILL.md emavgl/oinkoin

Trigger Scenarios

准备或重建Google Play商店截图 需要为Android截图添加特定设备边框和营销文字

Install

npx skills add emavgl/oinkoin --skill frameit -g -y
More Options

Non-standard path

npx skills add https://github.com/emavgl/oinkoin/tree/master/.claude/skills/frameit -g -y

Use without installing

npx skills use emavgl/oinkoin@frameit

指定 Agent (Claude Code)

npx skills add emavgl/oinkoin --skill frameit -a claude-code -g -y

安装 repo 全部 skill

npx skills add emavgl/oinkoin --all -g -y

预览 repo 内 skill

npx skills add emavgl/oinkoin --list

SKILL.md

Frontmatter
{
    "name": "frameit",
    "description": "Installs and runs the Oinkoin screenshot framing workflow with Fastlane Frameit and Samsung Galaxy S21 support.",
    "argument-hint": "[rebuild]"
}

Skill: frameit

Use this skill when preparing or rebuilding Oinkoin's Google Play Store screenshots.

What this workflow does

The project uses Fastlane Frameit to add a Samsung Galaxy S21 5G frame, yellow background, and marketing text to Android screenshots.

The standard Frameit gem does not register the S21 device even though its frame assets exist in the official Frameit repository. The project therefore provides:

  • scripts/frameit_s21_patch.rb - registers the S21 device while using the official Frameit asset host.
  • scripts/frameit_android_runner.rb - loads Fastlane before the patch and starts Frameit's Android command.
  • scripts/frameit_android.sh - runs the workflow from the repository root.
  • fastlane/screenshots/Framefile.json - defines the layout, typography, and per-image text.

The frame assets are hosted by the official Frameit project at https://fastlane.github.io/frameit-frames/.

Installation

Install Ruby, Bundler, and ImageMagick. On Ubuntu/Debian:

sudo apt-get update
sudo apt-get install -y ruby-full imagemagick

Install the pinned Fastlane dependency from the repository root:

bundle install

The dependency is pinned in Gemfile and Gemfile.lock. Do not install an unrelated global Fastlane version for this workflow.

Rebuild screenshots

Place the raw Android screenshots in fastlane/screenshots/ using the names matched by Framefile.json (for example, image1.png through image5.png). Then run:

./scripts/frameit_android.sh

Frameit downloads the official device assets on the first run. It writes framed files beside the inputs with the _framed.png suffix, such as image1_framed.png.

The script can pass additional Frameit arguments:

./scripts/frameit_android.sh --verbose

Configuration

Edit fastlane/screenshots/Framefile.json to change:

  • Background image and padding
  • S21 frame selection
  • Font files, sizes, and colors
  • Marketing headings and subtitles
  • Screenshot-specific text matched by filter

Keep force_device_type set to Samsung Galaxy S21 5G unless the S21 patch and frame source are intentionally changed together.

Verification

Run the script successfully and check that every expected output exists. Verify dimensions with:

for image in fastlane/screenshots/*_framed.png; do
  identify "$image"
done

The Play Store phone screenshots should be portrait images at 1620x2880. Inspect at least one output visually after changing the Framefile.

Source control

Commit the workflow files and configuration, but do not commit raw input screenshots or generated framed screenshots unless explicitly requested. The expected reusable files are:

  • .claude/skills/frameit/SKILL.md
  • Gemfile
  • Gemfile.lock
  • fastlane/screenshots/Framefile.json
  • scripts/frameit_android.sh
  • scripts/frameit_android_runner.rb
  • scripts/frameit_s21_patch.rb

Version History

  • 9971f01 Current 2026-09-23 03:02

Same Skill Collection

.claude/skills/add-setting/SKILL.md
.claude/skills/announcement/SKILL.md
.claude/skills/commit/SKILL.md
.claude/skills/logging/SKILL.md
.claude/skills/markup-text/SKILL.md
.claude/skills/new-release/SKILL.md
.claude/skills/translate/SKILL.md
website/.claude/skills/write-article/SKILL.md

Metadata

Files
0
Version
9f47487
Hash
3232a38b
Indexed
2026-09-23 03:02

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-10 04:47
浙ICP备14020137号-1