一键导入
obs-management
Manage Open Build Service (OBS) projects. Use when working with OBS packages for home:aspiers.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Manage Open Build Service (OBS) projects. Use when working with OBS packages for home:aspiers.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | obs-management |
| description | Manage Open Build Service (OBS) projects. Use when working with OBS packages for home:aspiers. |
Manage packages in the Open Build Service for home:aspiers.
Use this skill when:
/home/adam/OBS/home/aspiersNEVER use pre-built binaries, AppImages, or binary packages in OBS!
The entire purpose and requirement of OBS is to build packages from source code. This ensures:
Always download source tarballs, not binary releases. If a package fails to build from source, debug and fix the build process - do NOT look for pre-built alternatives.
read -p "Package name: " PKG_NAME
read -p "Source URL (tarball, git repo, etc.): " SOURCE_URL
cd /home/adam/OBS/home/aspiers
osc mkpac "$PKG_NAME"
cd "$PKG_NAME"
echo "Package $PKG_NAME created. Source: $SOURCE_URL"
echo "Next steps: download source, create .spec file, add files with 'osc add'"
cd /home/adam/OBS/home/aspiers/<package-name>
osc up # Update from OBS
osc status # Check local changes
osc add <new-files> # Add new files
osc commit -m "message" # Commit changes
osc build openSUSE_Tumbleweed x86_64 # Build for Tumbleweed
osc build --clean # Clean build
osc results # Show build status for all targets
osc results openSUSE_Tumbleweed # Show results for specific target
osc results --watch # Watch results continuously
osc bl openSUSE_Tumbleweed x86_64 # View build log
osc blt openSUSE_Tumbleweed x86_64 # Tail build log (follow)
osc bl --last openSUSE_Tumbleweed x86_64 # Last failed build log
Name: bsgit
Version: 0.7
Release: 0
Summary: A simple git frontend for the openSUSE build service
License: GPL v2 or later
Group: Productivity/Text/Utilities
Source: bsgit-%version.tar.gz
BuildRequires: python-devel
Requires: git-core osc
%prep
%setup
%build
%{__python} setup.py build
%install
%{__python} setup.py install --prefix=%{_prefix} --root %{buildroot}
Name: safecat
Version: 1.13.2
Release: 0
Summary: Write Data Safely to a Directory
License: BSD-4-Clause
Source: %{name}-%{_version}.tar.gz
Patch0: 01-respect-umask.patch
Patch1: 02-no-RPLINE-DTLINE.patch
BuildRequires: cpp groff
%prep
%setup -q -n %{name}-%{_version}
%patch0 -p1
%patch1 -p1
<services>
<service name="tar_scm" mode="disabled">
<param name="url">http://git.savannah.gnu.org/r/devilspie2.git</param>
<param name="scm">git</param>
<param name="version">0.39</param>
<param name="revision">v0.39</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">devilspie2-*.tar</param>
<param name="compression">bz2</param>
</service>
</services>
Essential reading:
Language-specific guidelines:
| Issue | Solution |
|---|---|
| Build fails | Check osc bl for errors |
| Missing dependencies | Add to BuildRequires in .spec file |
| Permission errors | Ensure proper file ownership in %files section |
| Version conflicts | Update Version/Release in .spec file |
osc chroot openSUSE_Tumbleweed x86_64 # Enter build chroot
osc shell openSUSE_Tumbleweed x86_64 # Interactive shell in build env
osc log <package-name> # View commit history
osc add must have a clear originUse the Xero MCP server — obtain/refresh OAuth2 bearer tokens, troubleshoot authentication, and pick up other operational notes for working with Xero MCP tools. Use when Xero MCP tools fail with authentication errors, when the bearer token has expired (tokens last ~30 min), before starting any Xero workflow, or for general guidance on Xero MCP usage.
General Xero browser automation notes. Use when automating any Xero page with agent-browser — covers non-standard UI patterns, waiting, and dropdown menus.
Size the agent-browser Chromium window to fill its current screen, leaving a configurable bottom margin for the desktop panel. Use before any agent-browser automation that needs the full screen visible without elements overlapping or scrolling off (e.g. Xero, dense web apps).
Review all unreviewed documents in Hubdoc. Use when reviewing, processing or publishing Hubdoc receipts and bills.
Convert XLSX spreadsheets (single or multi-sheet) to CSV files you can read and grep. Use whenever you need to process an .xlsx report from Xero, Cryptio, bank exports, or any tool that delivers spreadsheet output.
Create Claude Code slash commands, OpenCode command files, and Pi prompt templates that delegate to the right subagent or skill. Use when creating new commands or refactoring existing ones to follow platform conventions.