Skip to content

Souvik-223/agent-skills-agentic-tools / .agents/skills/generated/hooks

Skill for the Hooks area of Securacy. 16 symbols across 6 files.

FileKindSize
SKILL.mdskill md3.9 KB
---
name: hooks
description: "Skill for the Hooks area of Securacy. 16 symbols across 6 files."
---

# Hooks

16 symbols | 6 files | Cohesion: 73%

## When to Use

- Working with code in `securacyfrontend/`
- Understanding how getSecurityControlsOptions, startQuestion, getProgress work
- Modifying hooks-related functionality

## Key Files

| File | Symbols |
|------|---------|
| `securacyfrontend/hooks/use-questionnaire.ts` | getSecurityControlsOptions, startQuestion, getProgress, getSummary, getDomainSpecificOptions (+3) |
| `securacyfrontend/services/privacyquestions.ts` | respondPrivacyQuestion, getPrivacyQuestionnaireProgress, getPrivacyQuestionnaireSummary |
| `securacyfrontend/lib/questions.ts` | getQuestionnaireProgress, getQuestionnaireSummary |
| `securacyfrontend/lib/api_call_config.ts` | apiCallGet |
| `securacyfrontend/context/LoadedThreatContext.tsx` | LoadedThreatProvider |
| `securacyfrontend/app/home/(bots)/privacy/page.tsx` | handleNextPrivacyQuestion |

## Entry Points

Start here when exploring this area:

- **`getSecurityControlsOptions`** (Function) — `securacyfrontend/hooks/use-questionnaire.ts:39`
- **`startQuestion`** (Function) — `securacyfrontend/hooks/use-questionnaire.ts:96`
- **`getProgress`** (Function) — `securacyfrontend/hooks/use-questionnaire.ts:306`
- **`getSummary`** (Function) — `securacyfrontend/hooks/use-questionnaire.ts:337`
- **`getQuestionnaireProgress`** (Function) — `securacyfrontend/lib/questions.ts:510`

## Key Symbols

| Symbol | Type | File | Line |
|--------|------|------|------|
| `getSecurityControlsOptions` | Function | `securacyfrontend/hooks/use-questionnaire.ts` | 39 |
| `startQuestion` | Function | `securacyfrontend/hooks/use-questionnaire.ts` | 96 |
| `getProgress` | Function | `securacyfrontend/hooks/use-questionnaire.ts` | 306 |
| `getSummary` | Function | `securacyfrontend/hooks/use-questionnaire.ts` | 337 |
| `getQuestionnaireProgress` | Function | `securacyfrontend/lib/questions.ts` | 510 |
| `getQuestionnaireSummary` | Function | `securacyfrontend/lib/questions.ts` | 586 |
| `apiCallGet` | Function | `securacyfrontend/lib/api_call_config.ts` | 158 |
| `respondPrivacyQuestion` | Function | `securacyfrontend/services/privacyquestions.ts` | 88 |
| `getPrivacyQuestionnaireProgress` | Function | `securacyfrontend/services/privacyquestions.ts` | 217 |
| `getPrivacyQuestionnaireSummary` | Function | `securacyfrontend/services/privacyquestions.ts` | 293 |
| `LoadedThreatProvider` | Function | `securacyfrontend/context/LoadedThreatContext.tsx` | 67 |
| `handleNextPrivacyQuestion` | Function | `securacyfrontend/app/home/(bots)/privacy/page.tsx` | 857 |
| `getDomainSpecificOptions` | Function | `securacyfrontend/hooks/use-questionnaire.ts` | 53 |
| `toTitleCase` | Function | `securacyfrontend/hooks/use-questionnaire.ts` | 69 |
| `getDomainFromResponse` | Function | `securacyfrontend/hooks/use-questionnaire.ts` | 76 |
| `respondQuestion` | Function | `securacyfrontend/hooks/use-questionnaire.ts` | 117 |

## Execution Flows

| Flow | Type | Steps |
|------|------|-------|
| `PrivacyBot → DecodeJwt` | cross_community | 8 |
| `AppsecBot → DecodeJwt` | cross_community | 8 |
| `OnboardingPage → DecodeJwt` | cross_community | 7 |
| `HandleNextQuestion → DecodeJwt` | cross_community | 7 |
| `HandleNextQuestion → DecodeJwt` | cross_community | 7 |
| `HandleNextPrivacyQuestion → DecodeJwt` | cross_community | 6 |
| `SubscriptionPanel → DecodeJwt` | cross_community | 6 |
| `AppSidebar → DecodeJwt` | cross_community | 6 |
| `UsageSection → DecodeJwt` | cross_community | 6 |
| `RespondQuestion → DecodeJwt` | cross_community | 6 |

## Connected Areas

| Area | Connections |
|------|-------------|
| _components | 2 calls |

## How to Explore

1. `gitnexus_context({name: "getSecurityControlsOptions"})` — see callers and callees
2. `gitnexus_query({query: "hooks"})` — find related execution flows
3. Read key files listed above for implementation details
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall