Danger Xcprofiler
Description
🚫 danger plugin for asserting Swift compilation time
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
danger-xcprofiler
 [](https://badge.fury.io/rb/danger-xcprofiler)
[danger](https://github.com/danger/danger) plugin for asserting Swift compilation time.
See detail for README of [xcprofiler](https://github.com/giginet/xcprofiler).

Installation
Add this line to your Gemfile:
gem 'danger-xcprofiler'
Usage
Just add this line to your Dangerfile:
xcprofiler.report 'MyApp'
Or specify an xcactivitylog path
logDir = Dir[File.join('DerivedData/Logs/Build/', '*.xcactivitylog')].first
xcprofiler.report nil, nil, logDir
If compilation times of each methods are exceeded the thresholds, `danger` adds inline comment to your PR.
Default thresholds is 50ms for warning, 100ms for failure.
If you want to change thresholds see the following:
# Defines inline_mode
xcprofiler.inline_mode = false
# Defines thresholds (ms)
xcprofiler.thresholds = {
warn: 100,
fail: 500
}
xcprofiler.report 'MyApp'
Development
- Clone this repo
- Run
bundle installto setup dependencies. - Run
bundle exec rake specto run the tests. - Use
bundle exec guardto automatically have tests run as you make changes. - Make your changes.
Related Skills
Epic Decompose
Break an epic into task children without creating task branches.
Productivity Claude Code Terminal Title
Gives each Claude Code terminal window a dynamic title describing the work being done
Productivity N8n Skills
Enables AI assistants to directly understand and operate n8n workflows
Productivity Composio Make
Trigger and manage Make (Integromat) scenarios
Productivity Getting Help
career-ops is an open source project maintained in limited time. Here's how to get help efficiently.
Productivity Worktree Status Check
Verify the current worktree environment and show task details.
Productivity