agentleFS
littlebearappslittlebearapps/pitchdocs/.claude/skills/platform-profiles/SKILL.md

platform-profiles

Skill8 starsChanged 8 months agoMITView on GitHub

Platform-specific equivalents for GitLab and Bitbucket when generating repository documentation. Lookup tables for file paths, badges, Markdown rendering, CI/CD, and CLI tools. Load this skill when working on non-GitHub repos or generating cross-platform docs.

The file

Files
SKILL.md

Platform Profiles

PitchDocs defaults to GitHub conventions. Load this skill when the target repository is hosted on GitLab or Bitbucket, or when generating docs that must work across platforms.

Platform Detection

[ -f ".gitlab-ci.yml" ] && PLATFORM="gitlab"
[ -f "bitbucket-pipelines.yml" ] && PLATFORM="bitbucket"
[ -d ".github" ] && PLATFORM="github"
PLATFORM=${PLATFORM:-$(git remote get-url origin 2>/dev/null | grep -oE '(github|gitlab|bitbucket)' | head -1)}

Markdown Rendering Compatibility

FeatureGitHubGitLabBitbucket
> [!NOTE] calloutsYesYesNo — use **Note:** bold inline
<p align="center">YesYesLimited
<picture> dark modeYesYesNo — use single high-contrast image
<details>/<summary>YesYesLimited
Mermaid diagramsYesYes (+ PlantUML)No — use pre-rendered SVG
Task lists - [ ]YesYesNo — renders as plain text
Auto TOCNo (manual)[[_TOC_]]No (manual)
Heading anchor format#slug-format#slug-format#markdown-header-slug-format
Nested list indentation2 spaces2 spaces4 spaces
HTML permissivenessModerate (strips style)More permissiveRestrictive

Quick Reference

  • GitLab: Encode / as %2F in shields.io paths. Self-hosted instances need ?gitlab_url= parameter.
  • Bitbucket: No <picture>, no Mermaid, no task lists, use 4-space nested indentation, prefix heading anchors with markdown-header-.
  • MCP tools: mcp__github__* are GitHub-specific. For GitLab/Bitbucket, use glab CLI, REST API, or git history.

For full lookup tables (template directory mapping, badge URLs, CLI tools, CI/CD, feature availability, raw file URLs, compare URLs, Bitbucket degradation), load SKILL-tables.md from this skill directory.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.