packages/plugin-dev/procrastination-buster/README.md
A Super Productivity plugin that helps identify procrastination blockers and provides tailored strategies to overcome them.
# Install dependencies
npm install
# Start development server
npm run dev
# Build for production
npm run build
# Create plugin ZIP
npm run package
npm run builddist/plugin.zip in Super Productivitydist folder to src/assets/procrastination-buster/The plugin consists of two parts:
procrastination-buster/
āāā src/
ā āāā plugin.ts # Plugin backend
ā āāā App.tsx # Main component
ā āāā types.ts # TypeScript definitions
ā āāā BlockerSelector.tsx
ā āāā StrategyList.tsx
āāā manifest.json # Plugin metadata
āāā index.html # HTML entry
āāā vite.config.ts # Build configuration
Edit src/types.ts and add new strategies to the appropriate types.
Edit src/App.css for visual adjustments. The plugin uses CSS variables for seamless theme integration:
--primary-color - Main theme color--text-color - Primary text--background-color - Background--card-background - Card backgrounds--border-radius - Standard radiusMIT