Skip to content
Back to skills

Platform Profiles

ASecurity

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.

  • 8 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added May 26, 2026
documentationbashgitapici/cddocumentation

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned May 27, 2026

npx -y skills add littlebearapps/pitchdocs --skill platform-profiles --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Platform Profiles?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Platform Profiles
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/littlebearapps-platform-profiles/badge)](https://www.skillsdirectory.com/skills/littlebearapps-platform-profiles)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: platform-profiles
description: 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.
version: "1.0.0"
---

# 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

```bash
[ -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

| Feature | GitHub | GitLab | Bitbucket |
|---------|--------|--------|-----------|
| `> [!NOTE]` callouts | Yes | Yes | **No** — use `**Note:**` bold inline |
| `<p align="center">` | Yes | Yes | Limited |
| `<picture>` dark mode | Yes | Yes | **No** — use single high-contrast image |
| `<details>`/`<summary>` | Yes | Yes | Limited |
| Mermaid diagrams | Yes | Yes (+ PlantUML) | **No** — use pre-rendered SVG |
| Task lists `- [ ]` | Yes | Yes | **No** — renders as plain text |
| Auto TOC | No (manual) | `[[_TOC_]]` | No (manual) |
| Heading anchor format | `#slug-format` | `#slug-format` | `#markdown-header-slug-format` |
| Nested list indentation | 2 spaces | 2 spaces | **4 spaces** |
| HTML permissiveness | Moderate (strips `style`) | More permissive | Restrictive |

## 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.

Files in this skill

  • SKILL-tables.md6.1 KB
  • SKILL.md2.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in documentation →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.