Skip to content
Back to skills

2573 14 App And Website Blocking Reference Implementation F9439ca2

ASecurity

Provide an end-to-end implementation recipe for combined app/category/domain blocking with custom shields and scheduled enforcement.

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
testinggoapi

Works with

  • api

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 2573-14-app-and-website-blocking-reference-implementation_f9439ca2 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 2573 14 App And Website Blocking Reference Implementation F9439ca2?

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

Security grade badge for 2573 14 App And Website Blocking Reference Implementation F9439ca2
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-2573-14-app-and-website-blocking-reference-impleme/badge)](https://www.skillsdirectory.com/skills/tools-only-2573-14-app-and-website-blocking-reference-impleme)

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

SKILL.md
# 14 App and Website Blocking Reference Implementation

## Purpose
Provide an end-to-end implementation recipe for combined app/category/domain blocking with custom shields and scheduled enforcement.

## Canonical API Surface
- FamilyControls selection APIs
- ManagedSettings shield and filter APIs
- DeviceActivity scheduling APIs
- ManagedSettingsUI shield configuration/action APIs

## Implementation Pattern
1. Authorize with FamilyControls.
2. Collect `applicationTokens`, `categoryTokens`, `webDomainTokens`.
3. Persist selection to app-group defaults.
4. Apply policies via ManagedSettings store(s):
   - apps -> `shield.applications`
   - categories -> `shield.applicationCategories`
   - sites -> `shield.webDomains`
5. Register DeviceActivity schedule for auto apply/clear lifecycle.
6. Implement custom shield config/action extensions.
7. Add manual clear-all recovery action in app settings.

## Failure Modes
- Partial policy updates (app only, no web reset).
- Schedule registration errors ignored silently.
- Shield extensions compiled but not embedded/configured correctly.

## Validation Checklist
- [ ] Full triplet selection (apps/categories/domains) supported.
- [ ] Enforcement persists when app is terminated.
- [ ] Unlock windows clear restrictions completely.
- [ ] Recovery action clears all stores.

## Sources
- `../evidence/01-familycontrols-sdk-signatures.md`
- `../evidence/02-managedsettings-sdk-signatures.md`
- `../evidence/03-managedsettingsui-sdk-signatures.md`
- `../evidence/04-deviceactivity-sdk-signatures.md`
- `../rundowns/12-cross-project-rundown.md`

## Confidence Notes
- API wiring is `canonical + sdk-backed`.
- This file is a synthesized reference pattern (`inference`) validated against both project rundowns.

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.

Comments

Loading comments…

Newsletter

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